Opened 7 years ago

Closed 6 years ago

#4951 closed defect (worksforme)

OMEdit did not generate the fmu file on FMU export

Reported by: nboldi@… Owned by: Adrian Pop
Priority: blocker Milestone: 1.13.0
Component: FMI Version: v1.13.0-dev-nightly
Keywords: Cc:

Description

Steps to reproduce:

  1. Open OMEdit
  2. Create a simple model, for example:
model OneModel
  output Real h;
initial equation
  h = 0;
equation
  der(h) = 1;
end OneModel;
  1. Right click on the model, Export FMU
  2. The message browser tells you "The FMU is generated at /tmp/OpenModelica_nboldi/OMEdit/OneModel/OneModel.fmu." or something similar.

The file OneModel.fmu is not generated. Instead, I have the files OneModel_FMU.libs, OneModel_FMU.log, OneModel_FMU.makefile and OneModel_info.json. (attached to the ticket)

Attachments (3)

OneModel_FMU.log (285 bytes ) - added by nboldi@… 7 years ago.
OneModel_FMU.makefile (566 bytes ) - added by nboldi@… 7 years ago.
OneModel_info.json (1.4 KB ) - added by nboldi@… 7 years ago.

Download all attachments as: .zip

Change History (7)

by nboldi@…, 7 years ago

Attachment: OneModel_FMU.log added

by nboldi@…, 7 years ago

Attachment: OneModel_FMU.makefile added

by nboldi@…, 7 years ago

Attachment: OneModel_info.json added

comment:1 by Francesco Casella, 7 years ago

Milestone: Future1.13.0
Priority: highblocker

comment:2 by nboldi@…, 7 years ago

This problem is present on both Linux and Windows versions.

I tried to create the FMU using the makefile generated, but it errored.

There is nothing in omediterror.txt or omeditoutput.txt, and omeditcommunication.log only contains the call to the FMU generation buildModelFMU(OneModel,"2","me_cs","<default>",{},true).

comment:3 by Francesco Casella, 6 years ago

Owner: changed from Lennart Ochel to Adrian Pop
Status: newassigned

comment:4 by Adeel Asghar, 6 years ago

Resolution: worksforme
Status: assignedclosed
Note: See TracTickets for help on using tickets.