Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT") translateModel(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 99.59 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.001701/0.001701, allocations: 175.6 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.923/1.923, allocations: 205.4 MB / 222.8 MB, free: 5.637 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.805/1.805, allocations: 292.7 MB / 0.5505 GB, free: 14.55 MB / 462.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.0005631/0.0005632, allocations: 16.09 kB / 0.6743 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3082/0.3088, allocations: 116.3 MB / 0.7879 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.0156/0.3244, allocations: 11.98 MB / 0.7996 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.002874/0.3274, allocations: 2.44 MB / 0.802 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001221/0.3276, allocations: 4 kB / 0.802 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0002971/0.3279, allocations: 39.73 kB / 0.802 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0003151/0.3282, allocations: 79.5 kB / 0.8021 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001124/0.3293, allocations: 395.5 kB / 0.8025 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0002905/0.3296, allocations: 259.9 kB / 0.8027 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 5.33e-05/0.3297, allocations: 13.5 kB / 0.8028 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0101/0.3398, allocations: 4.367 MB / 0.807 GB, free: 8.324 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002201/0.34, allocations: 87.66 kB / 0.8071 GB, free: 8.238 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 2.579e-05/0.3401, allocations: 8 kB / 0.8071 GB, free: 8.23 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00282/0.3429, allocations: 0.9336 MB / 0.808 GB, free: 7.305 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 6.488e-05/0.343, allocations: 31.89 kB / 0.8081 GB, free: 7.273 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 8.372e-05/0.3431, allocations: 53.64 kB / 0.8081 GB, free: 7.215 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0004796/0.3435, allocations: 223.4 kB / 0.8083 GB, free: 6.996 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3436, allocations: 0 / 0.8083 GB, free: 6.996 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.472e-06/0.3436, allocations: 0 / 0.8083 GB, free: 6.996 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.3436, allocations: 4 kB / 0.8083 GB, free: 6.992 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007433/0.3443, allocations: 475 kB / 0.8088 GB, free: 6.48 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.3444, allocations: 8.031 kB / 0.8088 GB, free: 6.473 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001447/0.3445, allocations: 19.81 kB / 0.8088 GB, free: 6.453 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002572/0.3448, allocations: 210.8 kB / 0.809 GB, free: 6.207 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.282e-05/0.3448, allocations: 20.33 kB / 0.809 GB, free: 6.188 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.496e-05/0.3449, allocations: 16 kB / 0.809 GB, free: 6.172 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003952/0.3453, allocations: 251.9 kB / 0.8093 GB, free: 5.906 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.3453, allocations: 0 / 0.8093 GB, free: 5.906 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.594e-05/0.3453, allocations: 11.97 kB / 0.8093 GB, free: 5.895 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.122e-05/0.3453, allocations: 11.95 kB / 0.8093 GB, free: 5.883 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004919/0.3458, allocations: 423.5 kB / 0.8097 GB, free: 5.469 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001198/0.3471, allocations: 0.9643 MB / 0.8106 GB, free: 4.414 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002608/0.3473, allocations: 155.7 kB / 0.8108 GB, free: 4.25 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001094/0.3474, allocations: 64.17 kB / 0.8109 GB, free: 4.188 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001555/0.349, allocations: 1.829 MB / 0.8126 GB, free: 2 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/0.3491, allocations: 34.56 kB / 0.8127 GB, free: 1.957 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=15): time 6.242e-06/0.3491, allocations: 0 / 0.8127 GB, free: 1.957 MB / 0.6231 GB Notification: Performance of matching and sorting (n=15): time 0.0003538/0.3494, allocations: 152 kB / 0.8128 GB, free: 1.805 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.267e-05/0.3495, allocations: 59.41 kB / 0.8129 GB, free: 1.734 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001635/0.3497, allocations: 171.2 kB / 0.813 GB, free: 1.559 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.373e-05/0.3497, allocations: 25.7 kB / 0.8131 GB, free: 1.527 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 9.406e-05/0.3498, allocations: 139.8 kB / 0.8132 GB, free: 1.387 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.862e-05/0.3498, allocations: 47.3 kB / 0.8132 GB, free: 1.34 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.468e-06/0.3499, allocations: 4 kB / 0.8132 GB, free: 1.336 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.35, allocations: 330.8 kB / 0.8136 GB, free: 1.004 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.532e-05/0.3501, allocations: 35.98 kB / 0.8136 GB, free: 0.9688 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001496/0.3502, allocations: 137.7 kB / 0.8137 GB, free: 0.7852 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.518e-05/0.3503, allocations: 55.92 kB / 0.8138 GB, free: 0.7305 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.3504, allocations: 11.95 kB / 0.8138 GB, free: 0.7188 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003286/0.3507, allocations: 209.1 kB / 0.814 GB, free: 0.5078 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/0.3507, allocations: 8 kB / 0.814 GB, free: 0.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.3507, allocations: 480 / 0.814 GB, free: 0.5 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.199e-05/0.3508, allocations: 12 kB / 0.814 GB, free: 500 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001893/0.351, allocations: 55.91 kB / 0.8141 GB, free: 444 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.351, allocations: 4 kB / 0.8141 GB, free: 440 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/0.3511, allocations: 39.56 kB / 0.8141 GB, free: 400 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.832e-05/0.3511, allocations: 8 kB / 0.8141 GB, free: 392 kB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 initialization (30): * Single equations (assignments): 29 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * 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.0001196/0.3513, allocations: 141.8 kB / 0.8143 GB, free: 240 kB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.152e-05/0.3513, allocations: 19.77 kB / 0.8143 GB, free: 220 kB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003015/0.3516, allocations: 154.2 kB / 0.8144 GB, free: 68 kB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.096e-05/0.3516, allocations: 4 kB / 0.8144 GB, free: 64 kB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.3516, allocations: 0 / 0.8144 GB, free: 64 kB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.3517, allocations: 0 / 0.8144 GB, free: 64 kB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000285/0.3519, allocations: 221.4 kB / 0.8146 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.352, allocations: 0 / 0.8146 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.838e-05/0.352, allocations: 31.88 kB / 0.8147 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.3521, allocations: 0 / 0.8147 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.3521, allocations: 4 kB / 0.8147 GB, free: 15.76 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.852e-05/0.3521, allocations: 7.984 kB / 0.8147 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3521, allocations: 0 / 0.8147 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002308/0.3523, allocations: 215.3 kB / 0.8149 GB, free: 15.53 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/0.3525, allocations: 108.9 kB / 0.815 GB, free: 15.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.797e-05/0.3525, allocations: 3.953 kB / 0.815 GB, free: 15.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001623/0.3527, allocations: 23.92 kB / 0.815 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.514e-05/0.3527, allocations: 7.984 kB / 0.815 GB, free: 15.37 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.531e-05/0.3527, allocations: 11.98 kB / 0.815 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0001068/0.3528, allocations: 127.9 kB / 0.8151 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3528, allocations: 0 / 0.8151 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0003946/0.3532, allocations: 75.92 kB / 0.8152 GB, free: 15.16 MB / 0.6387 GB 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 (15): * Single equations (assignments): 14 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * 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.0003035/0.3536, allocations: 163.1 kB / 0.8154 GB, free: 14.99 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0002231/0.3538, allocations: 119.8 kB / 0.8155 GB, free: 14.87 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3538, allocations: 0 / 0.8155 GB, free: 14.87 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 6.416e-05/0.3539, allocations: 47.86 kB / 0.8155 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004969/0.3544, allocations: 55.98 kB / 0.8156 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007671/0.3552, allocations: 449.1 kB / 0.816 GB, free: 14.3 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000348/0.3555, allocations: 0.7133 MB / 0.8167 GB, free: 13.56 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.627e-05/0.3556, allocations: 31.42 kB / 0.8167 GB, free: 13.53 MB / 0.6387 GB Notification: Performance of SimCode: time 1.894e-06/0.3556, allocations: 0 / 0.8167 GB, free: 13.53 MB / 0.6387 GB Notification: Performance of Templates: time 0.005798/0.3614, allocations: 3.324 MB / 0.82 GB, free: 10.22 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.makefile make -j1 -f Buildings_8_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.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 OMCppBuildings_8_Buildings.Media.Specialized.Water.Examples.WaterProperties_pTCalcHelperMain.o OMCppBuildings_8_Buildings.Media.Specialized.Water.Examples.WaterProperties_pTCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Media.Specialized.Water.Examples.WaterProperties_pTCalcHelperMain.o] Error 1