Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.SteamProperties.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.SteamProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddhp|ddph|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.SteamProperties") translateModel(Buildings.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddhp|ddph|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.SteamProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001102/0.001102, 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.001593/0.001593, allocations: 174.4 kB / 16.58 MB, free: 6.359 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.514/1.514, allocations: 223.3 MB / 240.6 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.687/2.687, allocations: 436.7 MB / 0.7114 GB, free: 7.785 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003625/0.0003625, allocations: 8 kB / 0.8717 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8299/0.8303, allocations: 153.6 MB / 1.022 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1428/0.9731, allocations: 123.2 MB / 1.142 GB, free: 5.555 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02613/0.9993, allocations: 21.4 MB / 1.163 GB, free: 108 kB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001785/0.9995, allocations: 0 / 1.163 GB, free: 108 kB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0002599/0.9998, allocations: 27.81 kB / 1.163 GB, free: 80 kB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0003529/1, allocations: 87.53 kB / 1.163 GB, free: 15.99 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.01459/1.015, allocations: 5.328 MB / 1.168 GB, free: 10.68 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0004123/1.015, allocations: 271.9 kB / 1.168 GB, free: 10.42 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.812e-05/1.015, allocations: 17.53 kB / 1.168 GB, free: 10.4 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000332/1.016, allocations: 135.5 kB / 1.169 GB, free: 10.27 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001676/1.016, allocations: 87.66 kB / 1.169 GB, free: 10.18 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.485e-05/1.016, allocations: 8 kB / 1.169 GB, free: 10.18 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0233/1.039, allocations: 11.11 MB / 1.18 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001123/1.039, allocations: 35.89 kB / 1.18 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001008/1.039, allocations: 57.58 kB / 1.18 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.008549/1.048, allocations: 4.292 MB / 1.184 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/1.048, allocations: 0 / 1.184 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.034e-06/1.048, allocations: 4 kB / 1.184 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.895e-06/1.048, allocations: 0 / 1.184 GB, free: 10.65 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.003752/1.052, allocations: 1.166 MB / 1.185 GB, free: 9.434 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/1.052, allocations: 11.98 kB / 1.185 GB, free: 9.422 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001086/1.053, allocations: 91.67 kB / 1.185 GB, free: 9.332 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002569/1.053, allocations: 218.9 kB / 1.185 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/1.053, allocations: 12 kB / 1.185 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.999e-05/1.053, allocations: 12 kB / 1.185 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001054/1.054, allocations: 456.5 kB / 1.186 GB, free: 8.59 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/1.054, allocations: 7.938 kB / 1.186 GB, free: 8.582 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.6e-05/1.054, allocations: 8 kB / 1.186 GB, free: 8.574 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.457e-06/1.054, allocations: 7.953 kB / 1.186 GB, free: 8.566 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00112/1.055, allocations: 0.5931 MB / 1.186 GB, free: 7.973 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001081/1.057, allocations: 0.8783 MB / 1.187 GB, free: 7.008 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007572/1.057, allocations: 259.4 kB / 1.187 GB, free: 6.746 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001311/1.057, allocations: 75.02 kB / 1.188 GB, free: 6.672 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07778/1.135, allocations: 35.33 MB / 1.222 GB, free: 248 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.691e-05/1.135, allocations: 34.56 kB / 1.222 GB, free: 204 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=25): time 2.374e-06/1.135, allocations: 4 kB / 1.222 GB, free: 200 kB / 0.9669 GB Notification: Performance of matching and sorting (n=25): time 0.001683/1.137, allocations: 417.3 kB / 1.222 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.956e-05/1.137, allocations: 55.41 kB / 1.223 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001472/1.137, allocations: 134 kB / 1.223 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.765e-05/1.137, allocations: 29.7 kB / 1.223 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.644e-05/1.137, allocations: 112.3 kB / 1.223 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.293e-05/1.138, allocations: 90.73 kB / 1.223 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.056e-05/1.138, allocations: 4 kB / 1.223 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000113/1.138, allocations: 326.8 kB / 1.223 GB, free: 15 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001698/1.138, allocations: 79.95 kB / 1.223 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002046/1.138, allocations: 121.1 kB / 1.223 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001973/1.138, allocations: 99.19 kB / 1.223 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/1.138, allocations: 4 kB / 1.223 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006977/1.139, allocations: 297.2 kB / 1.224 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/1.139, allocations: 7.938 kB / 1.224 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/1.139, allocations: 0 / 1.224 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/1.139, allocations: 4 kB / 1.224 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002777/1.139, allocations: 79.88 kB / 1.224 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/1.139, allocations: 4 kB / 1.224 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001555/1.139, allocations: 27.91 kB / 1.224 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.86e-05/1.14, allocations: 19.98 kB / 1.224 GB, free: 14.25 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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): 30 * Array equations: 0 * 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.0001334/1.14, allocations: 137.7 kB / 1.224 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001547/1.14, allocations: 19.77 kB / 1.224 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002384/1.142, allocations: 2.339 MB / 1.226 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.776e-05/1.142, allocations: 11.98 kB / 1.226 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/1.142, allocations: 0 / 1.226 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/1.142, allocations: 0 / 1.226 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003235/1.146, allocations: 3.428 MB / 1.23 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/1.146, allocations: 0 / 1.23 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002401/1.146, allocations: 55.89 kB / 1.23 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.796e-06/1.146, allocations: 4 kB / 1.23 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.576e-05/1.146, allocations: 11.98 kB / 1.23 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/1.146, allocations: 4 kB / 1.23 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/1.146, allocations: 0 / 1.23 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007733/1.147, allocations: 0.5462 MB / 1.23 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001315/1.147, allocations: 136.6 kB / 1.23 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.828e-05/1.147, allocations: 8 kB / 1.23 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002115/1.147, allocations: 15.98 kB / 1.23 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.11e-05/1.147, allocations: 15.97 kB / 1.23 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.97e-05/1.147, allocations: 16 kB / 1.23 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.3e-05/1.147, allocations: 105.1 kB / 1.231 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/1.147, allocations: 7.938 kB / 1.231 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.005244/1.152, allocations: 1.687 MB / 1.232 GB, free: 5.555 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009672/1.162, allocations: 1.931 MB / 1.234 GB, free: 3.613 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0007749/1.163, allocations: 336 kB / 1.234 GB, free: 3.289 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/1.163, allocations: 0 / 1.234 GB, free: 3.289 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003449/1.163, allocations: 232.5 kB / 1.235 GB, free: 3.059 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006012/1.164, allocations: 68.2 kB / 1.235 GB, free: 2.992 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001254/1.165, allocations: 0.8336 MB / 1.236 GB, free: 2.129 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003221/1.166, allocations: 0.7664 MB / 1.236 GB, free: 1.336 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001574/1.166, allocations: 47.41 kB / 1.236 GB, free: 1.289 MB / 0.9825 GB Notification: Performance of SimCode: time 6.12e-07/1.166, allocations: 0 / 1.236 GB, free: 1.289 MB / 0.9825 GB Notification: Performance of Templates: time 0.7722/1.938, allocations: 32.76 MB / 1.268 GB, free: 213.9 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.SteamProperties.makefile make -j1 -f Buildings_latest_Buildings.Media.Examples.SteamProperties.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.SteamPropertiesCalcHelperMain.o OMCppBuildings_latest_Buildings.Media.Examples.SteamPropertiesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Media.Examples.SteamPropertiesCalcHelperMain.o] Error 1