Opened 4 years ago

Closed 4 years ago

#5920 closed defect (fixed)

UnitDefinitions are missing in modelDescription.xml

Reported by: anonymous Owned by: lochel
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 Changed 4 years ago by casella

  • Milestone changed from Future to 1.16.0
  • Priority changed from high to blocker

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

comment:2 Changed 4 years ago by lochel

  • Status changed from new to accepted

See also #5845

comment:3 Changed 4 years ago by arun3688

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

comment:4 Changed 4 years ago by casella

  • Resolution set to fixed
  • Status changed from accepted to closed
Note: See TracTickets for help on using tickets.