Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Media.Examples.WaterProperties.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.Examples.WaterProperties,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.Examples.WaterProperties") translateModel(Buildings.Media.Examples.WaterProperties,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.Examples.WaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 99.98 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.001477/0.001477, allocations: 178.6 kB / 16.58 MB, free: 6.422 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.587/1.587, allocations: 223.2 MB / 240.6 MB, free: 5.418 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.667/2.667, allocations: 390.5 MB / 0.6662 GB, free: 2.926 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000462/0.000462, allocations: 8 kB / 0.8154 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.956/0.9564, allocations: 142.3 MB / 0.9544 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.005021/0.9615, allocations: 4.209 MB / 0.9585 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002525/0.9641, allocations: 2.484 MB / 0.9609 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001076/0.9642, allocations: 1.344 kB / 0.9609 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002987/0.9645, allocations: 40.67 kB / 0.961 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002843/0.9648, allocations: 82.11 kB / 0.961 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001207/0.966, allocations: 412.5 kB / 0.9614 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000309/0.9664, allocations: 262 kB / 0.9617 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.366e-05/0.9664, allocations: 12.44 kB / 0.9617 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002179/0.9666, allocations: 117.3 kB / 0.9618 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001619/0.9668, allocations: 82.23 kB / 0.9619 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.776e-05/0.9669, allocations: 6.875 kB / 0.9619 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006447/0.9675, allocations: 268.2 kB / 0.9622 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.355e-05/0.9676, allocations: 34.67 kB / 0.9622 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.887e-05/0.9677, allocations: 52.89 kB / 0.9622 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004081/0.9681, allocations: 216 kB / 0.9624 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.9681, allocations: 1.188 kB / 0.9624 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.487e-06/0.9681, allocations: 4 kB / 0.9625 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.521e-06/0.9681, allocations: 3.938 kB / 0.9625 GB, free: 1.738 MB / 0.7169 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.0007797/0.9689, allocations: 473.8 kB / 0.9629 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.9689, allocations: 9.406 kB / 0.9629 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001728/0.9691, allocations: 28.8 kB / 0.9629 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001998/0.9693, allocations: 207.9 kB / 0.9631 GB, free: 1.035 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.029e-05/0.9694, allocations: 11.02 kB / 0.9632 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.821e-05/0.9694, allocations: 14.03 kB / 0.9632 GB, free: 1.027 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003811/0.9698, allocations: 252.8 kB / 0.9634 GB, free: 0.8477 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.9698, allocations: 0 / 0.9634 GB, free: 0.8477 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.568e-05/0.9698, allocations: 11.05 kB / 0.9634 GB, free: 0.8398 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.601e-05/0.9699, allocations: 5.844 kB / 0.9634 GB, free: 0.8398 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00055/0.9704, allocations: 432 kB / 0.9638 GB, free: 0.6445 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001111/0.9715, allocations: 0.9427 MB / 0.9648 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003105/0.9719, allocations: 164.1 kB / 0.9649 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001202/0.972, allocations: 66.25 kB / 0.965 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001677/0.9737, allocations: 1.827 MB / 0.9668 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.57e-05/0.9737, allocations: 38.06 kB / 0.9668 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 1.312e-06/0.9737, allocations: 4 kB / 0.9668 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.0003746/0.9741, allocations: 144.4 kB / 0.9669 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.772e-05/0.9742, allocations: 53.91 kB / 0.967 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002064/0.9744, allocations: 174.2 kB / 0.9672 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.885e-05/0.9744, allocations: 28.17 kB / 0.9672 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/0.9746, allocations: 138.9 kB / 0.9673 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.993e-05/0.9746, allocations: 55.34 kB / 0.9674 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.334e-06/0.9746, allocations: 0 / 0.9674 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001752/0.9748, allocations: 334.8 kB / 0.9677 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.087e-05/0.9749, allocations: 31.8 kB / 0.9677 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001805/0.9751, allocations: 140.8 kB / 0.9678 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001197/0.9752, allocations: 58.58 kB / 0.9679 GB, free: 12.44 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.9752, allocations: 1.188 kB / 0.9679 GB, free: 12.44 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003386/0.9756, allocations: 206.8 kB / 0.9681 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.9756, allocations: 9.5 kB / 0.9681 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.9756, allocations: 3.844 kB / 0.9681 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.179e-05/0.9757, allocations: 5.844 kB / 0.9681 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001907/0.9758, allocations: 57.16 kB / 0.9682 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.847e-05/0.9759, allocations: 12.61 kB / 0.9682 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001216/0.976, allocations: 33.38 kB / 0.9682 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.474e-05/0.976, allocations: 14.47 kB / 0.9682 GB, free: 12.27 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.0001271/0.9762, allocations: 141.3 kB / 0.9684 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.455e-05/0.9762, allocations: 23.47 kB / 0.9684 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003211/0.9765, allocations: 150.3 kB / 0.9685 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.186e-05/0.9766, allocations: 2.469 kB / 0.9685 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.9766, allocations: 0 / 0.9685 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.9766, allocations: 0 / 0.9685 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002743/0.9769, allocations: 218.7 kB / 0.9687 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.9769, allocations: 0 / 0.9687 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001052/0.977, allocations: 31.42 kB / 0.9688 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.977, allocations: 1.031 kB / 0.9688 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.977, allocations: 9.125 kB / 0.9688 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.977, allocations: 1.688 kB / 0.9688 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.977, allocations: 0 / 0.9688 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002716/0.9773, allocations: 226.1 kB / 0.969 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.591e-05/0.9774, allocations: 117.6 kB / 0.9691 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.422e-05/0.9774, allocations: 1 kB / 0.9691 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001961/0.9776, allocations: 24.77 kB / 0.9691 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.956e-05/0.9777, allocations: 9.578 kB / 0.9691 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.564e-05/0.9777, allocations: 13.92 kB / 0.9692 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001119/0.9778, allocations: 124.1 kB / 0.9693 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9778, allocations: 3.938 kB / 0.9693 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005231/0.9784, allocations: 73.19 kB / 0.9694 GB, free: 11.32 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.0003138/0.9787, allocations: 168.2 kB / 0.9695 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000232/0.9789, allocations: 114.6 kB / 0.9696 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.9789, allocations: 4.938 kB / 0.9696 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 8.24e-05/0.979, allocations: 44.19 kB / 0.9697 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004856/0.9795, allocations: 58.39 kB / 0.9697 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008487/0.9804, allocations: 450.4 kB / 0.9702 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003511/0.9807, allocations: 0.7127 MB / 0.9709 GB, free: 10.06 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.229e-05/0.9808, allocations: 31.86 kB / 0.9709 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of SimCode: time 3.51e-07/0.9808, allocations: 0 / 0.9709 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of Templates: time 0.006384/0.9872, allocations: 3.095 MB / 0.9739 GB, free: 8.461 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Media.Examples.WaterProperties.makefile make -j1 -f Buildings_9_Buildings.Media.Examples.WaterProperties.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.Examples.WaterPropertiesCalcHelperMain.o OMCppBuildings_9_Buildings.Media.Examples.WaterPropertiesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Media.Examples.WaterPropertiesCalcHelperMain.o] Error 1