Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState.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.SinglePhase_setState,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState") translateModel(HelmholtzMedia.Examples.Parameter.SinglePhase_setState,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008007/0.0008008, allocations: 100.5 kB / 15.71 MB, free: 452 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009442/0.0009442, allocations: 176.5 kB / 16.58 MB, free: 6.879 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.502/1.502, allocations: 205.4 MB / 222.8 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04493/0.04493, allocations: 9.07 MB / 280.1 MB, free: 12.26 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.0004975/0.0004976, allocations: 15.98 kB / 339.8 MB, free: 26 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09262/0.09313, allocations: 49.2 MB / 389 MB, free: 8.758 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.SinglePhase_setState): time 0.0189/0.1121, allocations: 17 MB / 406 MB, free: 7.68 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01651/0.1286, allocations: 15.41 MB / 421.4 MB, free: 8.238 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001579/0.1289, allocations: 0 / 421.4 MB, free: 8.238 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007042/0.1296, allocations: 238.9 kB / 421.6 MB, free: 8.004 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002431/0.1298, allocations: 95.41 kB / 421.7 MB, free: 7.91 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01793/0.1478, allocations: 5.445 MB / 427.1 MB, free: 2.461 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003706/0.1482, allocations: 234.7 kB / 427.4 MB, free: 2.23 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.123e-05/0.1482, allocations: 13.11 kB / 427.4 MB, free: 2.219 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002317/0.1485, allocations: 99.53 kB / 427.5 MB, free: 2.121 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001391/0.1486, allocations: 55.73 kB / 427.5 MB, free: 2.066 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.398e-05/0.1487, allocations: 8 kB / 427.5 MB, free: 2.059 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2452/0.3938, allocations: 8.118 MB / 435.7 MB, free: 19.58 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.364e-05/0.3939, allocations: 12.77 kB / 435.7 MB, free: 19.58 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000161/0.3941, allocations: 51.77 kB / 435.7 MB, free: 19.55 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007598/0.4017, allocations: 2.543 MB / 438.3 MB, free: 19.45 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.047e-06/0.4018, allocations: 1.312 kB / 438.3 MB, free: 19.45 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.4018, allocations: 0 / 438.3 MB, free: 19.45 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.725e-06/0.4018, allocations: 0.625 kB / 438.3 MB, free: 19.45 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.00239/0.4042, allocations: 0.9431 MB / 439.2 MB, free: 18.81 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.4042, allocations: 7.031 kB / 439.2 MB, free: 18.81 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.311e-05/0.4043, allocations: 13.27 kB / 439.2 MB, free: 18.8 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.4044, allocations: 177.3 kB / 439.4 MB, free: 18.6 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/0.4045, allocations: 10.94 kB / 439.4 MB, free: 18.6 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.49e-05/0.4045, allocations: 1.625 kB / 439.4 MB, free: 18.6 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002454/0.4047, allocations: 110.7 kB / 439.5 MB, free: 18.57 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.4048, allocations: 0.5 kB / 439.5 MB, free: 18.57 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.4048, allocations: 1.797 kB / 439.5 MB, free: 18.57 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.763e-05/0.4048, allocations: 16.3 kB / 439.5 MB, free: 18.56 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001171/0.4049, allocations: 77.2 kB / 439.6 MB, free: 18.56 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003041/0.4052, allocations: 250.5 kB / 439.9 MB, free: 18.36 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002093/0.4054, allocations: 119.8 kB / 440 MB, free: 18.34 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001848/0.4056, allocations: 110.5 kB / 440.1 MB, free: 18.33 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1295/0.5352, allocations: 91.21 MB / 0.5188 GB, free: 3.07 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.731e-05/0.5353, allocations: 34.12 kB / 0.5189 GB, free: 3.031 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 2.755e-06/0.5353, allocations: 0 / 0.5189 GB, free: 3.031 MB / 398.1 MB Notification: Performance of matching and sorting (n=42): time 0.000561/0.5359, allocations: 324.9 kB / 0.5192 GB, free: 2.805 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.755e-05/0.5359, allocations: 59.41 kB / 0.5192 GB, free: 2.734 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.223e-05/0.536, allocations: 97.09 kB / 0.5193 GB, free: 2.633 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.536, allocations: 25.7 kB / 0.5194 GB, free: 2.602 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.74e-05/0.5361, allocations: 88.39 kB / 0.5194 GB, free: 2.512 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001151/0.5362, allocations: 122.3 kB / 0.5196 GB, free: 2.406 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.9e-06/0.5362, allocations: 0 / 0.5196 GB, free: 2.406 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.5364, allocations: 332.7 kB / 0.5199 GB, free: 2.082 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.907e-05/0.5365, allocations: 73.41 kB / 0.52 GB, free: 2.039 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.885e-05/0.5366, allocations: 88 kB / 0.52 GB, free: 1.992 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001246/0.5367, allocations: 91.62 kB / 0.5201 GB, free: 1.938 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.5367, allocations: 0 / 0.5201 GB, free: 1.938 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004454/0.5372, allocations: 229.1 kB / 0.5203 GB, free: 1.773 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.72e-05/0.5372, allocations: 6.656 kB / 0.5203 GB, free: 1.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.5372, allocations: 0 / 0.5203 GB, free: 1.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.5372, allocations: 0 / 0.5203 GB, free: 1.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.492e-06/0.5373, allocations: 5.031 kB / 0.5204 GB, free: 1.766 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.5373, allocations: 0 / 0.5204 GB, free: 1.766 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001279/0.5374, allocations: 11.75 kB / 0.5204 GB, free: 1.754 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.171e-05/0.5374, allocations: 11.62 kB / 0.5204 GB, free: 1.746 MB / 398.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: 6 (state.phase,state_dT.phase,state_pd.phase,state_ph.phase,state_ps.phase,state_Ts.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001395/0.5376, allocations: 123.9 kB / 0.5205 GB, free: 1.625 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.82e-05/0.5376, allocations: 15.89 kB / 0.5205 GB, free: 1.609 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005455/0.5382, allocations: 375.5 kB / 0.5209 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.891e-05/0.5382, allocations: 13.42 kB / 0.5209 GB, free: 1.312 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.5382, allocations: 0 / 0.5209 GB, free: 1.312 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.5382, allocations: 0 / 0.5209 GB, free: 1.312 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002743/0.5385, allocations: 239.6 kB / 0.5211 GB, free: 1.055 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.5385, allocations: 0 / 0.5211 GB, free: 1.055 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.292e-06/0.5385, allocations: 4 kB / 0.5211 GB, free: 1.051 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.5385, allocations: 0 / 0.5211 GB, free: 1.051 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.5386, allocations: 4 kB / 0.5211 GB, free: 1.047 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.5386, allocations: 1.219 kB / 0.5211 GB, free: 1.047 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.5386, allocations: 3.891 kB / 0.5211 GB, free: 1.047 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002545/0.5388, allocations: 216.2 kB / 0.5213 GB, free: 0.875 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/0.5389, allocations: 109.1 kB / 0.5214 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.027e-05/0.539, allocations: 0 / 0.5214 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.937e-05/0.539, allocations: 4 kB / 0.5214 GB, free: 0.75 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.961e-05/0.539, allocations: 0.5625 kB / 0.5214 GB, free: 0.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.105e-06/0.539, allocations: 7.562 kB / 0.5214 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.349e-05/0.5391, allocations: 101.9 kB / 0.5215 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5391, allocations: 0 / 0.5215 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003778/0.5429, allocations: 1.088 MB / 0.5226 GB, free: 15.59 MB / 414.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: 5 (state_dT.phase,state_pd.phase,state_ph.phase,state_ps.phase,state_Ts.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006512/0.5494, allocations: 1.618 MB / 0.5242 GB, free: 14.18 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002685/0.5497, allocations: 174.2 kB / 0.5243 GB, free: 14.09 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/0.5497, allocations: 3.812 kB / 0.5244 GB, free: 14.09 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.356e-05/0.5498, allocations: 83.44 kB / 0.5244 GB, free: 14.04 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007008/0.5505, allocations: 120.9 kB / 0.5245 GB, free: 13.94 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006183/0.5512, allocations: 378.2 kB / 0.5249 GB, free: 13.57 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003387/0.5515, allocations: 0.713 MB / 0.5256 GB, free: 12.83 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.855e-05/0.5515, allocations: 15.72 kB / 0.5256 GB, free: 12.82 MB / 414.1 MB Notification: Performance of SimCode: time 5.81e-07/0.5515, allocations: 0 / 0.5256 GB, free: 12.82 MB / 414.1 MB Notification: Performance of Templates: time 0.0372/0.5888, allocations: 19.94 MB / 0.5451 GB, free: 9.012 MB / 430.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState.makefile make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppHelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setStateCalcHelperMain.o OMCppHelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setStateCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setStateCalcHelperMain.o] Error 1