Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph.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.MediaTestModels.R134a_ASHRAE_TestModel_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph") translateModel(HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008216/0.0008217, allocations: 99.36 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.0009294/0.0009295, allocations: 178 kB / 16.58 MB, free: 6.422 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.521/1.521, allocations: 205.4 MB / 222.8 MB, free: 5.629 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04314/0.04314, allocations: 9.066 MB / 280.1 MB, free: 12.25 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.0005056/0.0005057, allocations: 16 kB / 339.8 MB, free: 26 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1085, allocations: 49.19 MB / 389 MB, free: 8.766 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph): time 0.3326/0.4412, allocations: 120.7 MB / 0.4977 GB, free: 15.46 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.3592/0.8004, allocations: 103.9 MB / 0.5992 GB, free: 10.35 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006253/0.8011, allocations: 5.844 kB / 0.5992 GB, free: 10.35 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0026/0.8037, allocations: 1.072 MB / 0.6002 GB, free: 10.35 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003181/0.8069, allocations: 1.324 MB / 0.6015 GB, free: 10.34 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.06617/0.8731, allocations: 22.46 MB / 0.6234 GB, free: 9.961 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002538/0.8757, allocations: 1.57 MB / 0.625 GB, free: 9.961 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002296/0.8759, allocations: 87.56 kB / 0.6251 GB, free: 9.949 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01701/0.8929, allocations: 8.815 MB / 0.6337 GB, free: 8.711 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005124/0.8935, allocations: 367.4 kB / 0.634 GB, free: 8.582 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.463e-05/0.8935, allocations: 18.09 kB / 0.634 GB, free: 8.582 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.05547/0.949, allocations: 27.58 MB / 0.661 GB, free: 12.21 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002875/0.9493, allocations: 93.72 kB / 0.6611 GB, free: 12.14 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004139/0.9498, allocations: 142.9 kB / 0.6612 GB, free: 12.03 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02184/0.9716, allocations: 8.568 MB / 0.6696 GB, free: 5.195 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.027e-06/0.9717, allocations: 1.875 kB / 0.6696 GB, free: 5.195 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.165e-06/0.9717, allocations: 0 / 0.6696 GB, free: 5.195 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.037e-06/0.9717, allocations: 3 kB / 0.6696 GB, free: 5.195 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.007041/0.9787, allocations: 2.488 MB / 0.672 GB, free: 2.754 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.9788, allocations: 8.031 kB / 0.672 GB, free: 2.746 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005497/0.9793, allocations: 95.41 kB / 0.6721 GB, free: 2.656 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003857/0.9797, allocations: 331.1 kB / 0.6724 GB, free: 2.348 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.04e-05/0.9798, allocations: 23.41 kB / 0.6724 GB, free: 2.336 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.354e-05/0.9798, allocations: 40.22 kB / 0.6725 GB, free: 2.309 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001174/0.981, allocations: 0.6096 MB / 0.6731 GB, free: 1.863 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/0.9811, allocations: 3.953 kB / 0.6731 GB, free: 1.859 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.724e-05/0.9811, allocations: 15.44 kB / 0.6731 GB, free: 1.855 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.107e-05/0.9811, allocations: 21.77 kB / 0.6731 GB, free: 1.84 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001167/0.9823, allocations: 0.5719 MB / 0.6737 GB, free: 1.434 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002428/0.9847, allocations: 2.548 MB / 0.6762 GB, free: 15.05 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001021/0.9858, allocations: 0.5191 MB / 0.6767 GB, free: 14.72 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005162/0.9863, allocations: 348.4 kB / 0.677 GB, free: 14.52 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4356/1.422, allocations: 135.8 MB / 0.8096 GB, free: 278.1 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.063e-05/1.422, allocations: 39.95 kB / 0.8097 GB, free: 278.1 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=79): time 2.895e-06/1.422, allocations: 0.625 kB / 0.8097 GB, free: 278.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=83): time 0.006092/1.428, allocations: 2.403 MB / 0.812 GB, free: 277.6 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.275e-05/1.428, allocations: 57 kB / 0.8121 GB, free: 277.5 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002741/1.428, allocations: 253.4 kB / 0.8123 GB, free: 277.4 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.84e-05/1.428, allocations: 32.7 kB / 0.8123 GB, free: 277.3 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/1.429, allocations: 186.4 kB / 0.8125 GB, free: 277.2 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001479/1.429, allocations: 271.5 kB / 0.8128 GB, free: 277 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.831e-05/1.429, allocations: 6.375 kB / 0.8128 GB, free: 277 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001108/1.429, allocations: 352.7 kB / 0.8131 GB, free: 276.7 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004842/1.429, allocations: 285.3 kB / 0.8134 GB, free: 276.7 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00052/1.43, allocations: 404.7 kB / 0.8138 GB, free: 276.5 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005493/1.43, allocations: 332.5 kB / 0.8141 GB, free: 276.4 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-06/1.43, allocations: 1.062 kB / 0.8141 GB, free: 276.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001349/1.432, allocations: 0.8129 MB / 0.8149 GB, free: 276 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/1.432, allocations: 6.031 kB / 0.8149 GB, free: 276 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/1.432, allocations: 6.125 kB / 0.8149 GB, free: 276 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002445/1.432, allocations: 63.7 kB / 0.815 GB, free: 276 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003946/1.433, allocations: 105.3 kB / 0.8151 GB, free: 275.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07773/1.51, allocations: 22.69 MB / 0.8372 GB, free: 260.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005717/1.511, allocations: 57.61 kB / 0.8373 GB, free: 260.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.006e-05/1.511, allocations: 20 kB / 0.8373 GB, free: 260.8 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 9 (ambient.medium.state.phase,ambient.medium.sat.liq.phase,ambient.medium.sat.vap.phase,volume.medium.state.phase,volume.medium.sat.liq.phase,volume.medium.sat.vap.phase,fixedMassFlowRate.medium.state.phase,fixedMassFlowRate.medium.sat.liq.phase,fixedMassFlowRate.medium.sat.vap.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000281/1.511, allocations: 189.7 kB / 0.8375 GB, free: 260.6 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.562e-05/1.511, allocations: 47.39 kB / 0.8375 GB, free: 260.6 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001541/1.513, allocations: 1.585 MB / 0.8391 GB, free: 258.9 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.377e-05/1.513, allocations: 10.81 kB / 0.8391 GB, free: 258.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/1.513, allocations: 4 kB / 0.8391 GB, free: 258.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001068/1.514, allocations: 1.162 MB / 0.8402 GB, free: 257.6 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001752/1.516, allocations: 1.62 MB / 0.8418 GB, free: 256 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-06/1.516, allocations: 0 / 0.8418 GB, free: 256 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002976/1.516, allocations: 83.97 kB / 0.8419 GB, free: 255.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002115/1.516, allocations: 48.75 kB / 0.8419 GB, free: 255.8 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.264e-05/1.516, allocations: 15.94 kB / 0.8419 GB, free: 255.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007172/1.517, allocations: 1.328 MB / 0.8432 GB, free: 254.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/1.517, allocations: 7.078 kB / 0.8432 GB, free: 254.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001436/1.518, allocations: 1.217 MB / 0.8444 GB, free: 253.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.28e-05/1.519, allocations: 140.5 kB / 0.8446 GB, free: 253 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.757e-05/1.519, allocations: 7.953 kB / 0.8446 GB, free: 253 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003049/1.519, allocations: 58.27 kB / 0.8446 GB, free: 252.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.616e-05/1.519, allocations: 43.92 kB / 0.8447 GB, free: 252.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.18e-05/1.519, allocations: 19.94 kB / 0.8447 GB, free: 252.8 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000183/1.519, allocations: 243 kB / 0.8449 GB, free: 252.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/1.519, allocations: 4 kB / 0.8449 GB, free: 252.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.007789/1.527, allocations: 3.18 MB / 0.848 GB, free: 249.8 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 9 ($cse8.phase,$cse9.phase,volume.medium.state.phase,volume.medium.sat.liq.phase,volume.medium.sat.vap.phase,fixedMassFlowRate.medium.state.phase,fixedMassFlowRate.medium.sat.liq.phase,fixedMassFlowRate.medium.sat.vap.phase,ambient.medium.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.011/1.538, allocations: 4.113 MB / 0.852 GB, free: 246.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001329/1.539, allocations: 0.9536 MB / 0.853 GB, free: 245.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/1.539, allocations: 0 / 0.853 GB, free: 245.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005618/1.54, allocations: 0.4913 MB / 0.8535 GB, free: 244.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001336/1.541, allocations: 330 kB / 0.8538 GB, free: 244.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001469/1.543, allocations: 1.418 MB / 0.8552 GB, free: 243 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002296/1.543, allocations: 0.8486 MB / 0.856 GB, free: 242.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.794e-05/1.543, allocations: 47.42 kB / 0.856 GB, free: 242 MB / 0.5762 GB Notification: Performance of SimCode: time 2.5e-07/1.543, allocations: 0 / 0.856 GB, free: 242 MB / 0.5762 GB Notification: Performance of Templates: time 0.1008/1.644, allocations: 76.39 MB / 0.9306 GB, free: 165.5 MB / 0.5762 GB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph.makefile make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph.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.MediaTestModels.R134a_ASHRAE_TestModel_phCalcHelperMain.o OMCppHelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_phCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_phCalcHelperMain.o] Error 1