Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.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.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion") [: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.002396/0.002396, allocations: 184.8 kB / 7.463 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6051/0.6051, allocations: 133.5 MB / 141.4 MB, free: 15.76 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.13/1.13, 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.0008841/0.0008839, allocations: 99.72 kB / 477.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.12e-06/5.14e-06, allocations: 0 / 0.5528 GB, free: 89.06 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1178, allocations: 82.31 MB / 0.6332 GB, free: 14.12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.373/2.491, allocations: 1.673 GB / 2.307 GB, free: 264.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001905/2.491, allocations: 70.39 kB / 2.307 GB, free: 264.1 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.06605/2.557, allocations: 36.74 MB / 2.343 GB, free: 242.3 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.68e-06/2.557, allocations: 0 / 2.343 GB, free: 242.3 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002328/2.557, allocations: 342.4 kB / 2.343 GB, free: 241.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/2.557, allocations: 8.031 kB / 2.343 GB, free: 241.9 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000243/2.558, allocations: 27.88 kB / 2.343 GB, free: 241.8 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.397e-05/2.558, allocations: 171 kB / 2.343 GB, free: 241.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.865e-05/2.558, allocations: 33.64 kB / 2.343 GB, free: 241.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.474e-06/2.558, allocations: 0 / 2.343 GB, free: 241.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.444e-05/2.558, allocations: 19.98 kB / 2.343 GB, free: 241.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.166e-05/2.558, allocations: 45.69 kB / 2.343 GB, free: 241.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/2.558, allocations: 3.906 kB / 2.343 GB, free: 241.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/2.558, allocations: 4 kB / 2.343 GB, free: 241.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.26e-05/2.558, allocations: 0 / 2.343 GB, free: 241.5 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003487/2.558, allocations: 334.5 kB / 2.343 GB, free: 241.1 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 2.355e-05/2.558, allocations: 22.5 kB / 2.343 GB, free: 241.1 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.233e-05/2.558, allocations: 4.859 kB / 2.343 GB, free: 241.1 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.115e-06/2.558, allocations: 4 kB / 2.343 GB, free: 241.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.087e-05/2.558, allocations: 38.62 kB / 2.344 GB, free: 241 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/2.558, allocations: 0 / 2.344 GB, free: 241 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0001713/2.559, allocations: 37.69 kB / 2.344 GB, free: 241 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.24e-05/2.559, allocations: 51.41 kB / 2.344 GB, free: 240.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.889e-05/2.559, allocations: 101 kB / 2.344 GB, free: 240.8 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.115e-06/2.559, allocations: 25.7 kB / 2.344 GB, free: 240.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 2.166e-05/2.559, allocations: 87.95 kB / 2.344 GB, free: 240.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.178e-06/2.559, allocations: 7.938 kB / 2.344 GB, free: 240.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.645e-06/2.559, allocations: 8.031 kB / 2.344 GB, free: 240.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 3.398e-05/2.559, allocations: 310.8 kB / 2.344 GB, free: 240.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.829e-06/2.559, allocations: 4 kB / 2.344 GB, free: 240.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.087e-05/2.559, allocations: 30.5 kB / 2.344 GB, free: 240.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.675e-05/2.559, allocations: 7.906 kB / 2.344 GB, free: 240.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/2.559, allocations: 0 / 2.344 GB, free: 240.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.799e-05/2.559, allocations: 49.62 kB / 2.344 GB, free: 240.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.604e-06/2.559, allocations: 8 kB / 2.344 GB, free: 240.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/2.559, allocations: 0 / 2.344 GB, free: 240.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/2.559, allocations: 0 / 2.344 GB, free: 240.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.073e-05/2.559, allocations: 11.94 kB / 2.344 GB, free: 240.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.317e-06/2.559, allocations: 0 / 2.344 GB, free: 240.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.409e-05/2.559, allocations: 3.906 kB / 2.344 GB, free: 240.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.619e-06/2.559, allocations: 4 kB / 2.344 GB, free: 240.3 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.634e-05/2.559, allocations: 117 kB / 2.344 GB, free: 240.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.113e-05/2.559, allocations: 4 kB / 2.344 GB, free: 240.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.503e-05/2.559, allocations: 3.156 kB / 2.344 GB, free: 240.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/2.559, allocations: 3.906 kB / 2.344 GB, free: 240.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/2.559, allocations: 0 / 2.344 GB, free: 240.1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.904e-06/2.559, allocations: 0 / 2.344 GB, free: 240.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001396/2.559, allocations: 323.3 kB / 2.345 GB, free: 239.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/2.559, allocations: 0 / 2.345 GB, free: 239.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.227e-05/2.559, allocations: 4.031 kB / 2.345 GB, free: 239.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/2.559, allocations: 7.906 kB / 2.345 GB, free: 239.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.718e-06/2.559, allocations: 3.984 kB / 2.345 GB, free: 239.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/2.559, allocations: 3.984 kB / 2.345 GB, free: 239.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/2.559, allocations: 0 / 2.345 GB, free: 239.7 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 3.676e-05/2.559, allocations: 49.14 kB / 2.345 GB, free: 239.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.644e-05/2.559, allocations: 85.02 kB / 2.345 GB, free: 239.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.587e-05/2.559, allocations: 0 / 2.345 GB, free: 239.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.133e-05/2.56, allocations: 12.27 kB / 2.345 GB, free: 239.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.154e-05/2.56, allocations: 4 kB / 2.345 GB, free: 239.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-06/2.56, allocations: 4 kB / 2.345 GB, free: 239.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.954e-05/2.56, allocations: 83.22 kB / 2.345 GB, free: 239.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002225/2.56, allocations: 35.98 kB / 2.345 GB, free: 239.4 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 (1): * Single equations (assignments): 1 * 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.0005119/2.56, allocations: 0.6497 MB / 2.346 GB, free: 238.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 5.645e-05/2.56, allocations: 12 kB / 2.346 GB, free: 238.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/2.56, allocations: 4.188 kB / 2.346 GB, free: 238.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 3.687e-06/2.56, allocations: 4 kB / 2.346 GB, free: 238.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001098/2.561, allocations: 7.906 kB / 2.346 GB, free: 238.8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001132/2.561, allocations: 59.8 kB / 2.346 GB, free: 238.7 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.476e-05/2.561, allocations: 0.688 MB / 2.346 GB, free: 238 MB / 0.6823 GB Notification: Performance of SimCode: time 2.3e-07/2.561, allocations: 0 / 2.346 GB, free: 238 MB / 0.6823 GB Notification: Performance of Templates: time 0.005119/2.566, allocations: 3.682 MB / 2.35 GB, free: 234.3 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.makefile (rm -f IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)