OpenModelica icon indicating copy to clipboard operation
OpenModelica copied to clipboard

OMEdit can not run models with imported FMUs even in simple cases

Open ceraolo opened this issue 3 years ago • 0 comments

Description

I could not run in OM models using imported FMUs created by Dymola, even in the simplest case.

There is a remote possibility that my Dymola's FMU lacks some permision. However it shouldn't, since I've bought the license to export, and in other cases I can create FMUs from dymola that can be run inside OM (through SSP). But, strangely, not in this simple case.

Steps to Reproduce

Consider, from FirstDym.zip StepFirst.mo: image its output is: image The same result can be obtained creating an FMU ME with OM (First.fmu) then importing it in the following model StepFirstFmu: image If, however, the FMU is created from Dymola (FirstDym.fmu), the model StepFirstFmuDym does not work: image

Expected Behavior

The model StepFirstFmuDym.mo should give the same firstOrder.y signal as StepFirst.mo and StepFirstFmu.mo

Version and OS

OM 1.20.0, Win 11

ceraolo avatar Dec 11 '22 02:12 ceraolo