Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 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.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_9_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.001075/0.001076, 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.001472/0.001472, allocations: 175.6 kB / 16.58 MB, free: 6.863 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.513/1.513, allocations: 223.2 MB / 240.6 MB, free: 5.281 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.533/2.533, allocations: 390.4 MB / 0.6662 GB, free: 2.859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003758/0.0003758, allocations: 12 kB / 0.8154 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8909/0.8913, allocations: 142.3 MB / 0.9544 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1756/1.067, allocations: 122.6 MB / 1.074 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0002067/1.067, allocations: 59.75 kB / 1.074 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.354e-05/1.067, allocations: 3.938 kB / 1.074 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001363/1.067, allocations: 0 / 1.074 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.508e-05/1.068, allocations: 11.92 kB / 1.074 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001071/1.069, allocations: 187.2 kB / 1.074 GB, free: 4.93 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000107/1.069, allocations: 51.81 kB / 1.074 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.71e-05/1.069, allocations: 0 / 1.074 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.571e-05/1.069, allocations: 15.92 kB / 1.074 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.033e-05/1.069, allocations: 11.98 kB / 1.074 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.12e-05/1.069, allocations: 0 / 1.074 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004216/1.069, allocations: 171.5 kB / 1.075 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.863e-05/1.069, allocations: 3.984 kB / 1.075 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.014e-05/1.07, allocations: 33.7 kB / 1.075 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002164/1.07, allocations: 97.83 kB / 1.075 GB, free: 4.547 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/1.07, allocations: 0 / 1.075 GB, free: 4.547 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.834e-06/1.07, allocations: 0 / 1.075 GB, free: 4.547 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.929e-06/1.07, allocations: 0 / 1.075 GB, free: 4.547 MB / 0.8262 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.0004507/1.07, allocations: 360.6 kB / 1.075 GB, free: 4.148 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/1.07, allocations: 12.03 kB / 1.075 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.216e-05/1.07, allocations: 3.953 kB / 1.075 GB, free: 4.133 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/1.07, allocations: 159.1 kB / 1.075 GB, free: 3.938 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.562e-05/1.071, allocations: 37.7 kB / 1.075 GB, free: 3.895 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.205e-05/1.071, allocations: 3.984 kB / 1.075 GB, free: 3.891 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001426/1.071, allocations: 41.62 kB / 1.075 GB, free: 3.844 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/1.071, allocations: 3.984 kB / 1.075 GB, free: 3.84 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/1.071, allocations: 0 / 1.075 GB, free: 3.84 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.672e-05/1.071, allocations: 15.94 kB / 1.075 GB, free: 3.824 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.037e-05/1.071, allocations: 8 kB / 1.075 GB, free: 3.816 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009078/1.072, allocations: 0.5951 MB / 1.076 GB, free: 3.098 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.199e-05/1.072, allocations: 26.5 kB / 1.076 GB, free: 3.062 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.908e-05/1.072, allocations: 8.922 kB / 1.076 GB, free: 3.051 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002225/1.072, allocations: 336.3 kB / 1.076 GB, free: 2.648 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.109e-05/1.072, allocations: 34.52 kB / 1.076 GB, free: 2.605 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/1.072, allocations: 4 kB / 1.076 GB, free: 2.602 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0001604/1.072, allocations: 33.7 kB / 1.076 GB, free: 2.562 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/1.072, allocations: 55.41 kB / 1.076 GB, free: 2.496 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.584e-05/1.072, allocations: 101.8 kB / 1.076 GB, free: 2.387 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/1.072, allocations: 29.64 kB / 1.077 GB, free: 2.352 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.864e-05/1.073, allocations: 88.05 kB / 1.077 GB, free: 2.262 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 9.708e-06/1.073, allocations: 7.844 kB / 1.077 GB, free: 2.254 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.876e-06/1.073, allocations: 0 / 1.077 GB, free: 2.254 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001434/1.073, allocations: 323 kB / 1.077 GB, free: 1.93 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.464e-05/1.073, allocations: 0 / 1.077 GB, free: 1.93 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.817e-05/1.073, allocations: 21.66 kB / 1.077 GB, free: 1.902 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.176e-05/1.073, allocations: 4 kB / 1.077 GB, free: 1.898 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/1.073, allocations: 0 / 1.077 GB, free: 1.898 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.825e-05/1.073, allocations: 45.69 kB / 1.077 GB, free: 1.848 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/1.073, allocations: 11.95 kB / 1.077 GB, free: 1.836 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/1.073, allocations: 8 kB / 1.077 GB, free: 1.828 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/1.073, allocations: 0 / 1.077 GB, free: 1.828 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.051e-05/1.073, allocations: 7.984 kB / 1.077 GB, free: 1.82 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/1.073, allocations: 0 / 1.077 GB, free: 1.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.696e-05/1.073, allocations: 4 kB / 1.077 GB, free: 1.816 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-06/1.073, allocations: 0 / 1.077 GB, free: 1.816 MB / 0.8262 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 9.918e-05/1.073, allocations: 109.8 kB / 1.077 GB, free: 1.699 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.533e-05/1.073, allocations: 4 kB / 1.077 GB, free: 1.695 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001422/1.073, allocations: 128.8 kB / 1.077 GB, free: 1.555 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.263e-05/1.073, allocations: 180.2 kB / 1.077 GB, free: 1.371 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.021e-05/1.073, allocations: 176.3 kB / 1.078 GB, free: 1.191 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.351e-05/1.074, allocations: 184.2 kB / 1.078 GB, free: 1.004 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002566/1.074, allocations: 401.2 kB / 1.078 GB, free: 0.5547 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.934e-05/1.074, allocations: 109 kB / 1.078 GB, free: 452 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.768e-05/1.074, allocations: 108.9 kB / 1.078 GB, free: 336 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.491e-05/1.074, allocations: 184.2 kB / 1.079 GB, free: 144 kB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.546e-05/1.074, allocations: 180.2 kB / 1.079 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.868e-05/1.074, allocations: 188.2 kB / 1.079 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.713e-05/1.074, allocations: 180.2 kB / 1.079 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001618/1.074, allocations: 307.8 kB / 1.079 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.764e-05/1.075, allocations: 182 kB / 1.08 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001273/1.075, allocations: 180.3 kB / 1.08 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001571/1.075, allocations: 112.9 kB / 1.08 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.148e-05/1.075, allocations: 188.2 kB / 1.08 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.79e-05/1.075, allocations: 105 kB / 1.08 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.758e-05/1.075, allocations: 83.27 kB / 1.08 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/1.075, allocations: 0 / 1.08 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003325/1.075, allocations: 55.94 kB / 1.08 GB, free: 14.32 MB / 0.8419 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.0003731/1.076, allocations: 258.5 kB / 1.08 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 8.343e-05/1.076, allocations: 8.312 kB / 1.08 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/1.076, allocations: 4 kB / 1.08 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.914e-06/1.076, allocations: 3.938 kB / 1.08 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005377/1.076, allocations: 0.5226 MB / 1.081 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003374/1.077, allocations: 213.5 kB / 1.081 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003363/1.077, allocations: 0.677 MB / 1.082 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.177e-05/1.077, allocations: 11.38 kB / 1.082 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of SimCode: time 2e-07/1.077, allocations: 0 / 1.082 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of Templates: time 0.002937/1.08, allocations: 1.213 MB / 1.083 GB, free: 11.35 MB / 0.8419 GB make -j1 -f Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.makefile make -j1 -f Buildings_9_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_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversionCalcHelperMain.o OMCppBuildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversionCalcHelperMain.o] Error 1