Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.268/2.268, allocations: 284.9 MB / 292.2 MB, free: 9.781 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001623/0.001623, allocations: 181.3 kB / 360.4 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.809/1.809, allocations: 205.2 MB / 0.6188 GB, free: 3.242 MB / 442.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001286/0.001285, allocations: 91.75 kB / 0.7318 GB, free: 1.656 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 9.618e-06/9.778e-06, allocations: 1.125 kB / 0.8502 GB, free: 150.3 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2223/0.2223, allocations: 115.2 MB / 0.9628 GB, free: 57.02 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.15/5.373, allocations: 2.052 GB / 3.015 GB, free: 189.3 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002959/5.373, allocations: 78.22 kB / 3.015 GB, free: 189.3 MB / 0.9323 GB Notification: Performance of FrontEnd: time 0.1155/5.489, allocations: 36.79 MB / 3.051 GB, free: 159.4 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 8.816e-06/5.489, allocations: 3.938 kB / 3.051 GB, free: 159.4 MB / 0.9323 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.0003345/5.489, allocations: 341.7 kB / 3.052 GB, free: 159 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/5.489, allocations: 12.53 kB / 3.052 GB, free: 159 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003684/5.49, allocations: 23.88 kB / 3.052 GB, free: 158.9 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.969e-05/5.49, allocations: 170.5 kB / 3.052 GB, free: 158.7 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.279e-05/5.49, allocations: 29.69 kB / 3.052 GB, free: 158.7 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.164e-05/5.49, allocations: 0 / 3.052 GB, free: 158.7 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.896e-05/5.49, allocations: 19.81 kB / 3.052 GB, free: 158.7 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.896e-05/5.49, allocations: 45.67 kB / 3.052 GB, free: 158.6 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/5.49, allocations: 0 / 3.052 GB, free: 158.6 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/5.49, allocations: 0 / 3.052 GB, free: 158.6 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.131e-05/5.49, allocations: 7.906 kB / 3.052 GB, free: 158.6 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005287/5.491, allocations: 329.8 kB / 3.052 GB, free: 158.3 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 3.691e-05/5.491, allocations: 26.52 kB / 3.052 GB, free: 158.2 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.829e-05/5.491, allocations: 4.859 kB / 3.052 GB, free: 158.2 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 6.102e-06/5.491, allocations: 0 / 3.052 GB, free: 158.2 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/5.491, allocations: 30.56 kB / 3.052 GB, free: 158.2 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=1): time 1.703e-06/5.491, allocations: 0 / 3.052 GB, free: 158.2 MB / 0.9323 GB Notification: Performance of matching and sorting (n=1): time 0.0002594/5.491, allocations: 41.31 kB / 3.052 GB, free: 158.1 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.399e-05/5.491, allocations: 59.44 kB / 3.052 GB, free: 158.1 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.369e-05/5.491, allocations: 92.5 kB / 3.052 GB, free: 158 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 1.178e-05/5.491, allocations: 25.7 kB / 3.052 GB, free: 157.9 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 3.493e-05/5.491, allocations: 99.88 kB / 3.053 GB, free: 157.8 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 6.362e-06/5.491, allocations: 0 / 3.053 GB, free: 157.8 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.038e-06/5.491, allocations: 7.875 kB / 3.053 GB, free: 157.8 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 5.809e-05/5.491, allocations: 314.7 kB / 3.053 GB, free: 157.5 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.795e-05/5.491, allocations: 4 kB / 3.053 GB, free: 157.5 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.957e-05/5.491, allocations: 22.58 kB / 3.053 GB, free: 157.5 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.784e-05/5.491, allocations: 11.36 kB / 3.053 GB, free: 157.5 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/5.491, allocations: 0 / 3.053 GB, free: 157.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.678e-05/5.492, allocations: 53.53 kB / 3.053 GB, free: 157.4 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/5.492, allocations: 4 kB / 3.053 GB, free: 157.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/5.492, allocations: 0 / 3.053 GB, free: 157.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/5.492, allocations: 4.188 kB / 3.053 GB, free: 157.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.332e-05/5.492, allocations: 8 kB / 3.053 GB, free: 157.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/5.492, allocations: 0 / 3.053 GB, free: 157.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.64e-05/5.492, allocations: 7.984 kB / 3.053 GB, free: 157.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.403e-06/5.492, allocations: 3.906 kB / 3.053 GB, free: 157.4 MB / 0.9323 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 5.264e-05/5.492, allocations: 108.5 kB / 3.053 GB, free: 157.3 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.45e-05/5.492, allocations: 0 / 3.053 GB, free: 157.3 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.544e-05/5.492, allocations: 3.156 kB / 3.053 GB, free: 157.3 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/5.492, allocations: 3.984 kB / 3.053 GB, free: 157.3 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/5.492, allocations: 4.188 kB / 3.053 GB, free: 157.3 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/5.492, allocations: 11.91 kB / 3.053 GB, free: 157.3 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002305/5.492, allocations: 323.2 kB / 3.053 GB, free: 156.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/5.492, allocations: 0 / 3.053 GB, free: 156.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.087e-05/5.492, allocations: 4 kB / 3.053 GB, free: 156.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/5.492, allocations: 0 / 3.053 GB, free: 156.9 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/5.492, allocations: 0 / 3.053 GB, free: 156.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/5.492, allocations: 3.906 kB / 3.053 GB, free: 156.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/5.492, allocations: 0 / 3.053 GB, free: 156.9 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.037e-05/5.492, allocations: 64.66 kB / 3.053 GB, free: 156.8 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 2.702e-05/5.492, allocations: 84.95 kB / 3.054 GB, free: 156.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.193e-05/5.493, allocations: 0 / 3.054 GB, free: 156.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/5.493, allocations: 4 kB / 3.054 GB, free: 156.7 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.067e-05/5.493, allocations: 0 / 3.054 GB, free: 156.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/5.493, allocations: 7.984 kB / 3.054 GB, free: 156.7 MB / 0.9323 GB Notification: Performance of sort global known variables: time 3.428e-05/5.493, allocations: 83.31 kB / 3.054 GB, free: 156.6 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0003412/5.493, allocations: 38.17 kB / 3.054 GB, free: 156.6 MB / 0.9323 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.0007965/5.494, allocations: 0.6461 MB / 3.054 GB, free: 156 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 9.479e-05/5.494, allocations: 11.81 kB / 3.054 GB, free: 156 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/5.494, allocations: 0 / 3.054 GB, free: 156 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 8.586e-06/5.494, allocations: 0 / 3.054 GB, free: 156 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001906/5.494, allocations: 13.3 kB / 3.054 GB, free: 155.9 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001853/5.494, allocations: 51.84 kB / 3.054 GB, free: 155.9 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00016/5.495, allocations: 0.6921 MB / 3.055 GB, free: 155.1 MB / 0.9323 GB Notification: Performance of SimCode: time 8.12e-07/5.495, allocations: 0 / 3.055 GB, free: 155.1 MB / 0.9323 GB Notification: Performance of Templates: time 0.0102/5.505, allocations: 3.636 MB / 3.059 GB, free: 151.5 MB / 0.9323 GB make -j1 -f Buildings_8.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.makefile (rm -f Buildings_8.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./Buildings_8.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)