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.001175/0.001175, allocations: 103.9 kB / 16.41 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.001154/0.001154, allocations: 185.6 kB / 17.34 MB, free: 5.766 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.46/1.46, 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.04636/0.04636, allocations: 9.093 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.00143/0.00143, allocations: 68.69 kB / 388.1 MB, free: 47.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07769/0.07914, allocations: 48.18 MB / 436.3 MB, free: 7.637 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pd_parameter): time 0.0159/0.09507, allocations: 16.89 MB / 453.2 MB, free: 6.672 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005725/0.1008, allocations: 5.81 MB / 459 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.97e-05/0.1009, allocations: 0 / 459 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006336/0.1016, allocations: 259.8 kB / 459.2 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.438e-05/0.1016, allocations: 23.84 kB / 459.3 MB, free: 0.5664 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.009156/0.1108, allocations: 4.111 MB / 463.4 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001031/0.1109, allocations: 51.67 kB / 463.4 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.96e-05/0.111, allocations: 4 kB / 463.4 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.323e-05/0.1111, allocations: 19.88 kB / 463.5 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.164e-05/0.1111, allocations: 15.92 kB / 463.5 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.468e-06/0.1111, allocations: 3.984 kB / 463.5 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01063/0.1218, allocations: 6.866 MB / 470.3 MB, free: 5.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.508e-05/0.1218, allocations: 4 kB / 470.3 MB, free: 5.477 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.678e-05/0.1219, allocations: 11.94 kB / 470.4 MB, free: 5.465 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005997/0.1279, allocations: 2.842 MB / 473.2 MB, free: 2.617 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.1279, allocations: 0 / 473.2 MB, free: 2.617 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.514e-06/0.1279, allocations: 0 / 473.2 MB, free: 2.617 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.128, allocations: 3.984 kB / 473.2 MB, free: 2.613 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.001233/0.1292, allocations: 0.6238 MB / 473.8 MB, free: 1.941 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.1293, allocations: 8.031 kB / 473.8 MB, free: 1.934 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.201e-05/0.1293, allocations: 7.938 kB / 473.8 MB, free: 1.926 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001215/0.1294, allocations: 159.1 kB / 474 MB, free: 1.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.458e-06/0.1294, allocations: 0 / 474 MB, free: 1.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.118e-05/0.1295, allocations: 7.984 kB / 474 MB, free: 1.723 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001196/0.1296, allocations: 41.69 kB / 474 MB, free: 1.676 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.1296, allocations: 3.938 kB / 474 MB, free: 1.672 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.1296, allocations: 3.938 kB / 474 MB, free: 1.668 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.1296, allocations: 0 / 474 MB, free: 1.668 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.683e-05/0.1297, allocations: 16 kB / 474.1 MB, free: 1.652 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001767/0.1298, allocations: 161.6 kB / 474.2 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.633e-05/0.1299, allocations: 34.64 kB / 474.3 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.6e-05/0.1299, allocations: 20.97 kB / 474.3 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01866/0.1486, allocations: 9.936 MB / 484.2 MB, free: 5.723 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.895e-05/0.1487, allocations: 38.44 kB / 484.2 MB, free: 5.676 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 2.495e-06/0.1487, allocations: 8 kB / 484.3 MB, free: 5.668 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002247/0.1489, allocations: 73.58 kB / 484.3 MB, free: 5.59 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.15e-05/0.149, allocations: 51.41 kB / 484.4 MB, free: 5.527 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.881e-05/0.1491, allocations: 105.8 kB / 484.5 MB, free: 5.414 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/0.1491, allocations: 25.7 kB / 484.5 MB, free: 5.383 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.937e-05/0.1491, allocations: 80.14 kB / 484.6 MB, free: 5.301 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.405e-05/0.1492, allocations: 19.66 kB / 484.6 MB, free: 5.281 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.381e-05/0.1492, allocations: 17.86 kB / 484.6 MB, free: 5.258 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.1493, allocations: 318.8 kB / 484.9 MB, free: 4.938 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.903e-05/0.1494, allocations: 8 kB / 484.9 MB, free: 4.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.148e-05/0.1494, allocations: 19.98 kB / 485 MB, free: 4.91 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.33e-05/0.1494, allocations: 28.8 kB / 485 MB, free: 4.879 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.1495, allocations: 0 / 485 MB, free: 4.879 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.994e-05/0.1495, allocations: 61.69 kB / 485 MB, free: 4.812 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.1496, allocations: 9.969 kB / 485.1 MB, free: 4.805 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.1496, allocations: 0 / 485.1 MB, free: 4.805 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.1496, allocations: 4 kB / 485.1 MB, free: 4.801 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.62e-07/0.1496, allocations: 4.062 kB / 485.1 MB, free: 4.797 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.1496, allocations: 3.984 kB / 485.1 MB, free: 4.793 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.174e-05/0.1496, allocations: 3.938 kB / 485.1 MB, free: 4.789 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.1497, allocations: 0 / 485.1 MB, free: 4.789 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 8.011e-05/0.1497, allocations: 112.9 kB / 485.2 MB, free: 4.672 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.054e-05/0.1498, allocations: 7.844 kB / 485.2 MB, free: 4.664 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001427/0.1499, allocations: 170.7 kB / 485.4 MB, free: 4.469 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.748e-05/0.15, allocations: 188.2 kB / 485.5 MB, free: 4.277 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.31e-05/0.15, allocations: 184.2 kB / 485.7 MB, free: 4.09 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.939e-05/0.1501, allocations: 176.3 kB / 485.9 MB, free: 3.91 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002208/0.1503, allocations: 409.2 kB / 486.3 MB, free: 3.453 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.04e-05/0.1504, allocations: 108.9 kB / 486.4 MB, free: 3.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.382e-05/0.1504, allocations: 105 kB / 486.5 MB, free: 3.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.208e-05/0.1505, allocations: 188.1 kB / 486.7 MB, free: 3.039 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-05/0.1506, allocations: 176.3 kB / 486.9 MB, free: 2.859 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.626e-05/0.1506, allocations: 184.2 kB / 487 MB, free: 2.672 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.249e-05/0.1507, allocations: 180.3 kB / 487.2 MB, free: 2.488 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001398/0.1509, allocations: 307.8 kB / 487.5 MB, free: 2.164 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.595e-05/0.1509, allocations: 186 kB / 487.7 MB, free: 1.957 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.297e-05/0.151, allocations: 192.1 kB / 487.9 MB, free: 1.762 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.57e-05/0.1511, allocations: 105 kB / 488 MB, free: 1.652 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.813e-05/0.1512, allocations: 180.2 kB / 488.2 MB, free: 1.469 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.198e-05/0.1512, allocations: 108.9 kB / 488.3 MB, free: 1.355 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.553e-05/0.1513, allocations: 103.3 kB / 488.4 MB, free: 1.254 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1513, allocations: 0 / 488.4 MB, free: 1.254 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001687/0.153, allocations: 0.5973 MB / 489 MB, free: 0.6562 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.00251/0.1555, allocations: 1.037 MB / 490 MB, free: 15.61 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.167e-05/0.1556, allocations: 19.94 kB / 490 MB, free: 15.59 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.1556, allocations: 0 / 490 MB, free: 15.59 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.877e-06/0.1556, allocations: 0 / 490 MB, free: 15.59 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005378/0.1562, allocations: 492.2 kB / 490.5 MB, free: 15.11 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003206/0.1565, allocations: 224.8 kB / 490.7 MB, free: 14.85 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000248/0.1568, allocations: 0.6806 MB / 491.4 MB, free: 14.14 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.624e-05/0.1568, allocations: 11.44 kB / 491.4 MB, free: 14.13 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1568, allocations: 4 kB / 491.4 MB, free: 14.13 MB / 382.1 MB Notification: Performance of Templates: time 0.01987/0.1767, allocations: 12.96 MB / 0.4926 GB, free: 1.16 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