Skip to content

Failed

tests / 04 testsuite-clang 1/3 / openmodelica_cppruntime_fmu_modelExchange_2.0.testCSTR.mos (from (result.xml))

Failing for the past 29 builds (Since #16 )
Took 9 sec.

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + testCSTR                                                                          ... equation mismatch [time: 9]

==== Log /tmp/omc-rtest-unknown/openmodelica/cppruntime/fmu/modelExchange/2.0/testCSTR.mos_temp4444/log-testCSTR.mos
true
true
true
""
true
"Notification: Automatically loaded package Modelica 3.2.2 due to uses annotation from CSTR.
Notification: Automatically loaded package Complex 3.2.2 due to uses annotation from Modelica.
Notification: Automatically loaded package ModelicaServices 3.2.2 due to uses annotation from Modelica.
"
true
""
true
""
""
"[openmodelica/cppruntime/fmu/modelExchange/2.0/CSTR.mo:24:3-28:72:writable] Warning: Variable cA has attribute stateSelect=StateSelect.always, but can't be selected as a state.
[openmodelica/cppruntime/fmu/modelExchange/2.0/CSTR.mo:24:3-28:72:writable] Warning: Variable $outputAlias_cA.$pDERFMIDER.dummyVarFMIDER has attribute stateSelect=StateSelect.always, but can't be selected as a state.
Error: Error building simulator. Build log: clang++ -std=c++17  -Winvalid-pch -O2 -g -DNDEBUG -fPIC   -std=c++11 -DBOOST_ALL_DYN_LINK   -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD  -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS  -DFMU_BUILD -DRUNTIME_STATIC_LINKING -I\"/var/lib/jenkins3/ws/OpenModelica_PR-10488/build/bin/../include/omc/cpp\" -I\".\" -I\"/var/lib/jenkins1/ws/OpenModelica_PR-10488/build/include/omc/sundials\" -I\".\"   -DUSE_LOGGER  -c -o OMCppCSTRModelCalcHelperMain.o OMCppCSTRModelCalcHelperMain.cpp
In file included from OMCppCSTRModelCalcHelperMain.cpp:28:
In file included from ./OMCppCSTRModelAlgLoopMain.cpp:11:
./OMCppCSTRModelAlgloop51.cpp:84:28: error: use of undeclared identifier 'clockIndex'
  if (_system->_clockStart[clockIndex - 1] || _system->_clockSubactive[clockIndex - 1]) {
                           ^
./OMCppCSTRModelAlgloop51.cpp:84:72: error: use of undeclared identifier 'clockIndex'
  if (_system->_clockStart[clockIndex - 1] || _system->_clockSubactive[clockIndex - 1]) {
                                                                       ^
./OMCppCSTRModelAlgloop51.cpp:92:50: error: use of undeclared identifier 'clockIndex'
  __A(13,1)=division(1.0,_system->_clockInterval[clockIndex - 1],!_system->_initial,\"interval()\");
                                                 ^
./OMCppCSTRModelAlgloop51.cpp:94:28: error: use of undeclared identifier 'clockIndex'
  if (_system->_clockStart[clockIndex - 1] || _system->_clockSubactive[clockIndex - 1]) {
                           ^
./OMCppCSTRModelAlgloop51.cpp:94:72: error: use of undeclared identifier 'clockIndex'
  if (_system->_clockStart[clockIndex - 1] || _system->_clockSubactive[clockIndex - 1]) {
                                                                       ^
./OMCppCSTRModelAlgloop51.cpp:103:50: error: use of undeclared identifier 'clockIndex'
  __A(10,3)=division(1.0,_system->_clockInterval[clockIndex - 1],!_system->_initial,\"interval()\");
                                                 ^
./OMCppCSTRModelAlgloop51.cpp:105:28: error: use of undeclared identifier 'clockIndex'
  if (_system->_clockStart[clockIndex - 1] || _system->_clockSubactive[clockIndex - 1]) {
                           ^
./OMCppCSTRModelAlgloop51.cpp:105:72: error: use of undeclared identifier 'clockIndex'
  if (_system->_clockStart[clockIndex - 1] || _system->_clockSubactive[clockIndex - 1]) {
                                                                       ^
./OMCppCSTRModelAlgloop51.cpp:122:50: error: use of undeclared identifier 'clockIndex'
  __A(11,8)=division(1.0,_system->_clockInterval[clockIndex - 1],!_system->_initial,\"interval()\");
                                                 ^
./OMCppCSTRModelAlgloop51.cpp:128:50: error: use of undeclared identifier 'clockIndex'
  __A(3,10)=division(1.0,_system->_clockInterval[clockIndex - 1],!_system->_initial,\"interval()\");
                                                 ^
./OMCppCSTRModelAlgloop51.cpp:130:28: error: use of undeclared identifier 'clockIndex'
  if (_system->_clockStart[clockIndex - 1] || _system->_clockSubactive[clockIndex - 1]) {
                           ^
./OMCppCSTRModelAlgloop51.cpp:130:72: error: use of undeclared identifier 'clockIndex'
  if (_system->_clockStart[clockIndex - 1] || _system->_clockSubactive[clockIndex - 1]) {
                                                                       ^
./OMCppCSTRModelAlgloop51.cpp:146:73: error: use of undeclared identifier 'clockIndex'
  __b(4) = division((_system->_FMIDERjac_x(2) * _system->_clockInterval[clockIndex - 1]),std::pow(_system->_clockInterval[clockIndex - 1], 2.0),!_system->_initial,\"interval() ^ 2.0\");
                                                                        ^
./OMCppCSTRModelAlgloop51.cpp:146:123: error: use of undeclared identifier 'clockIndex'
  __b(4) = division((_system->_FMIDERjac_x(2) * _system->_clockInterval[clockIndex - 1]),std::pow(_system->_clockInterval[clockIndex - 1], 2.0),!_system->_initial,\"interval() ^ 2.0\");
                                                                                                                          ^
./OMCppCSTRModelAlgloop51.cpp:153:74: error: use of undeclared identifier 'clockIndex'
  __b(11) = division((_system->_FMIDERjac_x(1) * _system->_clockInterval[clockIndex - 1]),std::pow(_system->_clockInterval[clockIndex - 1], 2.0),!_system->_initial,\"interval() ^ 2.0\");
                                                                         ^
./OMCppCSTRModelAlgloop51.cpp:153:124: error: use of undeclared identifier 'clockIndex'
  __b(11) = division((_system->_FMIDERjac_x(1) * _system->_clockInterval[clockIndex - 1]),std::pow(_system->_clockInterval[clockIndex - 1], 2.0),!_system->_initial,\"interval() ^ 2.0\");
                                                                                                                           ^
./OMCppCSTRModelAlgloop51.cpp:154:74: error: use of undeclared identifier 'clockIndex'
  __b(12) = division((_system->_FMIDERjac_x(3) * _system->_clockInterval[clockIndex - 1]),std::pow(_system->_clockInterval[clockIndex - 1], 2.0),!_system->_initial,\"interval() ^ 2.0\");
                                                                         ^
./OMCppCSTRModelAlgloop51.cpp:154:124: error: use of undeclared identifier 'clockIndex'
  __b(12) = division((_system->_FMIDERjac_x(3) * _system->_clockInterval[clockIndex - 1]),std::pow(_system->_clockInterval[clockIndex - 1], 2.0),!_system->_initial,\"interval() ^ 2.0\");
                                                                                                                           ^
./OMCppCSTRModelAlgloop51.cpp:156:74: error: use of undeclared identifier 'clockIndex'
  __b(14) = division((_system->_FMIDERjac_x(0) * _system->_clockInterval[clockIndex - 1]),std::pow(_system->_clockInterval[clockIndex - 1], 2.0),!_system->_initial,\"interval() ^ 2.0\");
                                                                         ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make: *** [<builtin>: OMCppCSTRModelCalcHelperMain.o] Error 1
"
unzip:  cannot find or open CSTRModel.fmu, CSTRModel.fmu.zip or CSTRModel.fmu.ZIP.
1
""

Equation mismatch: diff says:
--- /tmp/omc-rtest-unknown/openmodelica/cppruntime/fmu/modelExchange/2.0/testCSTR.mos_temp4444/equations-expected2024-01-13 02:54:03.384158009 +0000
+++ /tmp/omc-rtest-unknown/openmodelica/cppruntime/fmu/modelExchange/2.0/testCSTR.mos_temp4444/equations-got2024-01-13 02:54:12.032222861 +0000
@@ -9,505 +9,75 @@
 "
 true
 ""
 true
 ""
-"CSTRModel.fmu"
+""
 "[openmodelica/cppruntime/fmu/modelExchange/2.0/CSTR.mo:24:3-28:72:writable] Warning: Variable cA has attribute stateSelect=StateSelect.always, but can't be selected as a state.
 [openmodelica/cppruntime/fmu/modelExchange/2.0/CSTR.mo:24:3-28:72:writable] Warning: Variable $outputAlias_cA.$pDERFMIDER.dummyVarFMIDER has attribute stateSelect=StateSelect.always, but can't be selected as a state.
+Error: Error building simulator. Build log: clang++ -std=c++17  -Winvalid-pch -O2 -g -DNDEBUG -fPIC   -std=c++11 -DBOOST_ALL_DYN_LINK   -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD  -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS  -DFMU_BUILD -DRUNTIME_STATIC_LINKING -I\"/var/lib/jenkins3/ws/OpenModelica_PR-10488/build/bin/../include/omc/cpp\" -I\".\" -I\"/var/lib/jenkins1/ws/OpenModelica_PR-10488/build/include/omc/sundials\" -I\".\"   -DUSE_LOGGER  -c -o OMCppCSTRModelCalcHelperMain.o OMCppCSTRModelCalcHelperMain.cpp
+In file included from OMCppCSTRModelCalcHelperMain.cpp:28:
+In file included from ./OMCppCSTRModelAlgLoopMain.cpp:11:
+./OMCppCSTRModelAlgloop51.cpp:84:28: error: use of undeclared identifier 'clockIndex'
+if (_system->_clockStart[clockIndex - 1] || _system->_clockSubactive[clockIndex - 1]) {
+^
+./OMCppCSTRModelAlgloop51.cpp:84:72: error: use of undeclared identifier 'clockIndex'
+if (_system->_clockStart[clockIndex - 1] || _system->_clockSubactive[clockIndex - 1]) {
+^
+./OMCppCSTRModelAlgloop51.cpp:92:50: error: use of undeclared identifier 'clockIndex'
+__A(13,1)=division(1.0,_system->_clockInterval[clockIndex - 1],!_system->_initial,\"interval()\");
+^
+./OMCppCSTRModelAlgloop51.cpp:94:28: error: use of undeclared identifier 'clockIndex'
+if (_system->_clockStart[clockIndex - 1] || _system->_clockSubactive[clockIndex - 1]) {
+^
+./OMCppCSTRModelAlgloop51.cpp:94:72: error: use of undeclared identifier 'clockIndex'
+if (_system->_clockStart[clockIndex - 1] || _system->_clockSubactive[clockIndex - 1]) {
+^
+./OMCppCSTRModelAlgloop51.cpp:103:50: error: use of undeclared identifier 'clockIndex'
+__A(10,3)=division(1.0,_system->_clockInterval[clockIndex - 1],!_system->_initial,\"interval()\");
+^
+./OMCppCSTRModelAlgloop51.cpp:105:28: error: use of undeclared identifier 'clockIndex'
+if (_system->_clockStart[clockIndex - 1] || _system->_clockSubactive[clockIndex - 1]) {
+^
+./OMCppCSTRModelAlgloop51.cpp:105:72: error: use of undeclared identifier 'clockIndex'
+if (_system->_clockStart[clockIndex - 1] || _system->_clockSubactive[clockIndex - 1]) {
+^
+./OMCppCSTRModelAlgloop51.cpp:122:50: error: use of undeclared identifier 'clockIndex'
+__A(11,8)=division(1.0,_system->_clockInterval[clockIndex - 1],!_system->_initial,\"interval()\");
+^
+./OMCppCSTRModelAlgloop51.cpp:128:50: error: use of undeclared identifier 'clockIndex'
+__A(3,10)=division(1.0,_system->_clockInterval[clockIndex - 1],!_system->_initial,\"interval()\");
+^
+./OMCppCSTRModelAlgloop51.cpp:130:28: error: use of undeclared identifier 'clockIndex'
+if (_system->_clockStart[clockIndex - 1] || _system->_clockSubactive[clockIndex - 1]) {
+^
+./OMCppCSTRModelAlgloop51.cpp:130:72: error: use of undeclared identifier 'clockIndex'
+if (_system->_clockStart[clockIndex - 1] || _system->_clockSubactive[clockIndex - 1]) {
+^
+./OMCppCSTRModelAlgloop51.cpp:146:73: error: use of undeclared identifier 'clockIndex'
+__b(4) = division((_system->_FMIDERjac_x(2) * _system->_clockInterval[clockIndex - 1]),std::pow(_system->_clockInterval[clockIndex - 1], 2.0),!_system->_initial,\"interval() ^ 2.0\");
+^
+./OMCppCSTRModelAlgloop51.cpp:146:123: error: use of undeclared identifier 'clockIndex'
+__b(4) = division((_system->_FMIDERjac_x(2) * _system->_clockInterval[clockIndex - 1]),std::pow(_system->_clockInterval[clockIndex - 1], 2.0),!_system->_initial,\"interval() ^ 2.0\");
+^
+./OMCppCSTRModelAlgloop51.cpp:153:74: error: use of undeclared identifier 'clockIndex'
+__b(11) = division((_system->_FMIDERjac_x(1) * _system->_clockInterval[clockIndex - 1]),std::pow(_system->_clockInterval[clockIndex - 1], 2.0),!_system->_initial,\"interval() ^ 2.0\");
+^
+./OMCppCSTRModelAlgloop51.cpp:153:124: error: use of undeclared identifier 'clockIndex'
+__b(11) = division((_system->_FMIDERjac_x(1) * _system->_clockInterval[clockIndex - 1]),std::pow(_system->_clockInterval[clockIndex - 1], 2.0),!_system->_initial,\"interval() ^ 2.0\");
+^
+./OMCppCSTRModelAlgloop51.cpp:154:74: error: use of undeclared identifier 'clockIndex'
+__b(12) = division((_system->_FMIDERjac_x(3) * _system->_clockInterval[clockIndex - 1]),std::pow(_system->_clockInterval[clockIndex - 1], 2.0),!_system->_initial,\"interval() ^ 2.0\");
+^
+./OMCppCSTRModelAlgloop51.cpp:154:124: error: use of undeclared identifier 'clockIndex'
+__b(12) = division((_system->_FMIDERjac_x(3) * _system->_clockInterval[clockIndex - 1]),std::pow(_system->_clockInterval[clockIndex - 1], 2.0),!_system->_initial,\"interval() ^ 2.0\");
+^
+./OMCppCSTRModelAlgloop51.cpp:156:74: error: use of undeclared identifier 'clockIndex'
+__b(14) = division((_system->_FMIDERjac_x(0) * _system->_clockInterval[clockIndex - 1]),std::pow(_system->_clockInterval[clockIndex - 1], 2.0),!_system->_initial,\"interval() ^ 2.0\");
+^
+fatal error: too many errors emitted, stopping now [-ferror-limit=]
+20 errors generated.
+make: *** [<builtin>: OMCppCSTRModelCalcHelperMain.o] Error 1
 "
-0
-"<?xml version=\"1.0\" encoding=\"UTF-8\"?>
-<fmiModelDescription
-fmiVersion=\"2.0\"
-modelName=\"CSTRModel\"
-description=\"\"
-variableNamingConvention=\"structured\"
-numberOfEventIndicators=\"0\">
-<ModelExchange
-modelIdentifier=\"CSTRModel\" providesDirectionalDerivative=\"true\">
-</ModelExchange>
-<UnitDefinitions>
-<Unit name=\"s\">
-<BaseUnit s=\"1\" />
-</Unit>
-<Unit name=\"kg/m3\">
-<BaseUnit m=\"-3\" kg=\"1\" />
-</Unit>
-<Unit name=\"kg\">
-<BaseUnit kg=\"1\" />
-</Unit>
-<Unit name=\"W/(m2.K)\">
-<BaseUnit s=\"-3\" K=\"-1\" kg=\"1\" />
-</Unit>
-<Unit name=\"m3\">
-<BaseUnit m=\"3\" />
-</Unit>
-<Unit name=\"J/mol\">
-<BaseUnit mol=\"-1\" m=\"2\" s=\"-2\" kg=\"1\" />
-</Unit>
-<Unit name=\"J/(kg.K)\">
-<BaseUnit m=\"2\" s=\"-2\" K=\"-1\" />
-</Unit>
-<Unit name=\"m2\">
-<BaseUnit m=\"2\" />
-</Unit>
-<Unit name=\"1/h\">
-<BaseUnit s=\"-1\" factor=\"0.0002777777777777778\" />
-</Unit>
-<Unit name=\"kJ/h\">
-<BaseUnit m=\"2\" s=\"-3\" kg=\"1\" factor=\"0.2777777777777778\" />
-</Unit>
-<Unit name=\"mol/l\">
-<BaseUnit mol=\"1\" m=\"-3\" factor=\"1000.0\" />
-</Unit>
-<Unit name=\"degC\">
-<BaseUnit K=\"1\" />
-</Unit>
-</UnitDefinitions>
-<TypeDefinitions>
-<Clocks>
-<Clock><Inferred
-interval=\"20.0\"
-/></Clock>
-</Clocks>
-</TypeDefinitions>
-<LogCategories>
-<Category name=\"logEvents\" />
-<Category name=\"logSingularLinearSystems\" />
-<Category name=\"logNonlinearSystems\" />
-<Category name=\"logDynamicStateSelection\" />
-<Category name=\"logStatusWarning\" />
-<Category name=\"logStatusDiscard\" />
-<Category name=\"logStatusError\" />
-<Category name=\"logStatusFatal\" />
-<Category name=\"logStatusPending\" />
-<Category name=\"logAll\" />
-<Category name=\"logFmi2Call\" />
-</LogCategories>
-<DefaultExperiment startTime=\"0.0\" stopTime=\"1.0\" tolerance=\"1e-06\"/>
-<ModelVariables>
-<!-- Index of variable = \"1\" -->
-<ScalarVariable
-name=\"previous(_D_outputAlias_TK)\"
-valueReference=\"0\"
-description=\"Coolant temperature\"
-variability=\"discrete\"
-clockIndex=\"1\"
->
-<Real nominal=\"100.0\" unit=\"degC\"/>
-</ScalarVariable>
-<!-- Index of variable = \"2\" -->
-<ScalarVariable
-name=\"previous(_D_outputAlias_cA)\"
-valueReference=\"1\"
-description=\"Concentration\"
-variability=\"discrete\"
-clockIndex=\"1\"
->
-<Real unit=\"mol/l\"/>
-</ScalarVariable>
-<!-- Index of variable = \"3\" -->
-<ScalarVariable
-name=\"previous(_D_outputAlias_cB)\"
-valueReference=\"2\"
-description=\"Concentration\"
-variability=\"discrete\"
-clockIndex=\"1\"
->
-<Real unit=\"mol/l\"/>
-</ScalarVariable>
-<!-- Index of variable = \"4\" -->
-<ScalarVariable
-name=\"previous(T)\"
-valueReference=\"3\"
-variability=\"discrete\"
-clockIndex=\"1\"
->
-<Real nominal=\"100.0\" unit=\"degC\"/>
-</ScalarVariable>
-<!-- Index of variable = \"5\" -->
-<ScalarVariable
-name=\"der(_D_outputAlias_TK)\"
-valueReference=\"4\"
-variability=\"discrete\"
-clockIndex=\"1\"
->
-<Real/>
-</ScalarVariable>
-<!-- Index of variable = \"6\" -->
-<ScalarVariable
-name=\"der(_D_outputAlias_cA)\"
-valueReference=\"5\"
-variability=\"discrete\"
-clockIndex=\"1\"
->
-<Real/>
-</ScalarVariable>
-<!-- Index of variable = \"7\" -->
-<ScalarVariable
-name=\"der(_D_outputAlias_cB)\"
-valueReference=\"6\"
-variability=\"discrete\"
-clockIndex=\"1\"
->
-<Real/>
-</ScalarVariable>
-<!-- Index of variable = \"8\" -->
-<ScalarVariable
-name=\"der(T)\"
-valueReference=\"7\"
-variability=\"discrete\"
-clockIndex=\"1\"
->
-<Real/>
-</ScalarVariable>
-<!-- Index of variable = \"9\" -->
-<ScalarVariable
-name=\"_D_outputAlias_TK\"
-valueReference=\"11\"
-description=\"Coolant temperature\"
-variability=\"discrete\"
-clockIndex=\"1\"
-previous=\"1\"
-initial=\"exact\">
-<Real start=\"112.9\" nominal=\"100.0\" unit=\"degC\"/>
-</ScalarVariable>
-<!-- Index of variable = \"10\" -->
-<ScalarVariable
-name=\"_D_outputAlias_cA\"
-valueReference=\"12\"
-description=\"Concentration\"
-variability=\"discrete\"
-clockIndex=\"1\"
-previous=\"2\"
-initial=\"exact\">
-<Real start=\"2.14\" unit=\"mol/l\"/>
-</ScalarVariable>
-<!-- Index of variable = \"11\" -->
-<ScalarVariable
-name=\"_D_outputAlias_cB\"
-valueReference=\"13\"
-description=\"Concentration\"
-variability=\"discrete\"
-clockIndex=\"1\"
-previous=\"3\"
-initial=\"exact\">
-<Real start=\"1.09\" unit=\"mol/l\"/>
-</ScalarVariable>
-<!-- Index of variable = \"12\" -->
-<ScalarVariable
-name=\"QK_flow\"
-valueReference=\"14\"
-description=\"Heat flow rate\"
-causality=\"input\"
->
-<Real start=\"-1113.5\" nominal=\"1000.0\" unit=\"kJ/h\"/>
-</ScalarVariable>
-<!-- Index of variable = \"13\" -->
-<ScalarVariable
-name=\"QK_flow_sampled\"
-valueReference=\"15\"
-variability=\"discrete\"
-clockIndex=\"1\"
->
-<Real/>
-</ScalarVariable>
-<!-- Index of variable = \"14\" -->
-<ScalarVariable
-name=\"T\"
-valueReference=\"16\"
-variability=\"discrete\"
-clockIndex=\"1\"
-previous=\"4\"
-initial=\"exact\">
-<Real start=\"114.2\" nominal=\"100.0\" unit=\"degC\"/>
-</ScalarVariable>
-<!-- Index of variable = \"15\" -->
-<ScalarVariable
-name=\"TF\"
-valueReference=\"17\"
-description=\"Feed temperature\"
-causality=\"input\"
->
-<Real start=\"104.9\" unit=\"degC\"/>
-</ScalarVariable>
-<!-- Index of variable = \"16\" -->
-<ScalarVariable
-name=\"TK\"
-valueReference=\"18\"
-description=\"Coolant temperature\"
-variability=\"discrete\"
-causality=\"output\"
-clockIndex=\"1\"
->
-<Real nominal=\"100.0\" unit=\"degC\"/>
-</ScalarVariable>
-<!-- Index of variable = \"17\" -->
-<ScalarVariable
-name=\"VF_flow\"
-valueReference=\"19\"
-description=\"Feed flow rate\"
-causality=\"input\"
->
-<Real start=\"14.19\" unit=\"1/h\"/>
-</ScalarVariable>
-<!-- Index of variable = \"18\" -->
-<ScalarVariable
-name=\"cA\"
-valueReference=\"20\"
-description=\"Concentration\"
-variability=\"discrete\"
-causality=\"output\"
-clockIndex=\"1\"
->
-<Real unit=\"mol/l\"/>
-</ScalarVariable>
-<!-- Index of variable = \"19\" -->
-<ScalarVariable
-name=\"cB\"
-valueReference=\"21\"
-description=\"Concentration\"
-variability=\"discrete\"
-causality=\"output\"
-clockIndex=\"1\"
->
-<Real unit=\"mol/l\"/>
-</ScalarVariable>
-<!-- Index of variable = \"20\" -->
-<ScalarVariable
-name=\"k[1]\"
-valueReference=\"22\"
-variability=\"discrete\"
-clockIndex=\"1\"
->
-<Real/>
-</ScalarVariable>
-<!-- Index of variable = \"21\" -->
-<ScalarVariable
-name=\"k[2]\"
-valueReference=\"23\"
-variability=\"discrete\"
-clockIndex=\"1\"
->
-<Real/>
-</ScalarVariable>
-<!-- Index of variable = \"22\" -->
-<ScalarVariable
-name=\"k[3]\"
-valueReference=\"24\"
-variability=\"discrete\"
-clockIndex=\"1\"
->
-<Real/>
-</ScalarVariable>
-<!-- Index of variable = \"23\" -->
-<ScalarVariable
-name=\"AR\"
-valueReference=\"25\"
-description=\"reactor surface area\"
-variability=\"fixed\"
-causality=\"parameter\"
->
-<Real start=\"0.215\" unit=\"m2\"/>
-</ScalarVariable>
-<!-- Index of variable = \"24\" -->
-<ScalarVariable
-name=\"Cp\"
-valueReference=\"26\"
-variability=\"fixed\"
-causality=\"parameter\"
->
-<Real start=\"3010.0\" unit=\"J/(kg.K)\"/>
-</ScalarVariable>
-<!-- Index of variable = \"25\" -->
-<ScalarVariable
-name=\"CpK\"
-valueReference=\"27\"
-description=\"coolant heat capacity\"
-variability=\"fixed\"
-causality=\"parameter\"
->
-<Real start=\"2000.0\" unit=\"J/(kg.K)\"/>
-</ScalarVariable>
-<!-- Index of variable = \"26\" -->
-<ScalarVariable
-name=\"E[1]\"
-valueReference=\"28\"
-variability=\"fixed\"
-causality=\"parameter\"
->
-<Real start=\"-9758.299999999999\"/>
-</ScalarVariable>
-<!-- Index of variable = \"27\" -->
-<ScalarVariable
-name=\"E[2]\"
-valueReference=\"29\"
-variability=\"fixed\"
-causality=\"parameter\"
->
-<Real start=\"-9758.299999999999\"/>
-</ScalarVariable>
-<!-- Index of variable = \"28\" -->
-<ScalarVariable
-name=\"E[3]\"
-valueReference=\"30\"
-variability=\"fixed\"
-causality=\"parameter\"
->
-<Real start=\"-8560.0\"/>
-</ScalarVariable>
-<!-- Index of variable = \"29\" -->
-<ScalarVariable
-name=\"H[1]\"
-valueReference=\"31\"
-variability=\"fixed\"
-causality=\"parameter\"
->
-<Real start=\"4200.0\" nominal=\"20000.0\" unit=\"J/mol\"/>
-</ScalarVariable>
-<!-- Index of variable = \"30\" -->
-<ScalarVariable
-name=\"H[2]\"
-valueReference=\"32\"
-variability=\"fixed\"
-causality=\"parameter\"
->
-<Real start=\"-11000.0\" nominal=\"20000.0\" unit=\"J/mol\"/>
-</ScalarVariable>
-<!-- Index of variable = \"31\" -->
-<ScalarVariable
-name=\"H[3]\"
-valueReference=\"33\"
-variability=\"fixed\"
-causality=\"parameter\"
->
-<Real start=\"-41850.0\" nominal=\"20000.0\" unit=\"J/mol\"/>
-</ScalarVariable>
-<!-- Index of variable = \"32\" -->
-<ScalarVariable
-name=\"VR\"
-valueReference=\"34\"
-description=\"reactor volume\"
-variability=\"fixed\"
-causality=\"parameter\"
->
-<Real start=\"0.01\" unit=\"m3\"/>
-</ScalarVariable>
-<!-- Index of variable = \"33\" -->
-<ScalarVariable
-name=\"cAF\"
-valueReference=\"35\"
-description=\"Concentration of substance A in feed\"
-variability=\"fixed\"
-causality=\"parameter\"
->
-<Real start=\"5.1\" unit=\"mol/l\"/>
-</ScalarVariable>
-<!-- Index of variable = \"34\" -->
-<ScalarVariable
-name=\"k0[1]\"
-valueReference=\"36\"
-variability=\"fixed\"
-causality=\"parameter\"
->
-<Real start=\"357500000.0\"/>
-</ScalarVariable>
-<!-- Index of variable = \"35\" -->
-<ScalarVariable
-name=\"k0[2]\"
-valueReference=\"37\"
-variability=\"fixed\"
-causality=\"parameter\"
->
-<Real start=\"357500000.0\"/>
-</ScalarVariable>
-<!-- Index of variable = \"36\" -->
-<ScalarVariable
-name=\"k0[3]\"
-valueReference=\"38\"
-variability=\"fixed\"
-causality=\"parameter\"
->
-<Real start=\"2511944.444444444\"/>
-</ScalarVariable>
-<!-- Index of variable = \"37\" -->
-<ScalarVariable
-name=\"kw\"
-valueReference=\"39\"
-variability=\"fixed\"
-causality=\"parameter\"
->
-<Real start=\"1120.0\" unit=\"W/(m2.K)\"/>
-</ScalarVariable>
-<!-- Index of variable = \"38\" -->
-<ScalarVariable
-name=\"mK\"
-valueReference=\"40\"
-description=\"coolant mass\"
-variability=\"fixed\"
-causality=\"parameter\"
->
-<Real start=\"5.0\" min=\"0.0\" unit=\"kg\"/>
-</ScalarVariable>
-<!-- Index of variable = \"39\" -->
-<ScalarVariable
-name=\"rho\"
-valueReference=\"41\"
-variability=\"fixed\"
-causality=\"parameter\"
->
-<Real start=\"934.2\" min=\"0.0\" unit=\"kg/m3\"/>
-</ScalarVariable>
-<!-- Index of variable = \"40\" -->
-<ScalarVariable
-name=\"samplePeriod\"
-valueReference=\"42\"
-description=\"Period of clock\"
-variability=\"fixed\"
-causality=\"calculatedParameter\"
->
-<Real unit=\"s\"/>
-</ScalarVariable>
-<!-- Index of variable = \"41\" -->
-<ScalarVariable
-name=\"fixedInitial\"
-valueReference=\"0\"
-description=\"=false to free reactor states\"
-variability=\"fixed\"
-causality=\"calculatedParameter\"
->
-<Boolean/>
-</ScalarVariable>
-<!-- Index of variable = \"42\" -->
-<ScalarVariable
-name=\"solverMethod\"
-valueReference=\"0\"
-variability=\"fixed\"
-causality=\"calculatedParameter\"
->
-<String/>
-</ScalarVariable>
-</ModelVariables>
-<ModelStructure>
-<Outputs>
-<Unknown index=\"16\" dependencies=\"1 2 3 4 12 15 17\" dependenciesKind=\"dependent dependent dependent dependent dependent dependent dependent\" />
-<Unknown index=\"18\" dependencies=\"1 2 3 4 12 15 17\" dependenciesKind=\"dependent dependent dependent dependent dependent dependent dependent\" />
-<Unknown index=\"19\" dependencies=\"1 2 3 4 12 15 17\" dependenciesKind=\"dependent dependent dependent dependent dependent dependent dependent\" />
-</Outputs>
-<DiscreteStates>
-<Unknown index=\"9\" dependencies=\"1 2 3 4 12 15 17\" dependenciesKind=\"dependent dependent dependent dependent dependent dependent dependent\" />
-<Unknown index=\"10\" dependencies=\"1 2 3 4 12 15 17\" dependenciesKind=\"dependent dependent dependent dependent dependent dependent dependent\" />
-<Unknown index=\"11\" dependencies=\"1 2 3 4 12 15 17\" dependenciesKind=\"dependent dependent dependent dependent dependent dependent dependent\" />
-<Unknown index=\"14\" dependencies=\"1 2 3 4 12 15 17\" dependenciesKind=\"dependent dependent dependent dependent dependent dependent dependent\" />
-</DiscreteStates>
-<InitialUnknowns>
-<Unknown index=\"16\" dependencies=\"\" dependenciesKind=\"\" />
-<Unknown index=\"18\" dependencies=\"\" dependenciesKind=\"\" />
-<Unknown index=\"19\" dependencies=\"\" dependenciesKind=\"\" />
-<Unknown index=\"40\" dependencies=\"\" dependenciesKind=\"\" />
-<Unknown index=\"41\" dependencies=\"\" dependenciesKind=\"\" />
-<Unknown index=\"42\" dependencies=\"\" dependenciesKind=\"\" />
-</InitialUnknowns>
-</ModelStructure>
-</fmiModelDescription>
-"
+unzip: cannot find or open CSTRModel.fmu, CSTRModel.fmu.zip or CSTRModel.fmu.ZIP.
+1
+""

Equation mismatch: omc-diff says:
Failed 'C' '"'
Line 14: Text differs:
expected: "CSTRModel.fmu"
got:      ""

== 1 out of 1 tests failed [openmodelica/cppruntime/fmu/modelExchange/2.0/testCSTR.mos_temp4444, time: 9]