Opened 9 years ago

Closed 7 years ago

#3865 closed defect (fixed)

OMEdit fails to import a 2.0 FMU that contains both ME and CS

Reported by: Christian.Bertsch@… Owned by: Martin Sjölund
Priority: high Milestone: 1.13.0
Component: FMI Version: v1.9.4-v1.9.x
Keywords: FMI, CS, ME Cc:

Description

The Error occurs with: OMEdit v1.9.5-dev-20-g6cc344e; Connected to OpenModelica v1.9.6 and the attached FMU exported from Dymola. According to the FMI specifictaion, it is allowed, that an FMU containes both ME and CS implementations.

There is an additional error regarding derivatives attributes, while the FMI compliance Checker reports not errors or warnings.
*

Error Messages:

[1] 19:47:51 Skripting Fehler
module = The derivative attribute may only appear on continuous-time Real variables., log level = ERROR: FMI2XML

[2] 19:47:51 Skripting Fehler
The FMU version is 2.0 and FMU type is ModelExchange and CoSimulation. Unsupported FMU type. Only FMI 2.0 ModelExchange is supported.

Attachments (1)

MODELICA_0Demo_testmotor_03.fmu (1.7 MB ) - added by Christian.Bertsch@… 9 years ago.
FMU exorted from Dymola 2016FD01

Download all attachments as: .zip

Change History (5)

by Christian.Bertsch@…, 9 years ago

FMU exorted from Dymola 2016FD01

comment:1 by anonymous, 9 years ago

The same error also occurs with FMUs generated from the same OMEdit version itself (with default settings.

comment:2 by Martin Sjölund, 7 years ago

Milestone: Future1.13.0
Owner: changed from Adeel Asghar to Martin Sjölund
Status: newaccepted

comment:4 by Martin Sjölund, 7 years ago

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