Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirComparison.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.PerfectGases.Examples.MoistAirComparison,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirComparison") translateModel(Buildings.Media.PerfectGases.Examples.MoistAirComparison,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirComparison") [: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.5104/0.5104, allocations: 94.74 MB / 102 MB, free: 10.36 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.001665/0.001666, allocations: 177.7 kB / 125.3 MB, free: 11.98 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.582/1.582, allocations: 170.5 MB / 319 MB, free: 9.344 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.001789/0.001789, allocations: 113.7 kB / 381 MB, free: 18.14 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 9.378e-06/9.398e-06, allocations: 224 / 448.6 MB, free: 2.109 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1642/0.1642, allocations: 61.51 MB / 0.4981 GB, free: 4.496 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.75/11.91, allocations: 5.12 GB / 5.618 GB, free: 159.9 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003804/11.91, allocations: 84.95 kB / 5.619 GB, free: 159.9 MB / 0.5261 GB Notification: Performance of FrontEnd: time 0.1532/12.07, allocations: 75.22 MB / 5.692 GB, free: 86.74 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.768e-06/12.07, allocations: 7.938 kB / 5.692 GB, free: 86.73 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008218/12.07, allocations: 497.9 kB / 5.692 GB, free: 86.2 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/12.07, allocations: 8.781 kB / 5.692 GB, free: 86.19 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.629e-05/12.07, allocations: 8.219 kB / 5.693 GB, free: 86.19 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/12.07, allocations: 166.9 kB / 5.693 GB, free: 85.98 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.826e-05/12.07, allocations: 4 kB / 5.693 GB, free: 85.98 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.958e-05/12.07, allocations: 4 kB / 5.693 GB, free: 85.98 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002555/12.07, allocations: 119.8 kB / 5.693 GB, free: 85.86 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000149/12.07, allocations: 81.66 kB / 5.693 GB, free: 85.77 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/12.07, allocations: 11.98 kB / 5.693 GB, free: 85.76 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.749e-05/12.07, allocations: 0 / 5.693 GB, free: 85.76 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.314e-05/12.07, allocations: 7.984 kB / 5.693 GB, free: 85.75 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004522/12.07, allocations: 317.3 kB / 5.693 GB, free: 85.41 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001341/12.07, allocations: 88.34 kB / 5.693 GB, free: 85.31 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.934e-05/12.07, allocations: 44.8 kB / 5.693 GB, free: 85.27 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002888/12.07, allocations: 336.4 kB / 5.694 GB, free: 84.86 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/12.07, allocations: 34.56 kB / 5.694 GB, free: 84.82 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=15): time 2.054e-06/12.07, allocations: 0 / 5.694 GB, free: 84.82 MB / 0.5261 GB Notification: Performance of matching and sorting (n=15): time 0.0006775/12.07, allocations: 145.5 kB / 5.694 GB, free: 84.67 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.602e-05/12.07, allocations: 55.41 kB / 5.694 GB, free: 84.61 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.248e-05/12.07, allocations: 101.3 kB / 5.694 GB, free: 84.5 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/12.07, allocations: 25.7 kB / 5.694 GB, free: 84.47 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.439e-05/12.07, allocations: 87.98 kB / 5.694 GB, free: 84.38 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.752e-05/12.07, allocations: 51.27 kB / 5.694 GB, free: 84.33 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.602e-06/12.07, allocations: 0 / 5.694 GB, free: 84.33 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.172e-05/12.07, allocations: 314.8 kB / 5.694 GB, free: 84.01 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.391e-05/12.07, allocations: 24 kB / 5.694 GB, free: 83.99 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.358e-05/12.07, allocations: 50.62 kB / 5.694 GB, free: 83.93 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004151/12.07, allocations: 88.89 kB / 5.695 GB, free: 83.84 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/12.07, allocations: 0 / 5.695 GB, free: 83.84 MB / 0.5261 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005003/12.07, allocations: 164 kB / 5.695 GB, free: 83.68 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/12.07, allocations: 7.938 kB / 5.695 GB, free: 83.67 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/12.07, allocations: 8.969 kB / 5.695 GB, free: 83.66 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/12.07, allocations: 0 / 5.695 GB, free: 83.66 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002094/12.07, allocations: 35.98 kB / 5.695 GB, free: 83.63 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/12.07, allocations: 3.984 kB / 5.695 GB, free: 83.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.527e-05/12.07, allocations: 15.91 kB / 5.695 GB, free: 83.61 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.782e-05/12.07, allocations: 8 kB / 5.695 GB, free: 83.6 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 (17): * Single equations (assignments): 17 * 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 8.264e-05/12.07, allocations: 108.9 kB / 5.695 GB, free: 83.49 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.67e-05/12.07, allocations: 7.906 kB / 5.695 GB, free: 83.48 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000646/12.07, allocations: 201 kB / 5.695 GB, free: 83.28 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/12.07, allocations: 4 kB / 5.695 GB, free: 83.28 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/12.07, allocations: 0 / 5.695 GB, free: 83.28 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/12.07, allocations: 0 / 5.695 GB, free: 83.28 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001495/12.07, allocations: 166 kB / 5.695 GB, free: 83.08 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/12.07, allocations: 4 kB / 5.695 GB, free: 83.07 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001681/12.07, allocations: 39.91 kB / 5.695 GB, free: 83.04 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/12.07, allocations: 4 kB / 5.695 GB, free: 83.03 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/12.07, allocations: 0 / 5.695 GB, free: 83.03 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/12.07, allocations: 0 / 5.695 GB, free: 83.03 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/12.07, allocations: 3.984 kB / 5.695 GB, free: 83.03 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005328/12.07, allocations: 263.2 kB / 5.696 GB, free: 82.75 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.83e-05/12.07, allocations: 81.11 kB / 5.696 GB, free: 82.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.251e-05/12.07, allocations: 6.156 kB / 5.696 GB, free: 82.65 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000125/12.07, allocations: 11.98 kB / 5.696 GB, free: 82.64 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.927e-05/12.07, allocations: 7.984 kB / 5.696 GB, free: 82.63 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.766e-05/12.07, allocations: 8 kB / 5.696 GB, free: 82.62 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.349e-05/12.07, allocations: 79.28 kB / 5.696 GB, free: 82.55 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000772/12.07, allocations: 223.7 kB / 5.696 GB, free: 82.33 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 (16): * Single equations (assignments): 16 * 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.001851/12.08, allocations: 0.9876 MB / 5.697 GB, free: 81.35 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001827/12.08, allocations: 79.92 kB / 5.697 GB, free: 81.27 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/12.08, allocations: 0 / 5.697 GB, free: 81.27 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 5.432e-05/12.08, allocations: 51.92 kB / 5.697 GB, free: 81.22 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001966/12.08, allocations: 4.859 kB / 5.697 GB, free: 81.22 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003355/12.08, allocations: 112.3 kB / 5.697 GB, free: 81.09 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002474/12.08, allocations: 0.7351 MB / 5.698 GB, free: 80.32 MB / 0.5261 GB Notification: Performance of SimCode: time 5.91e-07/12.08, allocations: 0 / 5.698 GB, free: 80.32 MB / 0.5261 GB Notification: Performance of Templates: time 0.01124/12.09, allocations: 7.172 MB / 5.705 GB, free: 73.18 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirComparison.makefile (rm -f Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirComparison.pipe ; mkfifo Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirComparison.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirComparison.pipe >> ../files/Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirComparison.sim & ./Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirComparison -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirComparison.pipe 2>&1)