Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register
  • Index
  • » Users
  • » cbertsch
  • » Profile

Posts

Posts

Apr-12-17 19:28:14
Could not load shared library to import a FMU into Simulink

sjoelund.se wrote:

It's not only OpenModelica able to import the OM 1.9.1 win32 FMUs, but 14 different tools...

You are right; sorry I confused columns and rows of the cross-check table. But that means that there have been submitted no test results of importing FMUs in OpenModelica except for FMUs exported from OpenModelica, correct?


I have tested importing FMUs in OpenModelica (on a Windows platform; I know that you mainly develop on Linux) for every new release in the last years, and faced many problems: almost everything failed. I think, that participating in the Cross Check also for the import of FMUs in OpenModelica would be very beneficial; otherwise you should not offer FMI import on Windows platforms.

sjoelund.se wrote:

As far as I know, no other vendor tested any of them

sjoelund.se wrote:

and why would a commercial vendor test a free software and thus give advertisement to it if they only need to test against 3 tools to get their "import" stamp?

I agree that it would be much better if more tools would include FMUs from OpenModelica in their cross check, and report results more often.
However, I do not see  signs of systematic "discrimination" of FMUs from OpenModelica:
e.g. on  https://www.fmi-standard.org/results_FM … ange_win64 two out of three tools that have submitted test results after the submission of OM exported FMUs have tested those. (When a third tool has tested your FMUs for this platform, you will get the green button for the export.)
On https://www.fmi-standard.org/results_FM … ge_linux64 it is one out of one as well as for https://www.fmi-standard.org/results_FM … n_linux64; for https://www.fmi-standard.org/results_FM … tion_win64 it is two out of two.


Apr-07-17 20:20:05
Could not load shared library to import a FMU into Simulink

adrpo wrote:

We are in the process of fixing this in several ways:
1. produce just one DLL
2. make the main dll load the dependencies
You can also send us your code, if you want (Adrian Pop: http://www.ida.liu.se/~adrpo33/ or to OpenModelica@ida.liu.se)
to see if we are on the right track.

We are also working on providing more FMUs for FMI Cross Check and we will check them with other tools as well.
By default we are checking them with the fmuChecker but that works fine.

This sounds good! I have sent you the example FMU calling an external DLL.
When you run the compliance checker on your FMUs: Do you do this on a PC without OpenModelica being installed?

Apr-07-17 16:54:20
Could not load shared library to import a FMU into Simulink

In my opinion this is neither a problem of Simulink nor of the FMI-Kit, but of the exported FMU from OpenModelica.
I have an example of an FMU with a dependency on an additicional dll that can be simulated with FMIkit in Simulink and many other tools. On request I can provide it to the OpenModelica developers with source code as an example how to implement this.

I would recomment that OpenModelica participates at the FMI Cross Check (https://www.fmi-standard.org/tools) by submitting FMUs, then such porblems would be detected. What I see there currenty: only OpenModelica reports successful simulation of FMUs exported by OpenModelica (FMI 1.0)

  • Index
  • » Users
  • » cbertsch
  • » Profile
You are here: