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.001022/0.001022, allocations: 92 kB / 16.02 MB, free: 80 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.001095/0.001095, allocations: 186.9 kB / 16.92 MB, free: 6.922 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.397/1.397, allocations: 223.3 MB / 241 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001718/0.001718, allocations: 285.6 kB / 292.3 MB, free: 1.906 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.951/0.951, allocations: 169.5 MB / 0.501 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004032/0.0004033, allocations: 12.38 kB / 0.5993 GB, free: 28.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1863/0.1867, allocations: 88.54 MB / 0.6858 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.5143/0.701, allocations: 131.6 MB / 0.8142 GB, free: 0.9102 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001605/0.7012, allocations: 57.75 kB / 0.8143 GB, free: 0.8984 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.063e-05/0.7013, allocations: 1.859 kB / 0.8143 GB, free: 0.8984 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001183/0.7014, allocations: 4.531 kB / 0.8143 GB, free: 0.8945 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.018e-05/0.7015, allocations: 11.78 kB / 0.8143 GB, free: 0.8906 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009287/0.7024, allocations: 218.2 kB / 0.8145 GB, free: 0.8555 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001346/0.7026, allocations: 66.44 kB / 0.8146 GB, free: 0.8438 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.606e-05/0.7026, allocations: 1.656 kB / 0.8146 GB, free: 0.8438 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.881e-05/0.7027, allocations: 12.58 kB / 0.8146 GB, free: 0.8438 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.432e-05/0.7028, allocations: 17.67 kB / 0.8146 GB, free: 0.8438 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.349e-05/0.7028, allocations: 1.094 kB / 0.8146 GB, free: 0.8438 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004684/0.7033, allocations: 247.6 kB / 0.8149 GB, free: 0.8164 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.442e-05/0.7033, allocations: 8.188 kB / 0.8149 GB, free: 0.8164 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 9.703e-05/0.7034, allocations: 35.14 kB / 0.8149 GB, free: 16.79 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002533/0.7037, allocations: 136.6 kB / 0.815 GB, free: 16.77 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.7037, allocations: 6.25 kB / 0.815 GB, free: 16.77 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.613e-06/0.7037, allocations: 1.219 kB / 0.815 GB, free: 16.77 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.7037, allocations: 0 / 0.815 GB, free: 16.77 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.0004157/0.7041, allocations: 346.2 kB / 0.8154 GB, free: 16.41 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.7042, allocations: 10.44 kB / 0.8154 GB, free: 16.41 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.617e-05/0.7042, allocations: 1.906 kB / 0.8154 GB, free: 16.41 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001393/0.7044, allocations: 165.4 kB / 0.8155 GB, free: 16.21 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.76e-05/0.7044, allocations: 27.77 kB / 0.8156 GB, free: 16.18 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.263e-05/0.7045, allocations: 9.047 kB / 0.8156 GB, free: 16.17 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001327/0.7046, allocations: 43.62 kB / 0.8156 GB, free: 16.14 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.7046, allocations: 6.422 kB / 0.8156 GB, free: 16.13 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.7046, allocations: 0 / 0.8156 GB, free: 16.13 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.049e-05/0.7047, allocations: 1.125 kB / 0.8156 GB, free: 16.13 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.395e-05/0.7047, allocations: 15.48 kB / 0.8156 GB, free: 16.13 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007898/0.7055, allocations: 0.6076 MB / 0.8162 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 3.234e-05/0.7056, allocations: 18.77 kB / 0.8162 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.396e-05/0.7056, allocations: 7.922 kB / 0.8163 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002254/0.7058, allocations: 334.6 kB / 0.8166 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/0.7058, allocations: 39.22 kB / 0.8166 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.263e-06/0.7059, allocations: 0 / 0.8166 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001365/0.706, allocations: 33.02 kB / 0.8166 GB, free: 15 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.626e-05/0.706, allocations: 56.62 kB / 0.8167 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.884e-05/0.7061, allocations: 102.4 kB / 0.8168 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.7062, allocations: 25.7 kB / 0.8168 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.226e-05/0.7062, allocations: 91.64 kB / 0.8169 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.041e-06/0.7062, allocations: 4.688 kB / 0.8169 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.965e-05/0.7063, allocations: 12.25 kB / 0.8169 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.7064, allocations: 315.9 kB / 0.8172 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.507e-05/0.7064, allocations: 4.719 kB / 0.8172 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.44e-05/0.7064, allocations: 25.62 kB / 0.8173 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.367e-05/0.7065, allocations: 17.8 kB / 0.8173 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.7065, allocations: 0 / 0.8173 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.182e-05/0.7066, allocations: 49.78 kB / 0.8173 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.7066, allocations: 5 kB / 0.8173 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.7066, allocations: 2.547 kB / 0.8173 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.7066, allocations: 7.844 kB / 0.8173 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.713e-05/0.7067, allocations: 5.438 kB / 0.8173 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.7067, allocations: 0 / 0.8173 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.121e-05/0.7067, allocations: 8.406 kB / 0.8173 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.806e-06/0.7067, allocations: 2.656 kB / 0.8173 GB, free: 14.3 MB / 0.5606 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 8.208e-05/0.7068, allocations: 114.8 kB / 0.8175 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.634e-05/0.7069, allocations: 9.25 kB / 0.8175 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001078/0.707, allocations: 121.5 kB / 0.8176 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.818e-05/0.707, allocations: 181.3 kB / 0.8178 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.307e-05/0.7071, allocations: 181.2 kB / 0.8179 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.086e-05/0.7072, allocations: 179.5 kB / 0.8181 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002204/0.7074, allocations: 406.5 kB / 0.8185 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.691e-05/0.7075, allocations: 108.4 kB / 0.8186 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.635e-05/0.7075, allocations: 106 kB / 0.8187 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.919e-05/0.7076, allocations: 181.2 kB / 0.8189 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.781e-05/0.7077, allocations: 181 kB / 0.819 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.229e-05/0.7078, allocations: 183.4 kB / 0.8192 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.597e-05/0.7078, allocations: 181.2 kB / 0.8194 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000138/0.708, allocations: 317.8 kB / 0.8197 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.843e-05/0.7081, allocations: 182 kB / 0.8199 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.361e-05/0.7082, allocations: 178.3 kB / 0.82 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001547/0.7083, allocations: 110.6 kB / 0.8201 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.475e-05/0.7084, allocations: 189 kB / 0.8203 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.678e-05/0.7084, allocations: 105.9 kB / 0.8204 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.8e-05/0.7085, allocations: 84.39 kB / 0.8205 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7085, allocations: 0 / 0.8205 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000327/0.7088, allocations: 61.2 kB / 0.8206 GB, free: 10.93 MB / 0.5606 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.0003433/0.7092, allocations: 250.2 kB / 0.8208 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 7.149e-05/0.7093, allocations: 13.28 kB / 0.8208 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.7093, allocations: 0 / 0.8208 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.313e-06/0.7093, allocations: 0 / 0.8208 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004574/0.7097, allocations: 0.5266 MB / 0.8213 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003086/0.7101, allocations: 216.2 kB / 0.8215 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003013/0.7104, allocations: 0.6743 MB / 0.8222 GB, free: 9.312 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.305e-05/0.7104, allocations: 15.95 kB / 0.8222 GB, free: 9.301 MB / 0.5606 GB Notification: Performance of SimCode: time 2.3e-07/0.7104, allocations: 0 / 0.8222 GB, free: 9.301 MB / 0.5606 GB Notification: Performance of Templates: time 0.003012/0.7134, allocations: 1.234 MB / 0.8234 GB, free: 9.141 MB / 0.5606 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