Opened 5 years ago

Closed 4 years ago

#5920 closed defect (fixed)

UnitDefinitions are missing in modelDescription.xml

Reported by: anonymous Owned by: Lennart Ochel
Priority: blocker Milestone: 1.16.0
Component: FMI Version: v1.16.0-dev
Keywords: fmiModelDescription; UnitDefinitions Cc:

Description

Unlike other tools such as Dymola, OpenModelica V1.16.0 does not put a section 'UnitDefinitions' into the modelDescription.xml of a generated FMU. This causes troubles when importing the FMU in other simulation environments. According to the FMI-Standard (2.0.1) it is mandatory to define units if units are used in the model.

Change History (4)

comment:1 by Francesco Casella, 5 years ago

Milestone: Future1.16.0
Priority: highblocker

I think this should be fixed in 1.16.0, we have a high-priority commitment to providing fully functional FMUs ASAP.

comment:2 by Lennart Ochel, 5 years ago

Status: newaccepted

See also #5845

comment:3 by arunkumar palanisamy, 5 years ago

This is now fixed with this PR https://github.com/OpenModelica/OpenModelica/pull/896, Now UnitDefinition are exported in modelDescription.xml

comment:4 by Francesco Casella, 4 years ago

Resolution: fixed
Status: acceptedclosed
Note: See TracTickets for help on using tickets.