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: Martin Sjölund
Priority: blocker Milestone: 1.16.0
Component: Third-Party Libraries Version: v1.16.0-dev
Keywords: Cc: Adrian Pop

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 by Martin Sjölund, 4 years ago

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 by f.allemand <f.allemand@…>, 4 years ago

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 by Francesco Casella, 4 years ago

Cc: Adrian Pop added
Priority: normalblocker

@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 by f.allemand <f.allemand@…>, 4 years ago

Thanks for the explanations.

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

in reply to:  4 comment:5 by Francesco Casella, 4 years ago

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 by Martin Sjölund, 4 years ago

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 by Francesco Casella, 4 years ago

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

comment:8 by Francesco Casella, 4 years ago

Resolution: fixed
Status: newclosed

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 by f.allemand <f.allemand@…>, 4 years ago

Thanks for the quick fix !

Flavien

Note: See TracTickets for help on using tickets.