Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002115/0.002115, allocations: 100.1 kB / 15.88 MB, free: 12 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.002634/0.002634, allocations: 197.8 kB / 16.79 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 2.476/2.476, allocations: 222.9 MB / 240.5 MB, free: 4.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002298/0.002298, allocations: 282.8 kB / 290.9 MB, free: 2.062 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.493/1.493, allocations: 169.2 MB / 0.4983 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002809/0.002809, allocations: 87.36 kB / 0.5951 GB, free: 28.26 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3398/0.3426, allocations: 86.99 MB / 0.6801 GB, free: 1.188 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion): time 1.147/1.49, allocations: 133.3 MB / 0.8103 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0003008/1.49, allocations: 55.08 kB / 0.8103 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.984e-05/1.49, allocations: 0 / 0.8103 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001846/1.49, allocations: 6.031 kB / 0.8103 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001117/1.491, allocations: 13.31 kB / 0.8103 GB, free: 2.195 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001384/1.492, allocations: 216.6 kB / 0.8105 GB, free: 2.16 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001654/1.492, allocations: 54.27 kB / 0.8106 GB, free: 2.156 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 7.131e-05/1.492, allocations: 12.03 kB / 0.8106 GB, free: 2.156 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.708e-05/1.492, allocations: 15.75 kB / 0.8106 GB, free: 2.148 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001292/1.492, allocations: 18.11 kB / 0.8106 GB, free: 2.148 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.105e-05/1.492, allocations: 0 / 0.8106 GB, free: 2.148 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008114/1.493, allocations: 244.2 kB / 0.8109 GB, free: 2.121 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.911e-05/1.493, allocations: 12.11 kB / 0.8109 GB, free: 2.121 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.952e-05/1.493, allocations: 12.2 kB / 0.8109 GB, free: 2.121 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003793/1.494, allocations: 131.3 kB / 0.811 GB, free: 2.109 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/1.494, allocations: 0 / 0.811 GB, free: 2.109 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.302e-06/1.494, allocations: 0 / 0.811 GB, free: 2.109 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.04e-05/1.494, allocations: 3.375 kB / 0.811 GB, free: 2.109 MB / 0.5606 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.000728/1.495, allocations: 359.2 kB / 0.8114 GB, free: 17.74 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.528e-05/1.495, allocations: 7.344 kB / 0.8114 GB, free: 17.74 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.143e-05/1.495, allocations: 3.719 kB / 0.8114 GB, free: 17.74 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002167/1.495, allocations: 163.8 kB / 0.8115 GB, free: 17.55 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001107/1.495, allocations: 32.33 kB / 0.8116 GB, free: 17.52 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.865e-05/1.495, allocations: 7.922 kB / 0.8116 GB, free: 17.51 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002259/1.495, allocations: 39.66 kB / 0.8116 GB, free: 17.48 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/1.495, allocations: 0 / 0.8116 GB, free: 17.48 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.705e-05/1.495, allocations: 6.438 kB / 0.8116 GB, free: 17.47 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.006e-05/1.496, allocations: 5.547 kB / 0.8116 GB, free: 17.47 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.761e-05/1.496, allocations: 17.27 kB / 0.8116 GB, free: 17.47 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00126/1.497, allocations: 0.6001 MB / 0.8122 GB, free: 16.82 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 5.857e-05/1.497, allocations: 16.45 kB / 0.8122 GB, free: 16.8 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.688e-05/1.497, allocations: 9.578 kB / 0.8123 GB, free: 16.79 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003887/1.497, allocations: 341.2 kB / 0.8126 GB, free: 16.41 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.943e-05/1.497, allocations: 31.77 kB / 0.8126 GB, free: 16.38 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 1.372e-06/1.497, allocations: 0 / 0.8126 GB, free: 16.38 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0002756/1.498, allocations: 39.42 kB / 0.8126 GB, free: 16.34 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.397e-05/1.498, allocations: 51.41 kB / 0.8127 GB, free: 16.28 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001456/1.498, allocations: 102 kB / 0.8128 GB, free: 16.18 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.57e-05/1.498, allocations: 29.83 kB / 0.8128 GB, free: 16.14 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.433e-05/1.498, allocations: 97.08 kB / 0.8129 GB, free: 16.05 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.905e-06/1.498, allocations: 0 / 0.8129 GB, free: 16.05 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.329e-05/1.498, allocations: 15.62 kB / 0.8129 GB, free: 16.04 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001802/1.498, allocations: 318.5 kB / 0.8132 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.844e-05/1.498, allocations: 1.469 kB / 0.8132 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.724e-05/1.498, allocations: 21.41 kB / 0.8133 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.053e-05/1.499, allocations: 26.31 kB / 0.8133 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/1.499, allocations: 0 / 0.8133 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001308/1.499, allocations: 51.25 kB / 0.8133 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.417e-05/1.499, allocations: 6.406 kB / 0.8133 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/1.499, allocations: 2.062 kB / 0.8133 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/1.499, allocations: 3.938 kB / 0.8133 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.256e-05/1.499, allocations: 6.031 kB / 0.8133 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/1.499, allocations: 2.188 kB / 0.8133 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.231e-05/1.499, allocations: 10.75 kB / 0.8134 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.985e-05/1.499, allocations: 2.766 kB / 0.8134 GB, free: 15.64 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001568/1.499, allocations: 117.1 kB / 0.8135 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.269e-05/1.499, allocations: 0 / 0.8135 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001738/1.499, allocations: 122.5 kB / 0.8136 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.309e-05/1.499, allocations: 176.3 kB / 0.8138 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001012/1.5, allocations: 180.3 kB / 0.8139 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.41e-05/1.5, allocations: 183.7 kB / 0.8141 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003919/1.5, allocations: 408.1 kB / 0.8145 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.34e-05/1.5, allocations: 107.6 kB / 0.8146 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.816e-05/1.5, allocations: 101 kB / 0.8147 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001112/1.5, allocations: 181.5 kB / 0.8149 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001045/1.5, allocations: 184.6 kB / 0.815 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.398e-05/1.501, allocations: 180.3 kB / 0.8152 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001004/1.501, allocations: 184.2 kB / 0.8154 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002449/1.501, allocations: 306.3 kB / 0.8157 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001178/1.501, allocations: 187.9 kB / 0.8159 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001238/1.501, allocations: 181.6 kB / 0.816 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002165/1.501, allocations: 107.6 kB / 0.8161 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/1.502, allocations: 186.1 kB / 0.8163 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.146e-05/1.502, allocations: 104.5 kB / 0.8164 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 8.047e-05/1.502, allocations: 90.56 kB / 0.8165 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.9e-07/1.502, allocations: 1.203 kB / 0.8165 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005503/1.502, allocations: 62.5 kB / 0.8166 GB, free: 12.27 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006301/1.503, allocations: 254.2 kB / 0.8168 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001352/1.503, allocations: 8.203 kB / 0.8168 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/1.503, allocations: 1.203 kB / 0.8168 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 2.334e-06/1.503, allocations: 0 / 0.8168 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000821/1.504, allocations: 0.5221 MB / 0.8173 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005186/1.504, allocations: 218.2 kB / 0.8175 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004471/1.505, allocations: 0.6739 MB / 0.8182 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.333e-05/1.505, allocations: 11.08 kB / 0.8182 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of SimCode: time 2.9e-07/1.505, allocations: 0 / 0.8182 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of Templates: time 0.005264/1.51, allocations: 1.242 MB / 0.8194 GB, free: 10.49 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.makefile make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversionCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversionCalcHelperMain.o] Error 1