Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) Using package HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(HelmholtzMedia.Examples.Parameter.State_Ts_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter") translateModel(HelmholtzMedia.Examples.Parameter.State_Ts_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 109.6 kB / 16.41 MB, free: 6.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 189.7 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.428/1.428, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.0482/0.0482, allocations: 9.095 MB / 279.7 MB, free: 2.949 MB / 222.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 75.69 kB / 388.1 MB, free: 47.14 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09427/0.09575, allocations: 48.18 MB / 436.3 MB, free: 7.625 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_Ts_parameter): time 0.01711/0.1129, allocations: 16.9 MB / 453.2 MB, free: 6.66 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001939/0.1149, allocations: 1.853 MB / 455 MB, free: 4.801 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.923e-05/0.1149, allocations: 0 / 455 MB, free: 4.801 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006999/0.1157, allocations: 271.7 kB / 455.3 MB, free: 4.535 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.817e-05/0.1158, allocations: 27.78 kB / 455.3 MB, free: 4.508 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. Notification: Performance of NFTyping.typeClassSections: time 0.006648/0.1224, allocations: 2.776 MB / 458.1 MB, free: 1.727 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.584e-05/0.1225, allocations: 55.72 kB / 458.2 MB, free: 1.672 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.855e-05/0.1226, allocations: 8 kB / 458.2 MB, free: 1.664 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.09e-05/0.1227, allocations: 27.8 kB / 458.2 MB, free: 1.637 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.827e-05/0.1227, allocations: 11.94 kB / 458.2 MB, free: 1.625 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.514e-06/0.1227, allocations: 3.938 kB / 458.2 MB, free: 1.621 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007424/0.1301, allocations: 4.955 MB / 463.2 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.273e-05/0.1302, allocations: 3.938 kB / 463.2 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.445e-05/0.1302, allocations: 11.94 kB / 463.2 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00335/0.1336, allocations: 1.996 MB / 465.2 MB, free: 10.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.1336, allocations: 3.938 kB / 465.2 MB, free: 10.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1336, allocations: 0 / 465.2 MB, free: 10.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.1336, allocations: 0 / 465.2 MB, free: 10.64 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007509/0.1344, allocations: 0.4952 MB / 465.7 MB, free: 10.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.1344, allocations: 8.031 kB / 465.7 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.125e-05/0.1345, allocations: 4 kB / 465.7 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/0.1346, allocations: 170.9 kB / 465.9 MB, free: 9.875 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/0.1346, allocations: 4 kB / 465.9 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.062e-05/0.1346, allocations: 0 / 465.9 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001061/0.1347, allocations: 37.7 kB / 465.9 MB, free: 9.828 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.1347, allocations: 3.938 kB / 465.9 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-06/0.1348, allocations: 0 / 465.9 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.1348, allocations: 4 kB / 465.9 MB, free: 9.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.74e-05/0.1348, allocations: 15.98 kB / 465.9 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001737/0.135, allocations: 169.5 kB / 466.1 MB, free: 9.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.576e-05/0.135, allocations: 42.52 kB / 466.1 MB, free: 9.539 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.379e-05/0.1351, allocations: 16.89 kB / 466.1 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03094/0.166, allocations: 19.35 MB / 485.5 MB, free: 2.777 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.529e-05/0.1661, allocations: 38.56 kB / 485.5 MB, free: 2.73 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 3.356e-06/0.1661, allocations: 0 / 485.5 MB, free: 2.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002207/0.1664, allocations: 77.58 kB / 485.6 MB, free: 2.648 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.919e-05/0.1664, allocations: 55.34 kB / 485.7 MB, free: 2.582 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.029e-05/0.1665, allocations: 93.86 kB / 485.8 MB, free: 2.48 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.726e-05/0.1665, allocations: 33.69 kB / 485.8 MB, free: 2.441 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.339e-05/0.1666, allocations: 80.14 kB / 485.9 MB, free: 2.359 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.712e-05/0.1666, allocations: 19.88 kB / 485.9 MB, free: 2.34 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.441e-05/0.1666, allocations: 17.72 kB / 485.9 MB, free: 2.316 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.1668, allocations: 318.8 kB / 486.2 MB, free: 1.996 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.789e-05/0.1668, allocations: 8 kB / 486.2 MB, free: 1.988 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.818e-05/0.1668, allocations: 12 kB / 486.2 MB, free: 1.977 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.448e-05/0.1669, allocations: 36.84 kB / 486.3 MB, free: 1.938 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1669, allocations: 0 / 486.3 MB, free: 1.938 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.755e-05/0.167, allocations: 61.62 kB / 486.3 MB, free: 1.871 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.167, allocations: 8 kB / 486.3 MB, free: 1.863 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.167, allocations: 4.062 kB / 486.3 MB, free: 1.859 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.167, allocations: 0 / 486.3 MB, free: 1.859 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.102e-06/0.167, allocations: 0 / 486.3 MB, free: 1.859 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.167, allocations: 4.25 kB / 486.3 MB, free: 1.855 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.158e-05/0.1671, allocations: 3.938 kB / 486.3 MB, free: 1.852 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.1671, allocations: 0 / 486.3 MB, free: 1.852 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (inletState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.033e-05/0.1672, allocations: 120.8 kB / 486.5 MB, free: 1.727 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.05e-05/0.1672, allocations: 3.906 kB / 486.5 MB, free: 1.723 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000149/0.1673, allocations: 170.9 kB / 486.6 MB, free: 1.527 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.697e-05/0.1674, allocations: 180.2 kB / 486.8 MB, free: 1.344 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.045e-05/0.1675, allocations: 180.2 kB / 487 MB, free: 1.16 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.423e-05/0.1676, allocations: 192.1 kB / 487.2 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000238/0.1678, allocations: 409.2 kB / 487.6 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.598e-05/0.1679, allocations: 105 kB / 487.7 MB, free: 408 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.145e-05/0.1679, allocations: 108.9 kB / 487.8 MB, free: 292 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.557e-05/0.168, allocations: 176.3 kB / 488 MB, free: 108 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.391e-05/0.1681, allocations: 192.2 kB / 488.1 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.408e-05/0.1681, allocations: 180.2 kB / 488.3 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.53e-05/0.1682, allocations: 176.3 kB / 488.5 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001432/0.1683, allocations: 315.7 kB / 488.8 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.317e-05/0.1684, allocations: 186 kB / 489 MB, free: 15.01 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.085e-05/0.1685, allocations: 180.2 kB / 489.2 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.808e-05/0.1686, allocations: 101 kB / 489.3 MB, free: 14.72 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.575e-05/0.1687, allocations: 188.2 kB / 489.4 MB, free: 14.53 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.502e-05/0.1687, allocations: 109 kB / 489.5 MB, free: 14.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.659e-05/0.1688, allocations: 95.28 kB / 489.6 MB, free: 14.32 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1688, allocations: 0 / 489.6 MB, free: 14.32 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001142/0.17, allocations: 387.8 kB / 490 MB, free: 13.94 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001671/0.1716, allocations: 0.7254 MB / 490.7 MB, free: 13.21 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.177e-05/0.1717, allocations: 23.92 kB / 490.8 MB, free: 13.18 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.1718, allocations: 0 / 490.8 MB, free: 13.18 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.453e-06/0.1718, allocations: 4 kB / 490.8 MB, free: 13.18 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005427/0.1723, allocations: 489.8 kB / 491.2 MB, free: 12.7 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003192/0.1726, allocations: 232.7 kB / 491.5 MB, free: 12.44 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002651/0.1729, allocations: 0.6768 MB / 492.2 MB, free: 11.74 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.503e-05/0.1729, allocations: 15.44 kB / 492.2 MB, free: 11.72 MB / 382.1 MB Notification: Performance of SimCode: time 1.9e-07/0.1729, allocations: 0 / 492.2 MB, free: 11.72 MB / 382.1 MB Notification: Performance of Templates: time 0.01433/0.1873, allocations: 9.326 MB / 0.4897 GB, free: 2.395 MB / 382.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.makefile make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppHelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameterCalcHelperMain.o OMCppHelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameterCalcHelperMain.cpp In file included from OMCppHelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameterCalcHelperMain.cpp:28: ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameterFunctions.cpp:5063:32: error: use of undeclared identifier 'MM_' f_.R_s_ = division(8.3144598,MM_,!_initial,"MM"); ^ ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameterFunctions.cpp:5064:25: error: use of undeclared identifier 'MM_' f_.d_crit_ = division(MM_,2e-4,!_initial,"2e-4"); ^ 2 errors generated. make: *** [: OMCppHelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameterCalcHelperMain.o] Error 1