Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.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.Utilities.Psychrometrics.Examples.SublimationPressureIce,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce") translateModel(Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce") [: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.464/1.464, allocations: 289.8 MB / 297.1 MB, free: 6.695 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.001101/0.001101, allocations: 181.3 kB / 366.3 MB, free: 2 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.277/1.277, allocations: 205.1 MB / 0.6256 GB, free: 5.809 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.0009095/0.0009097, allocations: 94.84 kB / 0.7396 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.685e-06/7.724e-06, allocations: 0 / 0.859 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.647/0.647, allocations: 116.3 MB / 0.9725 GB, free: 68.39 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.191/0.8381, allocations: 138.7 MB / 1.108 GB, free: 9.707 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002647/0.8384, allocations: 80.38 kB / 1.108 GB, free: 9.629 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.003944/0.8424, allocations: 0.9576 MB / 1.109 GB, free: 8.688 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.155e-06/0.8424, allocations: 0 / 1.109 GB, free: 8.688 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004665/0.8429, allocations: 346.4 kB / 1.109 GB, free: 8.305 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.8429, allocations: 8.031 kB / 1.109 GB, free: 8.297 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.02e-05/0.843, allocations: 7.906 kB / 1.109 GB, free: 8.289 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001567/0.8431, allocations: 167 kB / 1.11 GB, free: 8.086 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.8432, allocations: 0 / 1.11 GB, free: 8.086 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.468e-05/0.8432, allocations: 4 kB / 1.11 GB, free: 8.082 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.96e-05/0.8433, allocations: 8 kB / 1.11 GB, free: 8.074 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.337e-05/0.8433, allocations: 37.67 kB / 1.11 GB, free: 8.031 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.8434, allocations: 4 kB / 1.11 GB, free: 8.027 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.8434, allocations: 3.906 kB / 1.11 GB, free: 8.023 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.89e-06/0.8434, allocations: 0 / 1.11 GB, free: 8.023 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003179/0.8437, allocations: 225.5 kB / 1.11 GB, free: 7.766 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.544e-05/0.8438, allocations: 30.52 kB / 1.11 GB, free: 7.727 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.8e-05/0.8438, allocations: 14.33 kB / 1.11 GB, free: 7.711 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.391e-05/0.8438, allocations: 7.906 kB / 1.11 GB, free: 7.703 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.083e-05/0.8439, allocations: 30.56 kB / 1.11 GB, free: 7.664 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.8439, allocations: 0 / 1.11 GB, free: 7.664 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001605/0.844, allocations: 41.69 kB / 1.11 GB, free: 7.617 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.977e-05/0.8441, allocations: 51.41 kB / 1.11 GB, free: 7.555 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.511e-05/0.8441, allocations: 89 kB / 1.11 GB, free: 7.461 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.8442, allocations: 25.7 kB / 1.11 GB, free: 7.43 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.022e-05/0.8442, allocations: 88.17 kB / 1.11 GB, free: 7.34 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.708e-05/0.8442, allocations: 7.906 kB / 1.11 GB, free: 7.332 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.377e-06/0.8442, allocations: 0 / 1.11 GB, free: 7.332 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.8444, allocations: 314.8 kB / 1.11 GB, free: 7.016 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.578e-05/0.8444, allocations: 8 kB / 1.111 GB, free: 7.008 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.505e-05/0.8444, allocations: 7.938 kB / 1.111 GB, free: 7 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.659e-05/0.8444, allocations: 0 / 1.111 GB, free: 7 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.8444, allocations: 0.6562 kB / 1.111 GB, free: 7 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.845e-05/0.8445, allocations: 45.61 kB / 1.111 GB, free: 6.949 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.031e-05/0.8445, allocations: 8.094 kB / 1.111 GB, free: 6.941 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.8445, allocations: 0 / 1.111 GB, free: 6.941 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.8446, allocations: 0 / 1.111 GB, free: 6.941 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.8447, allocations: 19.92 kB / 1.111 GB, free: 6.922 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.657e-06/0.8447, allocations: 1.641 kB / 1.111 GB, free: 6.922 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.697e-05/0.8448, allocations: 12.92 kB / 1.111 GB, free: 6.91 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.643e-06/0.8448, allocations: 4 kB / 1.111 GB, free: 6.906 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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.793e-05/0.8448, allocations: 105.6 kB / 1.111 GB, free: 6.797 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.363e-05/0.8449, allocations: 0 / 1.111 GB, free: 6.797 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001125/0.845, allocations: 50.06 kB / 1.111 GB, free: 6.738 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.845, allocations: 0 / 1.111 GB, free: 6.738 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.845, allocations: 8 kB / 1.111 GB, free: 6.73 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.845, allocations: 0 / 1.111 GB, free: 6.73 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001298/0.8451, allocations: 142.2 kB / 1.111 GB, free: 6.555 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.8452, allocations: 4 kB / 1.111 GB, free: 6.551 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.685e-05/0.8452, allocations: 11.98 kB / 1.111 GB, free: 6.539 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.8452, allocations: 0 / 1.111 GB, free: 6.539 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.8453, allocations: 0.9375 kB / 1.111 GB, free: 6.539 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.8453, allocations: 0 / 1.111 GB, free: 6.539 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.8453, allocations: 0 / 1.111 GB, free: 6.539 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001091/0.8454, allocations: 147.5 kB / 1.111 GB, free: 6.379 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.629e-05/0.8454, allocations: 77.11 kB / 1.111 GB, free: 6.285 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.333e-05/0.8454, allocations: 0 / 1.111 GB, free: 6.285 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.806e-05/0.8455, allocations: 11.98 kB / 1.111 GB, free: 6.273 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.003e-05/0.8456, allocations: 3.938 kB / 1.111 GB, free: 6.27 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.211e-06/0.8456, allocations: 7.906 kB / 1.111 GB, free: 6.262 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.549e-05/0.8456, allocations: 79.5 kB / 1.111 GB, free: 6.184 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002212/0.8459, allocations: 24.48 kB / 1.111 GB, free: 6.16 MB / 0.7136 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 (2): * Single equations (assignments): 2 * 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.000178/0.846, allocations: 103.2 kB / 1.111 GB, free: 6.051 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.552e-05/0.8461, allocations: 15.98 kB / 1.111 GB, free: 6.035 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.8461, allocations: 0 / 1.111 GB, free: 6.035 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.444e-05/0.8462, allocations: 12 kB / 1.111 GB, free: 6.023 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001613/0.8463, allocations: 5.344 kB / 1.111 GB, free: 6.02 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002227/0.8466, allocations: 59.86 kB / 1.111 GB, free: 5.938 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002519/0.8468, allocations: 0.688 MB / 1.112 GB, free: 5.223 MB / 0.7136 GB Notification: Performance of SimCode: time 1.383e-06/0.8468, allocations: 0 / 1.112 GB, free: 5.223 MB / 0.7136 GB Notification: Performance of Templates: time 0.002549/0.8494, allocations: 0.5753 MB / 1.113 GB, free: 4.676 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.makefile (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.sim & ./Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe 2>&1)