I want to use two Modelica libraries together, in Dymola, so for convenience I wrote a little script, loadLibraries.mos
that just opens the two libraries.
But they use different versions of the MSL (3.2.1 versus 3.2.2), defined by the uses annotation in the top level package.mo:
annotation(uses(Modelica(version="3.2.1")));
The library developed by us uses 3.2.2, the library that uses MSL 3.2.1 is developed by someone else. Now whenever I run the mos script (or when I open the two libraries manually), Dymola wants to run an update script. As far as I can see, nothing gets changed by the update script, so I would like to
either not run it at all, e.g. by defining a range of accepted versions like
annotation(uses(Modelica(version>="3.2.1")));
or always run it, without asking first, e.g. by setting some flag
AlwaysSilentyAcceptMSLUpgrade
.
Under Edit, Options, Version there is a checkmarkForce upgrade of models to MSL version
but I am unsure how to use it from my mos script (for all users).