Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#6025 closed defect (fixed)

Incompatible Modelica_DeviceDrivers version (2.0.0) in OpenModelica 1.16.0-dev.02

Reported by: f.allemand@… Owned by: sjoelund.se
Priority: blocker Milestone: 1.16.0
Component: Third-Party Libraries Version: v1.16.0-dev
Keywords: Cc: adrpo

Description

Hello,

In OpenModelica 1.16.0-dev.02, the bundled Modelica_DeviceDrivers version (2.0.0) seems to be incompatible with the bundled MSL version (3.2.3).

Loading a compiled Modelica_DeviceDrivers version 1.8.2 works fine.

Not sure if this is the right place to fill this issue or if it is an issue at all.

Thanks in advance for your response. And thanks for your work on OpenModelica.

Flavien Allemand

Change History (9)

comment:1 Changed 4 years ago by sjoelund.se

OpenModelica also ships with MSL version 4.0.0 as far as I know. If it wasn't installed, run from OMShell or mos-script:

installPackage(Modelica, "4.0.0")
getErrorString()

And update your OMEdit to prefer loading that.

comment:2 Changed 4 years ago by f.allemand <f.allemand@…>

Thanks for your quick answer.

I did not install any extra library with the installer, so MSL 4.0.0 was not included.
After installing it, there is no more incompatibility : with the "default" library versions in OMEdit, both MSL 4.0.0 and Modelica_DeviceDrivers 2.0.0 are used.

So I guess it's no a defect, but I was a little surprised that the minimal install did not work out of the box.

Thanks again.

comment:3 Changed 4 years ago by casella

  • Cc adrpo added
  • Priority changed from normal to blocker

@Flavien,

thanks for the report and for the support!

We discussed this today at the developer's meeting. The forthcoming 1.16.0 is not meant to support MSL 4.0.0, since it's still not yet been tested properly, it lacks proper library management integrated in OMEdit, as well as the support of conversion scripts to upgrade existing MSL 3.2.x libraries to MSL 4.0.0. Reliable support of MSL 4.0.0 cannot be added to 1.16.0, which is near feature freeze right now, but will be provided with the next 1.17.0 release.

For the 1.16.0 release, we need to fix the installer package so that we only ship libraries that are using MSL 3.2.3.

Of course you can always download newer libraries (including MSL 4.0.0 and Modelica_DeviceDrivers 2.0.0) yourself and load them explicitly in OMEdit, or even download them using the new package manager, which is unfortunatly only available as a command line tool as of 1.16.0.

comment:4 follow-up: Changed 4 years ago by f.allemand <f.allemand@…>

Thanks for the explanations.

I played a bit with the package manager and it seemed already quite handy.

comment:5 in reply to: ↑ 4 Changed 4 years ago by casella

Replying to f.allemand <f.allemand@…>:

I played a bit with the package manager and it seemed already quite handy.

It is. We plan to integrate it with OMEdit for the next release.

comment:6 Changed 4 years ago by sjoelund.se

Also, from that meeting, we think that the OM installer you had did include 4.0.0. But it's an option to install all libraries and some other libraries that are always installed depended on it. That's why it's a good idea for us to clean out the brand new untested libraries :)

comment:7 Changed 4 years ago by casella

We'll release a clean 1.16.0-dev.03 without 4.0.0 MSL-dependent libraries ASAP.

comment:8 Changed 4 years ago by casella

  • Resolution set to fixed
  • Status changed from new to closed

1.16.0-dev.03 is now available without MSL 4.0.0.

Full library support including proper package manager in OMEdit and MSL 4.0.0 will be provided in version 1.17.0

comment:9 Changed 4 years ago by f.allemand <f.allemand@…>

Thanks for the quick fix !

Flavien

Note: See TracTickets for help on using tickets.