Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.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.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000999/0.0009989, allocations: 100.5 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.001154/0.001154, allocations: 175.3 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.491/1.491, allocations: 223.2 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.785/2.785, allocations: 436.7 MB / 0.7113 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003968/0.0003968, allocations: 11.94 kB / 0.8717 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9931/0.9935, allocations: 153.7 MB / 1.022 GB, free: 1.184 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1547/1.148, allocations: 122.5 MB / 1.141 GB, free: 6.293 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001519/1.148, allocations: 55.88 kB / 1.141 GB, free: 6.238 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.476e-05/1.148, allocations: 0 / 1.141 GB, free: 6.238 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001035/1.149, allocations: 0 / 1.141 GB, free: 6.238 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.652e-05/1.149, allocations: 7.938 kB / 1.141 GB, free: 6.23 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007811/1.149, allocations: 199.1 kB / 1.142 GB, free: 6.035 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 8.589e-05/1.15, allocations: 43.89 kB / 1.142 GB, free: 5.992 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.995e-05/1.15, allocations: 7.984 kB / 1.142 GB, free: 5.984 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 3.697e-05/1.15, allocations: 11.94 kB / 1.142 GB, free: 5.973 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.272e-05/1.15, allocations: 11.98 kB / 1.142 GB, free: 5.961 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.313e-05/1.15, allocations: 0 / 1.142 GB, free: 5.961 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000375/1.15, allocations: 159.6 kB / 1.142 GB, free: 5.805 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.871e-05/1.15, allocations: 11.92 kB / 1.142 GB, free: 5.793 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.598e-05/1.15, allocations: 29.7 kB / 1.142 GB, free: 5.758 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001995/1.15, allocations: 97.81 kB / 1.142 GB, free: 5.664 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/1.15, allocations: 7.828 kB / 1.142 GB, free: 5.66 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.713e-06/1.15, allocations: 0 / 1.142 GB, free: 5.66 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.669e-06/1.15, allocations: 0 / 1.142 GB, free: 5.66 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004272/1.151, allocations: 352.8 kB / 1.142 GB, free: 5.27 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/1.151, allocations: 11.98 kB / 1.142 GB, free: 5.258 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.949e-05/1.151, allocations: 4 kB / 1.142 GB, free: 5.254 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/1.151, allocations: 159.1 kB / 1.142 GB, free: 5.059 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.814e-05/1.151, allocations: 29.66 kB / 1.143 GB, free: 5.023 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.141e-05/1.151, allocations: 8 kB / 1.143 GB, free: 5.016 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001295/1.151, allocations: 45.67 kB / 1.143 GB, free: 4.965 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/1.151, allocations: 0 / 1.143 GB, free: 4.965 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/1.151, allocations: 0 / 1.143 GB, free: 4.965 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.876e-05/1.151, allocations: 3.938 kB / 1.143 GB, free: 4.961 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.793e-05/1.151, allocations: 15.98 kB / 1.143 GB, free: 4.945 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008266/1.152, allocations: 0.6028 MB / 1.143 GB, free: 4.219 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 3.472e-05/1.152, allocations: 18.58 kB / 1.143 GB, free: 4.191 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.657e-05/1.152, allocations: 4.859 kB / 1.143 GB, free: 4.184 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002154/1.153, allocations: 336.5 kB / 1.144 GB, free: 3.781 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.608e-05/1.153, allocations: 34.5 kB / 1.144 GB, free: 3.738 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=1): time 1.222e-06/1.153, allocations: 0 / 1.144 GB, free: 3.738 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1): time 0.0001569/1.153, allocations: 37.8 kB / 1.144 GB, free: 3.695 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.868e-05/1.153, allocations: 55.44 kB / 1.144 GB, free: 3.629 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.504e-05/1.153, allocations: 101.8 kB / 1.144 GB, free: 3.52 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.799e-05/1.153, allocations: 29.7 kB / 1.144 GB, free: 3.484 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.427e-05/1.153, allocations: 84.14 kB / 1.144 GB, free: 3.398 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 8.836e-06/1.153, allocations: 11.78 kB / 1.144 GB, free: 3.387 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.355e-06/1.153, allocations: 0 / 1.144 GB, free: 3.387 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001375/1.153, allocations: 318.8 kB / 1.144 GB, free: 3.066 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.495e-05/1.153, allocations: 8 kB / 1.144 GB, free: 3.059 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.582e-05/1.153, allocations: 21.66 kB / 1.144 GB, free: 3.031 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.911e-05/1.153, allocations: 4 kB / 1.144 GB, free: 3.027 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.238e-05/1.153, allocations: 3.984 kB / 1.144 GB, free: 3.023 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.991e-05/1.153, allocations: 45.64 kB / 1.144 GB, free: 2.973 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/1.153, allocations: 4 kB / 1.144 GB, free: 2.969 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/1.153, allocations: 4 kB / 1.144 GB, free: 2.965 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/1.153, allocations: 288 / 1.144 GB, free: 2.965 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.238e-05/1.153, allocations: 15.98 kB / 1.144 GB, free: 2.949 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/1.153, allocations: 0 / 1.144 GB, free: 2.949 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.589e-05/1.153, allocations: 0 / 1.144 GB, free: 2.949 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/1.153, allocations: 4 kB / 1.144 GB, free: 2.945 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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 7.882e-05/1.154, allocations: 113.8 kB / 1.144 GB, free: 2.824 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.526e-05/1.154, allocations: 7.984 kB / 1.144 GB, free: 2.816 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001304/1.154, allocations: 120.9 kB / 1.144 GB, free: 2.691 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.218e-05/1.154, allocations: 184.2 kB / 1.145 GB, free: 2.504 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.237e-05/1.154, allocations: 180.3 kB / 1.145 GB, free: 2.32 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.818e-05/1.154, allocations: 180.2 kB / 1.145 GB, free: 2.137 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002642/1.154, allocations: 409.2 kB / 1.145 GB, free: 1.68 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-05/1.154, allocations: 105 kB / 1.146 GB, free: 1.57 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.444e-05/1.154, allocations: 112.9 kB / 1.146 GB, free: 1.453 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.402e-05/1.154, allocations: 180.3 kB / 1.146 GB, free: 1.27 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.804e-05/1.155, allocations: 180.2 kB / 1.146 GB, free: 1.086 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.765e-05/1.155, allocations: 176.3 kB / 1.146 GB, free: 0.9062 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.156e-05/1.155, allocations: 180.3 kB / 1.146 GB, free: 0.7227 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001601/1.155, allocations: 311.8 kB / 1.147 GB, free: 404 kB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 9.644e-05/1.155, allocations: 186 kB / 1.147 GB, free: 192 kB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.412e-05/1.155, allocations: 180.2 kB / 1.147 GB, free: 4 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001805/1.155, allocations: 113 kB / 1.147 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.254e-05/1.155, allocations: 184.2 kB / 1.147 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.007e-05/1.155, allocations: 105 kB / 1.147 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.511e-05/1.155, allocations: 83.22 kB / 1.147 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.365e-06/1.155, allocations: 0 / 1.147 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000312/1.156, allocations: 63.86 kB / 1.147 GB, free: 15.45 MB / 0.9044 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 (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0003246/1.156, allocations: 242.4 kB / 1.148 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 6.912e-05/1.156, allocations: 15.94 kB / 1.148 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/1.156, allocations: 0 / 1.148 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.493e-06/1.156, allocations: 0 / 1.148 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004506/1.157, allocations: 0.5264 MB / 1.148 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002779/1.157, allocations: 213.5 kB / 1.148 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003006/1.157, allocations: 0.6731 MB / 1.149 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.815e-05/1.157, allocations: 7.438 kB / 1.149 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of SimCode: time 2.4e-07/1.157, allocations: 0 / 1.149 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of Templates: time 0.002986/1.16, allocations: 1.209 MB / 1.15 GB, free: 12.5 MB / 0.9044 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.makefile make -j1 -f Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.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.SteamTemperatureEnthalpyInversionCalcHelperMain.o OMCppBuildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversionCalcHelperMain.o] Error 1