Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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="mat",numberOfIntervals=5000,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT") translateModel(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_9_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.0009721/0.0009725, allocations: 102.6 kB / 15.71 MB, free: 460 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.001117/0.001117, allocations: 171.9 kB / 16.58 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 223.3 MB / 240.6 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.505/2.505, allocations: 390.4 MB / 0.6662 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003416/0.0003416, allocations: 8 kB / 0.8154 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9417/0.942, allocations: 142.3 MB / 0.9544 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01422/0.9563, allocations: 12.01 MB / 0.9661 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003635/0.96, allocations: 2.462 MB / 0.9685 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.855e-05/0.9601, allocations: 5.219 kB / 0.9685 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002281/0.9604, allocations: 27.38 kB / 0.9686 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002752/0.9607, allocations: 91.14 kB / 0.9687 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001166/0.9618, allocations: 413.7 kB / 0.9691 GB, free: 12.1 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002768/0.9621, allocations: 263.5 kB / 0.9693 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.243e-05/0.9622, allocations: 13.94 kB / 0.9693 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01056/0.9727, allocations: 4.373 MB / 0.9736 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002747/0.9731, allocations: 90.31 kB / 0.9737 GB, free: 10.22 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.622e-05/0.9731, allocations: 6.719 kB / 0.9737 GB, free: 10.22 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00304/0.9761, allocations: 0.9465 MB / 0.9746 GB, free: 9.75 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 7.065e-05/0.9762, allocations: 34.17 kB / 0.9746 GB, free: 9.727 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 8.904e-05/0.9763, allocations: 56.52 kB / 0.9747 GB, free: 9.684 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0005308/0.9769, allocations: 219.4 kB / 0.9749 GB, free: 9.566 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.9769, allocations: 0 / 0.9749 GB, free: 9.566 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.314e-06/0.9769, allocations: 0.9375 kB / 0.9749 GB, free: 9.566 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.9769, allocations: 0 / 0.9749 GB, free: 9.566 MB / 0.7325 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.0008287/0.9777, allocations: 473.6 kB / 0.9754 GB, free: 9.113 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.9778, allocations: 9.25 kB / 0.9754 GB, free: 9.113 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001635/0.978, allocations: 29.39 kB / 0.9754 GB, free: 9.098 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002599/0.9782, allocations: 215.3 kB / 0.9756 GB, free: 8.859 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/0.9783, allocations: 18.98 kB / 0.9756 GB, free: 8.848 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.479e-05/0.9783, allocations: 13.78 kB / 0.9756 GB, free: 8.844 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000414/0.9787, allocations: 245.1 kB / 0.9759 GB, free: 8.672 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.9787, allocations: 0 / 0.9759 GB, free: 8.672 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.141e-05/0.9788, allocations: 14.89 kB / 0.9759 GB, free: 8.66 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.982e-05/0.9788, allocations: 13.77 kB / 0.9759 GB, free: 8.652 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005772/0.9794, allocations: 431.9 kB / 0.9763 GB, free: 8.457 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001331/0.9807, allocations: 0.9626 MB / 0.9772 GB, free: 7.516 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000397/0.9811, allocations: 161.3 kB / 0.9774 GB, free: 7.438 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001214/0.9813, allocations: 61.47 kB / 0.9775 GB, free: 7.406 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001558/0.9828, allocations: 1.831 MB / 0.9792 GB, free: 5.305 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.207e-05/0.9829, allocations: 37.38 kB / 0.9793 GB, free: 5.262 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 1.522e-06/0.9829, allocations: 0 / 0.9793 GB, free: 5.262 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.0003475/0.9832, allocations: 144.3 kB / 0.9794 GB, free: 5.184 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.896e-05/0.9833, allocations: 57.53 kB / 0.9795 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001656/0.9835, allocations: 170.4 kB / 0.9796 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.452e-05/0.9835, allocations: 28.42 kB / 0.9797 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/0.9836, allocations: 142.8 kB / 0.9798 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.186e-05/0.9837, allocations: 54.02 kB / 0.9798 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.388e-06/0.9837, allocations: 8.969 kB / 0.9799 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.9838, allocations: 326.1 kB / 0.9802 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.933e-05/0.9839, allocations: 37.03 kB / 0.9802 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001452/0.984, allocations: 139.9 kB / 0.9803 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001069/0.9842, allocations: 58.77 kB / 0.9804 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.9842, allocations: 1.031 kB / 0.9804 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003343/0.9845, allocations: 204.8 kB / 0.9806 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.9845, allocations: 7.188 kB / 0.9806 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.9846, allocations: 2.844 kB / 0.9806 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.9846, allocations: 6.344 kB / 0.9806 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001931/0.9848, allocations: 56.66 kB / 0.9807 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.452e-05/0.9848, allocations: 8.906 kB / 0.9807 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000124/0.9849, allocations: 29.72 kB / 0.9807 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.399e-05/0.985, allocations: 15 kB / 0.9807 GB, free: 4.082 MB / 0.7325 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.0001252/0.9851, allocations: 137.6 kB / 0.9808 GB, free: 3.941 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.328e-05/0.9851, allocations: 17.09 kB / 0.9809 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003478/0.9855, allocations: 163.8 kB / 0.981 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/0.9855, allocations: 5.344 kB / 0.981 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.9855, allocations: 1.312 kB / 0.981 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.9855, allocations: 0 / 0.981 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002913/0.9858, allocations: 217.9 kB / 0.9812 GB, free: 3.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.9858, allocations: 0 / 0.9812 GB, free: 3.59 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.353e-05/0.9859, allocations: 32.3 kB / 0.9813 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.986, allocations: 0 / 0.9813 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.986, allocations: 2.688 kB / 0.9813 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.986, allocations: 0 / 0.9813 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.986, allocations: 1.344 kB / 0.9813 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000289/0.9863, allocations: 225.5 kB / 0.9815 GB, free: 3.398 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/0.9864, allocations: 113.5 kB / 0.9816 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.805e-05/0.9864, allocations: 5.25 kB / 0.9816 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001954/0.9866, allocations: 20.61 kB / 0.9816 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.944e-05/0.9867, allocations: 16.2 kB / 0.9816 GB, free: 3.254 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.551e-05/0.9867, allocations: 11 kB / 0.9816 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001146/0.9868, allocations: 124.3 kB / 0.9818 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.9868, allocations: 0 / 0.9818 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004535/0.9873, allocations: 73.91 kB / 0.9818 GB, free: 3.137 MB / 0.7325 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.0003062/0.9876, allocations: 179.9 kB / 0.982 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002481/0.9879, allocations: 119.3 kB / 0.9821 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.9879, allocations: 5.219 kB / 0.9821 GB, free: 2.953 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 6.992e-05/0.9879, allocations: 47.67 kB / 0.9822 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004883/0.9884, allocations: 51.91 kB / 0.9822 GB, free: 2.867 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007975/0.9892, allocations: 460.1 kB / 0.9826 GB, free: 2.387 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004108/0.9897, allocations: 0.7094 MB / 0.9833 GB, free: 1.652 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.548e-05/0.9897, allocations: 31.42 kB / 0.9834 GB, free: 1.621 MB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/0.9897, allocations: 0 / 0.9834 GB, free: 1.621 MB / 0.7325 GB Notification: Performance of Templates: time 0.006886/0.9966, allocations: 3.359 MB / 0.9866 GB, free: 14.28 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.makefile make -j1 -f Buildings_9_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_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pTCalcHelperMain.o OMCppBuildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pTCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pTCalcHelperMain.o] Error 1