Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001041/0.001041, allocations: 102.7 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.0009952/0.0009955, allocations: 175 kB / 16.58 MB, free: 6.07 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.508/1.508, allocations: 223.2 MB / 240.6 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.769/2.769, allocations: 436.7 MB / 0.7113 GB, free: 7.781 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004132/0.0004132, allocations: 8 kB / 0.8717 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8281/0.8285, allocations: 153.7 MB / 1.022 GB, free: 1.062 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.004785/0.8334, allocations: 4.2 MB / 1.026 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002595/0.836, allocations: 2.498 MB / 1.028 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.633e-05/0.8361, allocations: 7.938 kB / 1.028 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002141/0.8363, allocations: 27.81 kB / 1.028 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002281/0.8365, allocations: 91.48 kB / 1.028 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009886/0.8375, allocations: 414.6 kB / 1.029 GB, free: 9.809 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002512/0.8378, allocations: 263.9 kB / 1.029 GB, free: 9.551 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.591e-05/0.8378, allocations: 13.56 kB / 1.029 GB, free: 9.535 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001909/0.838, allocations: 107.6 kB / 1.029 GB, free: 9.43 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001351/0.8382, allocations: 91.66 kB / 1.029 GB, free: 9.34 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.02e-05/0.8382, allocations: 4 kB / 1.029 GB, free: 9.336 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005402/0.8388, allocations: 267.4 kB / 1.029 GB, free: 9.074 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.669e-05/0.8388, allocations: 35.88 kB / 1.03 GB, free: 9.039 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.476e-05/0.8389, allocations: 53.64 kB / 1.03 GB, free: 8.98 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003053/0.8392, allocations: 221.5 kB / 1.03 GB, free: 8.766 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.8392, allocations: 4 kB / 1.03 GB, free: 8.762 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.493e-06/0.8392, allocations: 0 / 1.03 GB, free: 8.762 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.8392, allocations: 0 / 1.03 GB, free: 8.762 MB / 0.7794 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.0006391/0.8399, allocations: 476.8 kB / 1.03 GB, free: 8.246 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.8399, allocations: 11.98 kB / 1.03 GB, free: 8.234 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001374/0.8401, allocations: 23.8 kB / 1.03 GB, free: 8.211 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002186/0.8403, allocations: 214.8 kB / 1.03 GB, free: 7.961 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.8403, allocations: 12.33 kB / 1.03 GB, free: 7.949 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.57e-05/0.8403, allocations: 19.98 kB / 1.03 GB, free: 7.93 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003496/0.8407, allocations: 248 kB / 1.031 GB, free: 7.668 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.8407, allocations: 0 / 1.031 GB, free: 7.668 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.406e-05/0.8407, allocations: 8 kB / 1.031 GB, free: 7.66 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.371e-05/0.8408, allocations: 4 kB / 1.031 GB, free: 7.656 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005099/0.8413, allocations: 427.3 kB / 1.031 GB, free: 7.238 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001107/0.8424, allocations: 0.9527 MB / 1.032 GB, free: 6.195 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002594/0.8427, allocations: 156.7 kB / 1.032 GB, free: 6.035 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.8428, allocations: 60.88 kB / 1.032 GB, free: 5.973 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001359/0.8442, allocations: 1.829 MB / 1.034 GB, free: 3.785 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/0.8442, allocations: 46.44 kB / 1.034 GB, free: 3.73 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=15): time 1.092e-06/0.8442, allocations: 0 / 1.034 GB, free: 3.73 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15): time 0.0002877/0.8445, allocations: 144.3 kB / 1.034 GB, free: 3.586 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.467e-05/0.8445, allocations: 55.36 kB / 1.034 GB, free: 3.52 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001505/0.8447, allocations: 171.2 kB / 1.034 GB, free: 3.34 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.811e-05/0.8447, allocations: 33.7 kB / 1.035 GB, free: 3.301 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.542e-05/0.8448, allocations: 139.8 kB / 1.035 GB, free: 3.16 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.82e-05/0.8449, allocations: 51.25 kB / 1.035 GB, free: 3.109 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.057e-06/0.8449, allocations: 8 kB / 1.035 GB, free: 3.102 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.845, allocations: 330.8 kB / 1.035 GB, free: 2.77 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.553e-05/0.8451, allocations: 35.97 kB / 1.035 GB, free: 2.734 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001354/0.8452, allocations: 137.6 kB / 1.035 GB, free: 2.551 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.4e-05/0.8453, allocations: 59.92 kB / 1.035 GB, free: 2.492 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.8453, allocations: 0 / 1.035 GB, free: 2.492 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00031/0.8457, allocations: 201.7 kB / 1.035 GB, free: 2.289 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.8457, allocations: 12.03 kB / 1.035 GB, free: 2.277 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.8457, allocations: 11.94 kB / 1.035 GB, free: 2.266 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.8457, allocations: 4 kB / 1.035 GB, free: 2.262 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001694/0.8459, allocations: 59.91 kB / 1.036 GB, free: 2.203 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.341e-05/0.8459, allocations: 11.89 kB / 1.036 GB, free: 2.191 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000106/0.846, allocations: 27.69 kB / 1.036 GB, free: 2.164 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.737e-05/0.846, allocations: 12 kB / 1.036 GB, free: 2.152 MB / 0.7794 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.0001071/0.8462, allocations: 133.7 kB / 1.036 GB, free: 2.012 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.304e-05/0.8462, allocations: 23.8 kB / 1.036 GB, free: 1.988 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002772/0.8465, allocations: 157.4 kB / 1.036 GB, free: 1.836 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.734e-06/0.8465, allocations: 0 / 1.036 GB, free: 1.836 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.8465, allocations: 0 / 1.036 GB, free: 1.836 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.902e-06/0.8465, allocations: 3.953 kB / 1.036 GB, free: 1.832 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002622/0.8468, allocations: 213.6 kB / 1.036 GB, free: 1.574 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.8468, allocations: 0 / 1.036 GB, free: 1.574 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.241e-05/0.8469, allocations: 27.92 kB / 1.036 GB, free: 1.547 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.8469, allocations: 0 / 1.036 GB, free: 1.547 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.8469, allocations: 12 kB / 1.036 GB, free: 1.535 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.8469, allocations: 0 / 1.036 GB, free: 1.535 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.847, allocations: 0 / 1.036 GB, free: 1.535 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002295/0.8472, allocations: 219.2 kB / 1.036 GB, free: 1.305 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.043e-05/0.8473, allocations: 116.8 kB / 1.036 GB, free: 1.172 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.188e-05/0.8473, allocations: 0 / 1.036 GB, free: 1.172 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001827/0.8475, allocations: 23.98 kB / 1.036 GB, free: 1.148 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.331e-05/0.8475, allocations: 7.984 kB / 1.036 GB, free: 1.141 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.055e-05/0.8476, allocations: 15.94 kB / 1.036 GB, free: 1.125 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.38e-05/0.8477, allocations: 116.9 kB / 1.037 GB, free: 1.012 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8477, allocations: 0 / 1.037 GB, free: 1.012 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003768/0.848, allocations: 75.98 kB / 1.037 GB, free: 0.9375 MB / 0.7794 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.0002763/0.8483, allocations: 179 kB / 1.037 GB, free: 0.7539 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002073/0.8485, allocations: 110.5 kB / 1.037 GB, free: 0.6484 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.8486, allocations: 0 / 1.037 GB, free: 0.6484 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.479e-05/0.8486, allocations: 47.91 kB / 1.037 GB, free: 0.6016 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004627/0.8491, allocations: 56.8 kB / 1.037 GB, free: 0.5469 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007181/0.8498, allocations: 461 kB / 1.037 GB, free: 56 kB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003434/0.8502, allocations: 0.7172 MB / 1.038 GB, free: 15.31 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.342e-05/0.8502, allocations: 35.42 kB / 1.038 GB, free: 15.28 MB / 0.795 GB Notification: Performance of SimCode: time 2.1e-07/0.8503, allocations: 0 / 1.038 GB, free: 15.28 MB / 0.795 GB Notification: Performance of Templates: time 0.0054/0.8557, allocations: 3.088 MB / 1.041 GB, free: 12.21 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.WaterProperties.makefile make -j1 -f Buildings_latest_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_latest_Buildings.Media.Examples.WaterPropertiesCalcHelperMain.o OMCppBuildings_latest_Buildings.Media.Examples.WaterPropertiesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Media.Examples.WaterPropertiesCalcHelperMain.o] Error 1