Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") [: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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.483/1.483, allocations: 289.8 MB / 297.1 MB, free: 6.648 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001087/0.001087, allocations: 180.1 kB / 366.3 MB, free: 1.934 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.364/1.364, allocations: 205.1 MB / 0.6256 GB, free: 5.758 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009742/0.0009742, allocations: 85.89 kB / 0.7395 GB, free: 39.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.412e-06/6.442e-06, allocations: 0 / 0.859 GB, free: 13.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6023/0.6024, allocations: 116.3 MB / 0.9725 GB, free: 68.23 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 9.369/9.972, allocations: 4.611 GB / 5.584 GB, free: 23.75 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002788/9.972, allocations: 90.52 kB / 5.584 GB, free: 23.67 MB / 0.948 GB Notification: Performance of FrontEnd: time 0.6613/10.63, allocations: 44.55 MB / 5.627 GB, free: 336.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 8.345e-06/10.63, allocations: 0 / 5.627 GB, free: 336.5 MB / 0.948 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.0003308/10.63, allocations: 332.6 kB / 5.628 GB, free: 336.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/10.63, allocations: 9.438 kB / 5.628 GB, free: 336.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002325/10.63, allocations: 25.03 kB / 5.628 GB, free: 336.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/10.63, allocations: 163.1 kB / 5.628 GB, free: 335.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.687e-05/10.63, allocations: 28.64 kB / 5.628 GB, free: 335.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.195e-05/10.63, allocations: 0 / 5.628 GB, free: 335.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.376e-05/10.63, allocations: 18.03 kB / 5.628 GB, free: 335.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.287e-05/10.63, allocations: 52.83 kB / 5.628 GB, free: 335.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/10.63, allocations: 0 / 5.628 GB, free: 335.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/10.63, allocations: 0 / 5.628 GB, free: 335.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.042e-05/10.63, allocations: 5.875 kB / 5.628 GB, free: 335.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003863/10.64, allocations: 236.7 kB / 5.628 GB, free: 335.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.064e-05/10.64, allocations: 22.48 kB / 5.628 GB, free: 335.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.06e-05/10.64, allocations: 11.48 kB / 5.628 GB, free: 335.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.271e-05/10.64, allocations: 3.984 kB / 5.628 GB, free: 335.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.952e-05/10.64, allocations: 33.41 kB / 5.628 GB, free: 335.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=1): time 1.422e-06/10.64, allocations: 0 / 5.628 GB, free: 335.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=1): time 0.0001446/10.64, allocations: 30.48 kB / 5.628 GB, free: 335.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.587e-05/10.64, allocations: 54.78 kB / 5.628 GB, free: 335.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.654e-05/10.64, allocations: 98.31 kB / 5.628 GB, free: 335.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.082e-05/10.64, allocations: 33.67 kB / 5.628 GB, free: 335.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.424e-05/10.64, allocations: 89.8 kB / 5.628 GB, free: 335.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 7.534e-06/10.64, allocations: 9.25 kB / 5.628 GB, free: 335.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-06/10.64, allocations: 0 / 5.628 GB, free: 335.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.735e-05/10.64, allocations: 313.8 kB / 5.629 GB, free: 334.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.367e-05/10.64, allocations: 3.719 kB / 5.629 GB, free: 334.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.38e-05/10.64, allocations: 21.58 kB / 5.629 GB, free: 334.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.317e-05/10.64, allocations: 10.8 kB / 5.629 GB, free: 334.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/10.64, allocations: 0 / 5.629 GB, free: 334.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.305e-05/10.64, allocations: 54.31 kB / 5.629 GB, free: 334.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/10.64, allocations: 5.031 kB / 5.629 GB, free: 334.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/10.64, allocations: 0 / 5.629 GB, free: 334.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/10.64, allocations: 3.25 kB / 5.629 GB, free: 334.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.771e-05/10.64, allocations: 6.594 kB / 5.629 GB, free: 334.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/10.64, allocations: 0 / 5.629 GB, free: 334.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.469e-05/10.64, allocations: 8.094 kB / 5.629 GB, free: 334.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-06/10.64, allocations: 3.281 kB / 5.629 GB, free: 334.8 MB / 0.948 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 6.493e-05/10.64, allocations: 107.7 kB / 5.629 GB, free: 334.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.79e-05/10.64, allocations: 2.75 kB / 5.629 GB, free: 334.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.925e-05/10.64, allocations: 3.156 kB / 5.629 GB, free: 334.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/10.64, allocations: 1.688 kB / 5.629 GB, free: 334.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/10.64, allocations: 3.906 kB / 5.629 GB, free: 334.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/10.64, allocations: 3.906 kB / 5.629 GB, free: 334.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001926/10.64, allocations: 331 kB / 5.629 GB, free: 334.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/10.64, allocations: 1.031 kB / 5.629 GB, free: 334.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.637e-05/10.64, allocations: 2.188 kB / 5.629 GB, free: 334.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/10.64, allocations: 0 / 5.629 GB, free: 334.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/10.64, allocations: 0 / 5.629 GB, free: 334.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/10.64, allocations: 3.906 kB / 5.629 GB, free: 334.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/10.64, allocations: 3.188 kB / 5.629 GB, free: 334.4 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.384e-05/10.64, allocations: 61.84 kB / 5.629 GB, free: 334.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.313e-05/10.64, allocations: 86.23 kB / 5.629 GB, free: 334.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.788e-05/10.64, allocations: 0 / 5.629 GB, free: 334.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.326e-05/10.64, allocations: 7.203 kB / 5.629 GB, free: 334.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.636e-05/10.64, allocations: 0 / 5.629 GB, free: 334.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-06/10.64, allocations: 0.5625 kB / 5.629 GB, free: 334.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.922e-05/10.64, allocations: 84.97 kB / 5.63 GB, free: 334.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000265/10.64, allocations: 35.45 kB / 5.63 GB, free: 334.1 MB / 0.948 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.0008541/10.64, allocations: 0.6687 MB / 5.63 GB, free: 333.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 8.698e-05/10.64, allocations: 12.72 kB / 5.63 GB, free: 333.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/10.64, allocations: 0 / 5.63 GB, free: 333.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 4.738e-06/10.64, allocations: 4.156 kB / 5.63 GB, free: 333.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001687/10.64, allocations: 8.484 kB / 5.63 GB, free: 333.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001991/10.64, allocations: 63.56 kB / 5.63 GB, free: 333.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001775/10.64, allocations: 0.6858 MB / 5.631 GB, free: 333.1 MB / 0.948 GB Notification: Performance of SimCode: time 2.7e-07/10.64, allocations: 0 / 5.631 GB, free: 333.1 MB / 0.948 GB Notification: Performance of Templates: time 0.008936/10.65, allocations: 3.758 MB / 5.635 GB, free: 332.5 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (rm -f Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)