Skip to content

Changes

Summary

  1. Consider conversion annotations before issuing warnings (#989) (#996) (details)
Commit 99ae66182de7f4d8fe09d245ab045bbfeb5183f1 by Martin Sjölund
Consider conversion annotations before issuing warnings (#989) (#996)

loadModel now looks at conversion annotations before deciding to issue
a warning because a library was already loading with an incompatible
version.

* If no conversion script is needed, a notification is issued.
* If a conversion script is needed, a warning is issued.
* If there is no conversion script annotation, a warning is issued
  since most likely there is zero compatibility.

https://trac.openmodelica.org/OpenModelica/ticket/6027
The file was modified testsuite/openmodelica/uncertainties/DataReconciliationTests21jan2013.mos (diff)
The file was modified testsuite/simulation/modelica/commonSubExp/ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump1.mos (diff)
The file was modified testsuite/openmodelica/interactive-API/Makefile (diff)
The file was modified testsuite/simulation/modelica/external_functions/MDD_test.mos (diff)
The file was modified testsuite/openmodelica/interactive-API/interactive_api_calls.mos (diff)
The file was modified testsuite/simulation/modelica/synchronous/TestClockParameterEvaluation.mos (diff)
The file was modified testsuite/simulation/libraries/3rdParty/Modelica_DeviceDrivers/Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_ExternalTrigger.mos (diff)
The file was modified OMCompiler/Compiler/Script/CevalScriptBackend.mo (diff)
The file was addedtestsuite/openmodelica/interactive-API/UsesAnnotation2.mos
The file was modified testsuite/simulation/libraries/3rdParty/Modelica_DeviceDrivers/Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_String.mos (diff)
The file was modified testsuite/flattening/libraries/biochem/BiochemModels.mos (diff)
The file was modified testsuite/simulation/libraries/3rdParty/Modelica_DeviceDrivers/Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager.mos (diff)
The file was modified OMCompiler/Compiler/Script/Interactive.mo (diff)
The file was modified OMCompiler/Compiler/boot/LoadCompilerSources.mos (diff)
The file was modified OMCompiler/Compiler/Main/Main.mo (diff)
The file was modified OMCompiler/Compiler/Script/CevalScript.mo (diff)
The file was modified testsuite/openmodelica/cppruntime/testVectorizedBlocks.mos (diff)
The file was modified OMCompiler/Compiler/Util/Error.mo (diff)
The file was modified OMCompiler/Compiler/Util/SemanticVersion.mo (diff)
The file was modified testsuite/openmodelica/uncertainties/DataReconciliationOpenCpsTests.mos (diff)