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.00124/0.00124, allocations: 101.7 kB / 15.98 MB, free: 6.359 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.001453/0.001454, allocations: 199.1 kB / 16.91 MB, free: 6.191 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.414/1.414, allocations: 205.1 MB / 222.8 MB, free: 4.699 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.0442/0.0442, allocations: 9.089 MB / 279.2 MB, free: 12.34 MB / 238.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.001323/0.001324, allocations: 63.91 kB / 338.2 MB, free: 25.78 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1081, allocations: 48.17 MB / 386.3 MB, free: 9.578 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_Ts_parameter): time 0.02108/0.1292, allocations: 16.88 MB / 403.2 MB, free: 8.617 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001972/0.1313, allocations: 1.861 MB / 405.1 MB, free: 6.75 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.707e-05/0.1313, allocations: 0 / 405.1 MB, free: 6.75 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006561/0.132, allocations: 256.1 kB / 405.3 MB, free: 6.5 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 3.748e-05/0.1321, allocations: 31.84 kB / 405.4 MB, free: 6.469 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007497/0.1396, allocations: 2.56 MB / 407.9 MB, free: 3.906 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.878e-05/0.1397, allocations: 55.73 kB / 408 MB, free: 3.852 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.054e-05/0.1397, allocations: 7.969 kB / 408 MB, free: 3.844 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.864e-05/0.1398, allocations: 23.88 kB / 408 MB, free: 3.82 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.849e-05/0.1399, allocations: 15.94 kB / 408 MB, free: 3.805 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.704e-06/0.1399, allocations: 0 / 408 MB, free: 3.805 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007139/0.147, allocations: 4.943 MB / 413 MB, free: 14.85 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.845e-05/0.1471, allocations: 3.938 kB / 413 MB, free: 14.84 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.883e-05/0.1471, allocations: 11.94 kB / 413 MB, free: 14.83 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001926/0.1491, allocations: 1.037 MB / 414 MB, free: 13.79 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1491, allocations: 3.938 kB / 414 MB, free: 13.79 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1491, allocations: 4 kB / 414 MB, free: 13.79 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.1491, allocations: 0 / 414 MB, free: 13.79 MB / 318.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.0008917/0.15, allocations: 0.4952 MB / 414.5 MB, free: 13.24 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.153e-05/0.1501, allocations: 12.03 kB / 414.5 MB, free: 13.23 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.838e-05/0.1501, allocations: 4 kB / 414.5 MB, free: 13.23 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.1503, allocations: 174.9 kB / 414.7 MB, free: 13.02 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.1503, allocations: 0 / 414.7 MB, free: 13.02 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.205e-05/0.1503, allocations: 0 / 414.7 MB, free: 13.02 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001227/0.1505, allocations: 41.69 kB / 414.7 MB, free: 12.97 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.1505, allocations: 4 kB / 414.7 MB, free: 12.96 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.1505, allocations: 3.984 kB / 414.8 MB, free: 12.96 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.1505, allocations: 0 / 414.8 MB, free: 12.96 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.734e-05/0.1505, allocations: 11.98 kB / 414.8 MB, free: 12.95 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002104/0.1507, allocations: 169.5 kB / 414.9 MB, free: 12.73 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.773e-05/0.1508, allocations: 34.52 kB / 415 MB, free: 12.69 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.792e-05/0.1508, allocations: 20.89 kB / 415 MB, free: 12.67 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2616/0.4125, allocations: 19.35 MB / 434.3 MB, free: 40.37 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.1e-05/0.4126, allocations: 36.23 kB / 434.4 MB, free: 40.33 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 2.905e-06/0.4126, allocations: 0 / 434.4 MB, free: 40.33 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002757/0.4128, allocations: 73.5 kB / 434.4 MB, free: 40.3 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.082e-05/0.4129, allocations: 51.41 kB / 434.5 MB, free: 40.24 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.746e-05/0.413, allocations: 105.7 kB / 434.6 MB, free: 40.14 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.229e-05/0.413, allocations: 25.7 kB / 434.6 MB, free: 40.11 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.807e-05/0.413, allocations: 81.23 kB / 434.7 MB, free: 40.03 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.639e-05/0.4131, allocations: 22.78 kB / 434.7 MB, free: 40.02 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-05/0.4131, allocations: 18.17 kB / 434.7 MB, free: 40.01 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.411e-05/0.4132, allocations: 320.6 kB / 435 MB, free: 39.7 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.433e-05/0.4132, allocations: 9.797 kB / 435.1 MB, free: 39.7 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.329e-05/0.4133, allocations: 10.67 kB / 435.1 MB, free: 39.7 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.765e-05/0.4133, allocations: 38.95 kB / 435.1 MB, free: 39.69 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.4133, allocations: 0 / 435.1 MB, free: 39.69 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.238e-05/0.4134, allocations: 61.05 kB / 435.2 MB, free: 39.65 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.715e-05/0.4135, allocations: 5.266 kB / 435.2 MB, free: 39.65 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.95e-05/0.4135, allocations: 3.062 kB / 435.2 MB, free: 39.65 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/0.4135, allocations: 3.188 kB / 435.2 MB, free: 39.65 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.725e-06/0.4135, allocations: 0.8906 kB / 435.2 MB, free: 39.65 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.4136, allocations: 2.281 kB / 435.2 MB, free: 39.65 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.524e-05/0.4136, allocations: 0 / 435.2 MB, free: 39.65 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.657e-06/0.4136, allocations: 4.406 kB / 435.2 MB, free: 39.65 MB / 318.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.575e-05/0.4137, allocations: 113.5 kB / 435.3 MB, free: 39.54 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.049e-05/0.4137, allocations: 1.953 kB / 435.3 MB, free: 39.54 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001866/0.4139, allocations: 173 kB / 435.5 MB, free: 39.37 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.662e-05/0.414, allocations: 185.6 kB / 435.6 MB, free: 39.19 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.587e-05/0.414, allocations: 178.2 kB / 435.8 MB, free: 39.01 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.231e-05/0.4141, allocations: 182.3 kB / 436 MB, free: 38.83 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002439/0.4144, allocations: 423.2 kB / 436.4 MB, free: 38.38 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.769e-05/0.4144, allocations: 104.5 kB / 436.5 MB, free: 38.27 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.208e-05/0.4144, allocations: 106.8 kB / 436.6 MB, free: 38.17 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.947e-05/0.4145, allocations: 191.5 kB / 436.8 MB, free: 37.98 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-05/0.4146, allocations: 178.1 kB / 437 MB, free: 37.8 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.023e-05/0.4146, allocations: 182.1 kB / 437.2 MB, free: 37.62 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.805e-05/0.4147, allocations: 178.7 kB / 437.3 MB, free: 37.44 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001469/0.4149, allocations: 316.9 kB / 437.6 MB, free: 37.12 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.663e-05/0.415, allocations: 180.6 kB / 437.8 MB, free: 36.93 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.754e-05/0.415, allocations: 183.7 kB / 438 MB, free: 36.74 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.58e-05/0.4151, allocations: 106.2 kB / 438.1 MB, free: 36.64 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.08e-05/0.4152, allocations: 180.6 kB / 438.3 MB, free: 36.46 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.367e-05/0.4152, allocations: 106.7 kB / 438.4 MB, free: 36.35 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.859e-05/0.4153, allocations: 98.56 kB / 438.5 MB, free: 36.27 MB / 318.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4153, allocations: 0 / 438.5 MB, free: 36.27 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002071/0.4173, allocations: 386.4 kB / 438.9 MB, free: 36.27 MB / 318.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.002008/0.4194, allocations: 0.7225 MB / 439.6 MB, free: 36.04 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001016/0.4195, allocations: 22.81 kB / 439.6 MB, free: 36.03 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.4195, allocations: 4.062 kB / 439.6 MB, free: 36.03 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.543e-06/0.4195, allocations: 0 / 439.6 MB, free: 36.03 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004651/0.42, allocations: 489.6 kB / 440.1 MB, free: 35.58 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003306/0.4203, allocations: 243.6 kB / 440.3 MB, free: 35.36 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001485/0.4205, allocations: 0.6763 MB / 441 MB, free: 34.66 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.466e-05/0.4205, allocations: 10.12 kB / 441 MB, free: 34.65 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4205, allocations: 0 / 441 MB, free: 34.65 MB / 318.1 MB Notification: Performance of Templates: time 0.02234/0.4428, allocations: 9.387 MB / 450.4 MB, free: 31 MB / 318.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++14 -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:5090:32: error: use of undeclared identifier 'MM_' f_.R_s_ = division(8.3144598,MM_,!_initial,"MM"); ^ ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameterFunctions.cpp:5091:25: error: use of undeclared identifier 'MM_' f_.d_crit_ = division(MM_,0.0002,!_initial,"0.0002"); ^ 2 errors generated. make: *** [: OMCppHelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameterCalcHelperMain.o] Error 1