Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001994/0.001994, allocations: 173.1 kB / 7.454 MB, free: 2.492 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5991/0.5991, allocations: 133.5 MB / 141.4 MB, free: 15.67 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.16/1.16, allocations: 221.3 MB / 395 MB, free: 10.18 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008956/0.0008956, allocations: 94.86 kB / 477.8 MB, free: 10.81 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.919e-06/5.03e-06, allocations: 0 / 0.5528 GB, free: 89.34 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1174, allocations: 82.29 MB / 0.6332 GB, free: 14.14 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7987/0.9162, allocations: 417.2 MB / 1.041 GB, free: 211 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001936/0.9164, allocations: 73.31 kB / 1.041 GB, free: 210.9 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.04514/0.9616, allocations: 22.85 MB / 1.063 GB, free: 191.1 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.181e-06/0.9616, allocations: 0 / 1.063 GB, free: 191.1 MB / 0.6823 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.0002468/0.9619, allocations: 354.4 kB / 1.063 GB, free: 190.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.9619, allocations: 12.02 kB / 1.063 GB, free: 190.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.503e-05/0.9619, allocations: 11.84 kB / 1.063 GB, free: 190.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.299e-05/0.962, allocations: 159.1 kB / 1.064 GB, free: 190.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.233e-05/0.9621, allocations: 29.64 kB / 1.064 GB, free: 190.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.089e-05/0.9621, allocations: 4 kB / 1.064 GB, free: 190.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.692e-05/0.9622, allocations: 19.98 kB / 1.064 GB, free: 190.4 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.09e-05/0.9622, allocations: 37.69 kB / 1.064 GB, free: 190.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.9622, allocations: 0 / 1.064 GB, free: 190.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.9623, allocations: 3.906 kB / 1.064 GB, free: 190.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.394e-05/0.9623, allocations: 0 / 1.064 GB, free: 190.4 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004559/0.9627, allocations: 0.5761 MB / 1.064 GB, free: 189.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 2.938e-05/0.9628, allocations: 26.42 kB / 1.064 GB, free: 189.7 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.173e-05/0.9628, allocations: 4.859 kB / 1.064 GB, free: 189.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001952/0.963, allocations: 0.4909 MB / 1.065 GB, free: 189.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.61e-05/0.963, allocations: 38.56 kB / 1.065 GB, free: 189 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 1.212e-06/0.963, allocations: 0 / 1.065 GB, free: 189 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0002069/0.9632, allocations: 41.69 kB / 1.065 GB, free: 189 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.832e-05/0.9633, allocations: 55.39 kB / 1.065 GB, free: 188.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.493e-05/0.9633, allocations: 96.94 kB / 1.065 GB, free: 188.8 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.905e-06/0.9633, allocations: 25.7 kB / 1.065 GB, free: 188.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 2.25e-05/0.9634, allocations: 91.98 kB / 1.065 GB, free: 188.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.419e-06/0.9634, allocations: 3.906 kB / 1.065 GB, free: 188.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.745e-06/0.9634, allocations: 0 / 1.065 GB, free: 188.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 3.493e-05/0.9634, allocations: 314.8 kB / 1.065 GB, free: 188.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.628e-06/0.9634, allocations: 12.03 kB / 1.065 GB, free: 188.3 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.32e-05/0.9634, allocations: 17.66 kB / 1.065 GB, free: 188.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001552/0.9636, allocations: 15.98 kB / 1.065 GB, free: 188.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.9636, allocations: 0 / 1.065 GB, free: 188.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001894/0.9638, allocations: 57.67 kB / 1.065 GB, free: 188.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.015e-05/0.9638, allocations: 4 kB / 1.065 GB, free: 188.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.9638, allocations: 4 kB / 1.065 GB, free: 188.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.9639, allocations: 8.047 kB / 1.065 GB, free: 188.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.723e-05/0.9639, allocations: 4 kB / 1.065 GB, free: 188.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.838e-06/0.9639, allocations: 3.938 kB / 1.065 GB, free: 188.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.725e-05/0.9639, allocations: 3.906 kB / 1.065 GB, free: 188.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.9639, allocations: 4 kB / 1.065 GB, free: 188.2 MB / 0.6823 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 () * 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 3.748e-05/0.964, allocations: 101 kB / 1.066 GB, free: 188.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.589e-05/0.964, allocations: 11.94 kB / 1.066 GB, free: 188.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.955e-05/0.9641, allocations: 125.2 kB / 1.066 GB, free: 188 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.966e-05/0.9641, allocations: 184.2 kB / 1.066 GB, free: 187.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.169e-05/0.9641, allocations: 180.2 kB / 1.066 GB, free: 187.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.053e-05/0.9642, allocations: 176.3 kB / 1.066 GB, free: 187.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001038/0.9643, allocations: 385.7 kB / 1.067 GB, free: 187 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.335e-05/0.9643, allocations: 109 kB / 1.067 GB, free: 186.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.236e-05/0.9643, allocations: 105 kB / 1.067 GB, free: 186.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.383e-05/0.9643, allocations: 184.2 kB / 1.067 GB, free: 186.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.255e-05/0.9644, allocations: 176.3 kB / 1.067 GB, free: 186.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.16e-05/0.9644, allocations: 180.2 kB / 1.067 GB, free: 186.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.223e-05/0.9644, allocations: 180.2 kB / 1.067 GB, free: 186 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.117e-05/0.9645, allocations: 311.9 kB / 1.068 GB, free: 185.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.065e-05/0.9645, allocations: 195.2 kB / 1.068 GB, free: 185.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.805e-05/0.9646, allocations: 176.3 kB / 1.068 GB, free: 185.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.9647, allocations: 109 kB / 1.068 GB, free: 185.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.361e-05/0.9647, allocations: 184.2 kB / 1.068 GB, free: 185 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-05/0.9647, allocations: 101 kB / 1.069 GB, free: 184.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.399e-05/0.9648, allocations: 91.27 kB / 1.069 GB, free: 184.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002917/0.9651, allocations: 79.92 kB / 1.069 GB, free: 184.7 MB / 0.6823 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 () * 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.0005618/0.9656, allocations: 0.7298 MB / 1.069 GB, free: 184 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 5.358e-05/0.9657, allocations: 11.94 kB / 1.069 GB, free: 184 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.9657, allocations: 128 / 1.069 GB, free: 184 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.163e-06/0.9657, allocations: 4 kB / 1.069 GB, free: 184 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001923/0.9659, allocations: 0.5177 MB / 1.07 GB, free: 183.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001255/0.966, allocations: 131.2 kB / 1.07 GB, free: 183.3 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001081/0.9662, allocations: 0.688 MB / 1.071 GB, free: 182.6 MB / 0.6823 GB Notification: Performance of SimCode: time 2.61e-07/0.9662, allocations: 4 kB / 1.071 GB, free: 182.6 MB / 0.6823 GB Notification: Performance of Templates: time 0.005435/0.9716, allocations: 3.893 MB / 1.075 GB, free: 178.7 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.makefile (rm -f IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1)