Opened 7 years ago

Last modified 7 years ago

#4464 assigned defect

Import FMU Model Description fails for any model not named modelDescription.xml

Reported by: Bernhard Thiele Owned by: Alachew Mengist
Priority: high Milestone: Future
Component: FMI Version:
Keywords: Cc: Adrian Pop, ponnuss@…, Alachew Mengist

Description (last modified by Bernhard Thiele)

In OMEdit open FMI->Import FMU Model Description and in the upcoming file selector choose the attached file ´modelDescriptionXXX.xml`. The message window will display something like

[8] 14:04:44 Scripting Error
module = Cannot open file '/tmp/OpenModelica_bernhard/OMEdit/modelDescription.xml' for parsing, log level = FATAL: FMIXML

[9] 14:04:44 Scripting Error
The FMU version is unknown. Unknown/Unsupported FMU version.

[10] 14:04:44 Scripting Notification
  adding: modelDescriptionXXX.xml (deflated 49%)

Now, rename the file to modelDescription.xml and import it again. This time it works. Hence, it seems that importing FMU Model Description fails for any file not named modelDescription.xml.

Attachments (1)

modelDescriptionXXX.xml (606 bytes ) - added by Bernhard Thiele 7 years ago.

Download all attachments as: .zip

Change History (3)

by Bernhard Thiele, 7 years ago

Attachment: modelDescriptionXXX.xml added

comment:1 by Adrian Pop, 7 years ago

Owner: changed from Lennart Ochel to Alachew Mengist
Status: newassigned

This is a known bug but is good to have a ticket for it.

comment:2 by Bernhard Thiele, 7 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.