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.001341/0.001341, allocations: 102.8 kB / 16.4 MB, free: 6.5 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.001262/0.001262, allocations: 189.7 kB / 17.34 MB, free: 5.738 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.585/1.585, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04905/0.04905, allocations: 9.089 MB / 279.7 MB, free: 2.953 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.002214/0.002214, allocations: 67.91 kB / 388.1 MB, free: 47.19 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09439/0.09662, allocations: 48.18 MB / 436.3 MB, free: 7.641 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_Ts_parameter): time 0.01864/0.1153, allocations: 16.89 MB / 453.2 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002076/0.1174, allocations: 1.857 MB / 455 MB, free: 4.816 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.521e-05/0.1175, allocations: 0 / 455 MB, free: 4.816 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006804/0.1182, allocations: 263.7 kB / 455.3 MB, free: 4.559 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.066e-05/0.1182, allocations: 35.77 kB / 455.3 MB, free: 4.523 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.006967/0.1252, allocations: 2.784 MB / 458.1 MB, free: 1.734 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.48e-05/0.1253, allocations: 51.73 kB / 458.2 MB, free: 1.684 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.844e-05/0.1254, allocations: 7.984 kB / 458.2 MB, free: 1.676 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.321e-05/0.1255, allocations: 23.81 kB / 458.2 MB, free: 1.652 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.339e-05/0.1255, allocations: 15.92 kB / 458.2 MB, free: 1.637 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.965e-06/0.1255, allocations: 4 kB / 458.2 MB, free: 1.633 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007568/0.1331, allocations: 4.955 MB / 463.2 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.276e-05/0.1331, allocations: 3.984 kB / 463.2 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.209e-05/0.1332, allocations: 11.94 kB / 463.2 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00376/0.1369, allocations: 1.988 MB / 465.2 MB, free: 10.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.137, allocations: 3.938 kB / 465.2 MB, free: 10.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.137, allocations: 3.938 kB / 465.2 MB, free: 10.65 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.137, allocations: 4 kB / 465.2 MB, free: 10.65 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.0009758/0.138, allocations: 0.4991 MB / 465.7 MB, free: 10.1 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.138, allocations: 8.031 kB / 465.7 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.1e-05/0.1381, allocations: 4 kB / 465.7 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/0.1382, allocations: 163 kB / 465.8 MB, free: 9.891 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.1382, allocations: 0 / 465.8 MB, free: 9.891 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.143e-06/0.1382, allocations: 0 / 465.8 MB, free: 9.891 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.739e-05/0.1383, allocations: 41.69 kB / 465.9 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.1383, allocations: 7.938 kB / 465.9 MB, free: 9.836 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.434e-06/0.1383, allocations: 3.938 kB / 465.9 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/0.1384, allocations: 0 / 465.9 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.812e-05/0.1384, allocations: 12 kB / 465.9 MB, free: 9.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001744/0.1386, allocations: 173.5 kB / 466.1 MB, free: 9.602 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.337e-05/0.1386, allocations: 34.56 kB / 466.1 MB, free: 9.559 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.735e-05/0.1387, allocations: 21.05 kB / 466.1 MB, free: 9.535 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02974/0.1684, allocations: 19.35 MB / 485.5 MB, free: 2.793 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.53e-05/0.1685, allocations: 34.56 kB / 485.5 MB, free: 2.75 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 3.617e-06/0.1685, allocations: 0 / 485.5 MB, free: 2.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002162/0.1687, allocations: 85.52 kB / 485.6 MB, free: 2.66 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.539e-05/0.1688, allocations: 51.41 kB / 485.7 MB, free: 2.598 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.996e-05/0.1688, allocations: 93.86 kB / 485.7 MB, free: 2.496 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/0.1689, allocations: 25.7 kB / 485.8 MB, free: 2.465 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.723e-05/0.1689, allocations: 80.14 kB / 485.9 MB, free: 2.383 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.367e-05/0.169, allocations: 27.69 kB / 485.9 MB, free: 2.355 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.162e-05/0.169, allocations: 13.72 kB / 485.9 MB, free: 2.336 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.1691, allocations: 318.9 kB / 486.2 MB, free: 2.016 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.039e-05/0.1691, allocations: 15.98 kB / 486.2 MB, free: 2 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.765e-05/0.1692, allocations: 12 kB / 486.2 MB, free: 1.988 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.918e-05/0.1692, allocations: 36.78 kB / 486.3 MB, free: 1.949 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1692, allocations: 0 / 486.3 MB, free: 1.949 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001017/0.1694, allocations: 58 kB / 486.3 MB, free: 1.887 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.1694, allocations: 4 kB / 486.3 MB, free: 1.883 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.1694, allocations: 4 kB / 486.3 MB, free: 1.879 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.1694, allocations: 0 / 486.3 MB, free: 1.879 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.182e-06/0.1694, allocations: 0 / 486.3 MB, free: 1.879 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/0.1694, allocations: 3.984 kB / 486.3 MB, free: 1.875 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.168e-05/0.1695, allocations: 8 kB / 486.3 MB, free: 1.867 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.1695, allocations: 4 kB / 486.3 MB, free: 1.863 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.462e-05/0.1696, allocations: 120.8 kB / 486.5 MB, free: 1.738 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.677e-05/0.1696, allocations: 3.906 kB / 486.5 MB, free: 1.734 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001486/0.1698, allocations: 178.7 kB / 486.6 MB, free: 1.531 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-05/0.1698, allocations: 180.2 kB / 486.8 MB, free: 1.348 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.662e-05/0.1699, allocations: 184.2 kB / 487 MB, free: 1.16 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.168e-05/0.17, allocations: 184.2 kB / 487.2 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002486/0.1702, allocations: 413.1 kB / 487.6 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.514e-05/0.1703, allocations: 108.9 kB / 487.7 MB, free: 408 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.512e-05/0.1703, allocations: 101 kB / 487.8 MB, free: 300 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-05/0.1704, allocations: 180.2 kB / 488 MB, free: 112 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-05/0.1705, allocations: 184.3 kB / 488.1 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.885e-05/0.1706, allocations: 180.3 kB / 488.3 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.229e-05/0.1706, allocations: 184.2 kB / 488.5 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000138/0.1708, allocations: 307.7 kB / 488.8 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.733e-05/0.1709, allocations: 182.1 kB / 489 MB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.089e-05/0.171, allocations: 188.2 kB / 489.2 MB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.084e-05/0.171, allocations: 104.9 kB / 489.3 MB, free: 14.72 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.874e-05/0.1711, allocations: 176.3 kB / 489.4 MB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.274e-05/0.1712, allocations: 108.9 kB / 489.5 MB, free: 14.43 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.204e-05/0.1712, allocations: 99.27 kB / 489.6 MB, free: 14.33 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.1712, allocations: 4 kB / 489.6 MB, free: 14.33 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001118/0.1724, allocations: 387.8 kB / 490 MB, free: 13.95 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.002106/0.1745, allocations: 0.7174 MB / 490.7 MB, free: 13.22 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 7.888e-05/0.1746, allocations: 23.94 kB / 490.8 MB, free: 13.2 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.1746, allocations: 0 / 490.8 MB, free: 13.2 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.415e-06/0.1746, allocations: 0 / 490.8 MB, free: 13.2 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005697/0.1752, allocations: 0.4902 MB / 491.3 MB, free: 12.71 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003311/0.1755, allocations: 232.8 kB / 491.5 MB, free: 12.45 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002648/0.1758, allocations: 0.6768 MB / 492.2 MB, free: 11.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.811e-05/0.1758, allocations: 11.44 kB / 492.2 MB, free: 11.73 MB / 382.1 MB Notification: Performance of SimCode: time 1.573e-06/0.1758, allocations: 0 / 492.2 MB, free: 11.73 MB / 382.1 MB Notification: Performance of Templates: time 0.01604/0.1919, allocations: 9.329 MB / 0.4897 GB, free: 2.398 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