Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007507/0.007507, allocations: 100.1 kB / 15.87 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001897/0.001897, allocations: 189.2 kB / 16.78 MB, free: 5.809 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.327/1.327, allocations: 222.9 MB / 240.5 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7619/0.7619, allocations: 132.2 MB / 422.8 MB, free: 2.016 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 55.83 kB / 0.5017 GB, free: 9.242 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1833/0.1845, allocations: 80.21 MB / 0.58 GB, free: 9.258 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.4499/0.6344, allocations: 133.3 MB / 0.7102 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0001416/0.6346, allocations: 64.83 kB / 0.7103 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.69e-05/0.6346, allocations: 0 / 0.7103 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001105/0.6348, allocations: 6.625 kB / 0.7103 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.205e-05/0.6349, allocations: 10 kB / 0.7103 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007677/0.6357, allocations: 219.9 kB / 0.7105 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.57e-05/0.6358, allocations: 62.23 kB / 0.7106 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.421e-05/0.6358, allocations: 2.094 kB / 0.7106 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.248e-05/0.6358, allocations: 11.19 kB / 0.7106 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.615e-05/0.6359, allocations: 21.25 kB / 0.7106 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.185e-05/0.6359, allocations: 1.188 kB / 0.7106 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004429/0.6364, allocations: 247.7 kB / 0.7108 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.975e-05/0.6364, allocations: 8.891 kB / 0.7108 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.363e-05/0.6365, allocations: 9.688 kB / 0.7109 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002361/0.6367, allocations: 134.4 kB / 0.711 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.6367, allocations: 0 / 0.711 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of FrontEnd: time 6.91e-07/0.6367, allocations: 0 / 0.711 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.517e-06/0.6367, allocations: 0 / 0.711 GB, free: 1.109 MB / 0.5294 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.0004078/0.6371, allocations: 361.5 kB / 0.7113 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.6372, allocations: 9.781 kB / 0.7113 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.059e-05/0.6372, allocations: 4.156 kB / 0.7113 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001051/0.6373, allocations: 166.8 kB / 0.7115 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.769e-05/0.6374, allocations: 28.2 kB / 0.7115 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.064e-05/0.6374, allocations: 5.844 kB / 0.7115 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/0.6375, allocations: 48.72 kB / 0.7116 GB, free: 476 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.6376, allocations: 1.562 kB / 0.7116 GB, free: 476 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.6376, allocations: 0.6562 kB / 0.7116 GB, free: 476 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.611e-05/0.6376, allocations: 1.438 kB / 0.7116 GB, free: 476 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.091e-05/0.6377, allocations: 16.58 kB / 0.7116 GB, free: 472 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007582/0.6384, allocations: 0.5996 MB / 0.7122 GB, free: 15.8 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 3.597e-05/0.6385, allocations: 17.25 kB / 0.7122 GB, free: 15.78 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.478e-05/0.6385, allocations: 11.95 kB / 0.7122 GB, free: 15.77 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001958/0.6387, allocations: 337.5 kB / 0.7125 GB, free: 15.38 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/0.6387, allocations: 31.75 kB / 0.7126 GB, free: 15.34 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.031e-06/0.6387, allocations: 4 kB / 0.7126 GB, free: 15.34 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001339/0.6389, allocations: 37.52 kB / 0.7126 GB, free: 15.3 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.361e-05/0.6389, allocations: 52.02 kB / 0.7127 GB, free: 15.24 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.143e-05/0.639, allocations: 106.8 kB / 0.7128 GB, free: 15.14 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.639, allocations: 26.98 kB / 0.7128 GB, free: 15.11 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.966e-05/0.6391, allocations: 86.36 kB / 0.7129 GB, free: 15.02 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.121e-06/0.6391, allocations: 4.641 kB / 0.7129 GB, free: 15.02 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.085e-05/0.6391, allocations: 18.62 kB / 0.7129 GB, free: 15 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.6392, allocations: 325.3 kB / 0.7132 GB, free: 14.67 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.427e-05/0.6393, allocations: 6.297 kB / 0.7132 GB, free: 14.67 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.337e-05/0.6393, allocations: 22.72 kB / 0.7132 GB, free: 14.65 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.371e-05/0.6393, allocations: 16.73 kB / 0.7132 GB, free: 14.64 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.6393, allocations: 0 / 0.7132 GB, free: 14.64 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.377e-05/0.6394, allocations: 55.03 kB / 0.7133 GB, free: 14.59 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.6394, allocations: 7.453 kB / 0.7133 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.6394, allocations: 0 / 0.7133 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.6395, allocations: 1.156 kB / 0.7133 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.176e-05/0.6395, allocations: 6.438 kB / 0.7133 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.6395, allocations: 1.797 kB / 0.7133 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.664e-05/0.6395, allocations: 0 / 0.7133 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.6396, allocations: 3.328 kB / 0.7133 GB, free: 14.59 MB / 0.545 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 6.85e-05/0.6396, allocations: 116.9 kB / 0.7134 GB, free: 14.47 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.893e-05/0.6397, allocations: 10.73 kB / 0.7134 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.888e-05/0.6398, allocations: 118.9 kB / 0.7135 GB, free: 14.35 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.017e-05/0.6398, allocations: 181.3 kB / 0.7137 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.645e-05/0.6399, allocations: 183.2 kB / 0.7139 GB, free: 13.98 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-05/0.64, allocations: 181.7 kB / 0.7141 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002177/0.6402, allocations: 415.6 kB / 0.7145 GB, free: 13.34 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.798e-05/0.6402, allocations: 102.4 kB / 0.7146 GB, free: 13.23 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.983e-05/0.6403, allocations: 101.8 kB / 0.7147 GB, free: 13.13 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.35e-05/0.6403, allocations: 182.2 kB / 0.7148 GB, free: 12.95 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.988e-05/0.6404, allocations: 178.3 kB / 0.715 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.342e-05/0.6405, allocations: 181 kB / 0.7152 GB, free: 12.58 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.341e-05/0.6406, allocations: 186.2 kB / 0.7154 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001228/0.6407, allocations: 315.1 kB / 0.7157 GB, free: 12.07 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.588e-05/0.6408, allocations: 180.7 kB / 0.7158 GB, free: 11.87 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001053/0.6409, allocations: 182.2 kB / 0.716 GB, free: 11.69 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001384/0.641, allocations: 114 kB / 0.7161 GB, free: 11.57 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.189e-05/0.6411, allocations: 178.4 kB / 0.7163 GB, free: 11.39 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.129e-05/0.6411, allocations: 110.2 kB / 0.7164 GB, free: 11.28 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.129e-05/0.6412, allocations: 88.05 kB / 0.7165 GB, free: 11.2 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6412, allocations: 0 / 0.7165 GB, free: 11.2 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000311/0.6415, allocations: 57.58 kB / 0.7165 GB, free: 11.19 MB / 0.545 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.0003112/0.6418, allocations: 256.1 kB / 0.7168 GB, free: 11 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 6.822e-05/0.6419, allocations: 7.219 kB / 0.7168 GB, free: 11 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.6419, allocations: 1.125 kB / 0.7168 GB, free: 11 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.138e-06/0.6419, allocations: 4.547 kB / 0.7168 GB, free: 10.99 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003911/0.6423, allocations: 0.5273 MB / 0.7173 GB, free: 10.46 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002427/0.6426, allocations: 202.5 kB / 0.7175 GB, free: 10.26 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003392/0.6429, allocations: 0.6745 MB / 0.7181 GB, free: 9.566 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.828e-05/0.6429, allocations: 12.53 kB / 0.7182 GB, free: 9.559 MB / 0.545 GB Notification: Performance of SimCode: time 1.643e-06/0.6429, allocations: 1.344 kB / 0.7182 GB, free: 9.559 MB / 0.545 GB Notification: Performance of Templates: time 0.002705/0.6457, allocations: 1.232 MB / 0.7194 GB, free: 9.418 MB / 0.545 GB make -j1 -f IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.makefile make -j1 -f IDEAS_IDEAS.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 OMCppIDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversionCalcHelperMain.o OMCppIDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversionCalcHelperMain.o] Error 1