Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_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_pd_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter") translateModel(HelmholtzMedia.Examples.Parameter.State_pd_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 110 kB / 16.41 MB, free: 6.477 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.001878/0.001878, allocations: 185.5 kB / 17.34 MB, free: 5.754 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.559/1.559, 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.04958/0.04958, allocations: 9.089 MB / 279.7 MB, free: 2.969 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.001446/0.001446, allocations: 73.62 kB / 388.1 MB, free: 47.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09021/0.09168, allocations: 48.18 MB / 436.3 MB, free: 7.766 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pd_parameter): time 0.01649/0.1082, allocations: 16.89 MB / 453.2 MB, free: 6.801 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006018/0.1143, allocations: 5.814 MB / 459 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.088e-05/0.1144, allocations: 0 / 459 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006908/0.1151, allocations: 291.8 kB / 459.3 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.678e-05/0.1152, allocations: 23.84 kB / 459.3 MB, free: 0.6602 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.01046/0.1257, allocations: 4.298 MB / 463.6 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001154/0.1258, allocations: 55.67 kB / 463.6 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.798e-05/0.1259, allocations: 4 kB / 463.7 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.355e-05/0.1259, allocations: 23.86 kB / 463.7 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.931e-05/0.126, allocations: 15.88 kB / 463.7 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.317e-06/0.126, allocations: 3.984 kB / 463.7 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01056/0.1366, allocations: 6.862 MB / 470.6 MB, free: 5.383 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.542e-05/0.1366, allocations: 7.984 kB / 470.6 MB, free: 5.375 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.471e-05/0.1367, allocations: 11.94 kB / 470.6 MB, free: 5.363 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005771/0.1424, allocations: 2.846 MB / 473.4 MB, free: 2.512 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.1425, allocations: 0 / 473.4 MB, free: 2.512 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.1425, allocations: 0 / 473.4 MB, free: 2.512 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.1425, allocations: 0 / 473.4 MB, free: 2.512 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.00147/0.144, allocations: 0.6199 MB / 474 MB, free: 1.844 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.144, allocations: 12.03 kB / 474.1 MB, free: 1.832 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.129e-05/0.1441, allocations: 3.938 kB / 474.1 MB, free: 1.828 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.1442, allocations: 163 kB / 474.2 MB, free: 1.629 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.344e-06/0.1442, allocations: 0 / 474.2 MB, free: 1.629 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.185e-05/0.1442, allocations: 8 kB / 474.2 MB, free: 1.621 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001168/0.1443, allocations: 41.69 kB / 474.3 MB, free: 1.574 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.1444, allocations: 3.984 kB / 474.3 MB, free: 1.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.1444, allocations: 3.938 kB / 474.3 MB, free: 1.566 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.1444, allocations: 4 kB / 474.3 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.547e-05/0.1444, allocations: 8 kB / 474.3 MB, free: 1.555 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001807/0.1446, allocations: 165.6 kB / 474.4 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.342e-05/0.1447, allocations: 34.58 kB / 474.5 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.557e-05/0.1447, allocations: 20.97 kB / 474.5 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01805/0.1628, allocations: 9.936 MB / 484.4 MB, free: 5.621 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.464e-05/0.1628, allocations: 38.5 kB / 484.5 MB, free: 5.574 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 2.394e-06/0.1629, allocations: 4 kB / 484.5 MB, free: 5.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002657/0.1631, allocations: 81.56 kB / 484.6 MB, free: 5.484 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.881e-05/0.1632, allocations: 51.41 kB / 484.6 MB, free: 5.422 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.726e-05/0.1633, allocations: 101.8 kB / 484.7 MB, free: 5.312 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.1633, allocations: 25.7 kB / 484.7 MB, free: 5.281 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.318e-05/0.1633, allocations: 80.14 kB / 484.8 MB, free: 5.199 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.53e-05/0.1634, allocations: 27.64 kB / 484.8 MB, free: 5.172 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.266e-05/0.1634, allocations: 13.72 kB / 484.9 MB, free: 5.152 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.1635, allocations: 319 kB / 485.2 MB, free: 4.832 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.44e-05/0.1636, allocations: 11.98 kB / 485.2 MB, free: 4.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.058e-05/0.1636, allocations: 12 kB / 485.2 MB, free: 4.809 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.041e-05/0.1637, allocations: 36.84 kB / 485.2 MB, free: 4.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.1637, allocations: 0 / 485.2 MB, free: 4.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.98e-05/0.1638, allocations: 57.69 kB / 485.3 MB, free: 4.707 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/0.1638, allocations: 13.97 kB / 485.3 MB, free: 4.695 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.1638, allocations: 0 / 485.3 MB, free: 4.695 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.1638, allocations: 3.938 kB / 485.3 MB, free: 4.691 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.92e-07/0.1638, allocations: 4.062 kB / 485.3 MB, free: 4.688 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.1639, allocations: 320 / 485.3 MB, free: 4.688 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.512e-05/0.1639, allocations: 0 / 485.3 MB, free: 4.688 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.1639, allocations: 3.938 kB / 485.3 MB, free: 4.684 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.037e-05/0.164, allocations: 114.7 kB / 485.4 MB, free: 4.562 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.213e-05/0.164, allocations: 7.844 kB / 485.4 MB, free: 4.555 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001632/0.1642, allocations: 174.8 kB / 485.6 MB, free: 4.355 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.554e-05/0.1643, allocations: 184.2 kB / 485.8 MB, free: 4.168 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.341e-05/0.1643, allocations: 176.3 kB / 485.9 MB, free: 3.988 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.347e-05/0.1644, allocations: 176.3 kB / 486.1 MB, free: 3.809 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002577/0.1647, allocations: 417.1 kB / 486.5 MB, free: 3.344 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.263e-05/0.1647, allocations: 101 kB / 486.6 MB, free: 3.238 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.493e-05/0.1648, allocations: 104.9 kB / 486.7 MB, free: 3.129 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.18e-05/0.1648, allocations: 184.2 kB / 486.9 MB, free: 2.941 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-05/0.1649, allocations: 184.3 kB / 487.1 MB, free: 2.754 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.25e-05/0.165, allocations: 180.2 kB / 487.3 MB, free: 2.57 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.348e-05/0.1651, allocations: 180.2 kB / 487.4 MB, free: 2.387 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001429/0.1652, allocations: 307.8 kB / 487.7 MB, free: 2.062 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.397e-05/0.1653, allocations: 193.9 kB / 487.9 MB, free: 1.848 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.417e-05/0.1654, allocations: 184.2 kB / 488.1 MB, free: 1.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.113e-05/0.1655, allocations: 105 kB / 488.2 MB, free: 1.551 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.416e-05/0.1656, allocations: 184.2 kB / 488.4 MB, free: 1.363 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.302e-05/0.1656, allocations: 101 kB / 488.5 MB, free: 1.258 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.253e-05/0.1657, allocations: 103.3 kB / 488.6 MB, free: 1.156 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1657, allocations: 0 / 488.6 MB, free: 1.156 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001614/0.1673, allocations: 0.5973 MB / 489.2 MB, free: 0.5586 MB / 366.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.002985/0.1703, allocations: 1.041 MB / 490.2 MB, free: 15.51 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 7.765e-05/0.1704, allocations: 16 kB / 490.2 MB, free: 15.49 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1704, allocations: 0 / 490.2 MB, free: 15.49 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.365e-06/0.1704, allocations: 0 / 490.2 MB, free: 15.49 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005441/0.171, allocations: 491.9 kB / 490.7 MB, free: 15.01 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003249/0.1713, allocations: 228.8 kB / 490.9 MB, free: 14.75 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002523/0.1716, allocations: 0.6806 MB / 491.6 MB, free: 14.04 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.832e-05/0.1716, allocations: 7.438 kB / 491.6 MB, free: 14.04 MB / 382.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1716, allocations: 4 kB / 491.6 MB, free: 14.03 MB / 382.1 MB Notification: Performance of Templates: time 0.02055/0.1922, allocations: 12.97 MB / 0.4928 GB, free: 1.055 MB / 382.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter.makefile make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_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_pd_parameterCalcHelperMain.o OMCppHelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameterCalcHelperMain.cpp In file included from OMCppHelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameterCalcHelperMain.cpp:28: ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameterFunctions.cpp:6918:32: error: use of undeclared identifier 'MM_' f_.R_s_ = division(8.3144598,MM_,!_initial,"MM"); ^ ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameterFunctions.cpp:6919:25: error: use of undeclared identifier 'MM_' f_.d_crit_ = division(MM_,2e-4,!_initial,"2e-4"); ^ ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameterFunctions.cpp:6973:32: error: use of undeclared identifier 'MM_' f_.R_s_ = division(8.3144598,MM_,!_initial,"MM"); ^ ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameterFunctions.cpp:6974:25: error: use of undeclared identifier 'MM_' f_.d_crit_ = division(MM_,2e-4,!_initial,"2e-4"); ^ 4 errors generated. make: *** [: OMCppHelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameterCalcHelperMain.o] Error 1