Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Media.GasesConstantDensity.Examples.MoistAirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirTemperatureEnthalpyInversion") translateModel(Buildings.Media.GasesConstantDensity.Examples.MoistAirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirTemperatureEnthalpyInversion") [: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 1.6.0+build.1/package.mo): time 0.4932/0.4932, allocations: 94.74 MB / 102 MB, free: 10.34 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001174/0.001174, allocations: 177.3 kB / 125.3 MB, free: 11.96 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.438/1.438, allocations: 170.5 MB / 319 MB, free: 9.371 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00171/0.00171, allocations: 111.3 kB / 381 MB, free: 18.16 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.626e-06/8.816e-06, allocations: 224 / 448.6 MB, free: 2.09 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1571, allocations: 61.52 MB / 0.4981 GB, free: 4.48 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 12.14/12.3, allocations: 5.12 GB / 5.618 GB, free: 146.2 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002923/12.3, allocations: 82.27 kB / 5.618 GB, free: 146.1 MB / 0.5261 GB Notification: Performance of FrontEnd: time 0.146/12.45, allocations: 69.96 MB / 5.686 GB, free: 76.43 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.377e-05/12.45, allocations: 4 kB / 5.686 GB, free: 76.43 MB / 0.5261 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.0006617/12.45, allocations: 426.9 kB / 5.687 GB, free: 75.96 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/12.45, allocations: 12.03 kB / 5.687 GB, free: 75.95 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.492e-05/12.45, allocations: 0 / 5.687 GB, free: 75.95 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001039/12.45, allocations: 164.6 kB / 5.687 GB, free: 75.75 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.172e-05/12.45, allocations: 29.7 kB / 5.687 GB, free: 75.72 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.897e-06/12.45, allocations: 0 / 5.687 GB, free: 75.72 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001036/12.45, allocations: 22.64 kB / 5.687 GB, free: 75.7 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.173e-05/12.45, allocations: 45.69 kB / 5.687 GB, free: 75.65 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/12.45, allocations: 0 / 5.687 GB, free: 75.65 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/12.45, allocations: 4 kB / 5.687 GB, free: 75.64 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.25e-05/12.45, allocations: 3.984 kB / 5.687 GB, free: 75.64 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003661/12.45, allocations: 233.5 kB / 5.687 GB, free: 75.38 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 3.467e-05/12.45, allocations: 18.52 kB / 5.687 GB, free: 75.35 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.831e-05/12.45, allocations: 8.922 kB / 5.687 GB, free: 75.34 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.585e-05/12.45, allocations: 2.719 kB / 5.687 GB, free: 75.34 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/12.45, allocations: 38.56 kB / 5.687 GB, free: 75.29 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 1.432e-06/12.45, allocations: 0 / 5.687 GB, free: 75.29 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0001794/12.45, allocations: 37.59 kB / 5.687 GB, free: 75.25 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.137e-05/12.45, allocations: 55.41 kB / 5.687 GB, free: 75.18 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.457e-05/12.45, allocations: 89 kB / 5.688 GB, free: 75.09 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.01e-05/12.45, allocations: 25.7 kB / 5.688 GB, free: 75.05 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.527e-05/12.45, allocations: 99.97 kB / 5.688 GB, free: 74.95 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.079e-06/12.45, allocations: 3.906 kB / 5.688 GB, free: 74.95 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.397e-06/12.45, allocations: 4.031 kB / 5.688 GB, free: 74.95 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.402e-05/12.45, allocations: 310.8 kB / 5.688 GB, free: 74.63 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.391e-05/12.45, allocations: 4 kB / 5.688 GB, free: 74.63 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.143e-05/12.45, allocations: 26.52 kB / 5.688 GB, free: 74.59 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001566/12.45, allocations: 27.94 kB / 5.688 GB, free: 74.57 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/12.45, allocations: 0 / 5.688 GB, free: 74.57 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001659/12.45, allocations: 77.58 kB / 5.688 GB, free: 74.48 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/12.45, allocations: 4 kB / 5.688 GB, free: 74.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/12.45, allocations: 7.906 kB / 5.688 GB, free: 74.47 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/12.45, allocations: 0 / 5.688 GB, free: 74.47 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.954e-05/12.45, allocations: 11.94 kB / 5.688 GB, free: 74.46 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/12.45, allocations: 0 / 5.688 GB, free: 74.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.531e-05/12.45, allocations: 0 / 5.688 GB, free: 74.46 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/12.45, allocations: 4 kB / 5.688 GB, free: 74.46 MB / 0.5261 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.534e-05/12.45, allocations: 105.1 kB / 5.688 GB, free: 74.35 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.064e-05/12.45, allocations: 7.906 kB / 5.688 GB, free: 74.34 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000128/12.45, allocations: 124.9 kB / 5.688 GB, free: 74.21 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.751e-05/12.45, allocations: 180.3 kB / 5.688 GB, free: 74.03 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.746e-05/12.45, allocations: 176.3 kB / 5.689 GB, free: 73.85 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.784e-05/12.45, allocations: 184.2 kB / 5.689 GB, free: 73.66 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001624/12.45, allocations: 389.1 kB / 5.689 GB, free: 73.24 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.137e-05/12.45, allocations: 101 kB / 5.689 GB, free: 73.13 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.48e-05/12.45, allocations: 108.9 kB / 5.689 GB, free: 73.02 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-05/12.45, allocations: 184.3 kB / 5.69 GB, free: 72.83 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.346e-05/12.45, allocations: 184.5 kB / 5.69 GB, free: 72.64 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.883e-05/12.45, allocations: 181.9 kB / 5.69 GB, free: 72.46 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-05/12.45, allocations: 176.3 kB / 5.69 GB, free: 72.28 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001068/12.45, allocations: 315.7 kB / 5.69 GB, free: 71.95 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.818e-05/12.45, allocations: 182.1 kB / 5.691 GB, free: 71.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.487e-05/12.45, allocations: 188.2 kB / 5.691 GB, free: 71.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/12.45, allocations: 108.9 kB / 5.691 GB, free: 71.44 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.109e-05/12.45, allocations: 176.3 kB / 5.691 GB, free: 71.26 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.101e-05/12.45, allocations: 101 kB / 5.691 GB, free: 71.16 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.552e-05/12.45, allocations: 87.27 kB / 5.691 GB, free: 71.07 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0007888/12.45, allocations: 155.8 kB / 5.691 GB, free: 70.92 MB / 0.5261 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.00165/12.45, allocations: 0.9506 MB / 5.692 GB, free: 69.96 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 7.402e-05/12.45, allocations: 12 kB / 5.692 GB, free: 69.95 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/12.45, allocations: 0 / 5.692 GB, free: 69.95 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.985e-06/12.45, allocations: 7.219 kB / 5.692 GB, free: 69.95 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002879/12.45, allocations: 0.5303 MB / 5.693 GB, free: 69.41 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002082/12.45, allocations: 119.4 kB / 5.693 GB, free: 69.27 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001976/12.45, allocations: 0.688 MB / 5.694 GB, free: 68.55 MB / 0.5261 GB Notification: Performance of SimCode: time 2.31e-07/12.45, allocations: 7.938 kB / 5.694 GB, free: 68.55 MB / 0.5261 GB Notification: Performance of Templates: time 0.009437/12.46, allocations: 5.391 MB / 5.699 GB, free: 63.16 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirTemperatureEnthalpyInversion.makefile (rm -f Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirTemperatureEnthalpyInversion.sim & ./Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirTemperatureEnthalpyInversion.pipe 2>&1)