Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") [: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.455/1.455, allocations: 289.8 MB / 297.1 MB, free: 6.676 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.001048/0.001048, allocations: 181.2 kB / 366.3 MB, free: 1.984 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.208/1.208, allocations: 205.1 MB / 0.6256 GB, free: 5.82 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.0009223/0.0009222, allocations: 88.12 kB / 0.7396 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.412e-06/6.432e-06, allocations: 0 / 0.859 GB, free: 13.37 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6686/0.6686, allocations: 116.3 MB / 0.9725 GB, free: 68.28 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1871/0.8558, allocations: 138.6 MB / 1.108 GB, free: 9.898 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002638/0.8561, allocations: 75.94 kB / 1.108 GB, free: 9.824 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.003156/0.8593, allocations: 0.6697 MB / 1.109 GB, free: 9.168 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.017e-06/0.8593, allocations: 0 / 1.109 GB, free: 9.168 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.000422/0.8597, allocations: 342.4 kB / 1.109 GB, free: 8.789 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.8598, allocations: 8.031 kB / 1.109 GB, free: 8.781 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001355/0.8599, allocations: 17.3 kB / 1.109 GB, free: 8.766 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000181/0.8601, allocations: 159.1 kB / 1.109 GB, free: 8.57 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.8601, allocations: 4 kB / 1.109 GB, free: 8.566 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.8602, allocations: 0 / 1.109 GB, free: 8.566 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.594e-05/0.8603, allocations: 4 kB / 1.109 GB, free: 8.562 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.212e-05/0.8604, allocations: 42.19 kB / 1.109 GB, free: 8.516 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.8604, allocations: 4 kB / 1.109 GB, free: 8.512 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.8604, allocations: 7.891 kB / 1.109 GB, free: 8.504 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.8604, allocations: 0 / 1.109 GB, free: 8.504 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004691/0.8609, allocations: 229.5 kB / 1.109 GB, free: 8.242 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.287e-05/0.861, allocations: 26.61 kB / 1.109 GB, free: 8.207 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.041e-05/0.861, allocations: 8.922 kB / 1.109 GB, free: 8.195 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.861, allocations: 3.906 kB / 1.109 GB, free: 8.191 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.121e-05/0.8611, allocations: 35.06 kB / 1.109 GB, free: 8.148 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.482e-06/0.8611, allocations: 0 / 1.109 GB, free: 8.148 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001728/0.8612, allocations: 46.86 kB / 1.11 GB, free: 8.098 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.576e-05/0.8613, allocations: 51.41 kB / 1.11 GB, free: 8.035 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.121e-05/0.8614, allocations: 96.98 kB / 1.11 GB, free: 7.934 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.8614, allocations: 25.7 kB / 1.11 GB, free: 7.902 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.78e-05/0.8615, allocations: 84.08 kB / 1.11 GB, free: 7.816 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.804e-05/0.8615, allocations: 3.906 kB / 1.11 GB, free: 7.812 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.857e-06/0.8615, allocations: 0 / 1.11 GB, free: 7.812 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.8616, allocations: 322.9 kB / 1.11 GB, free: 7.488 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.44e-05/0.8617, allocations: 0 / 1.11 GB, free: 7.488 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.336e-05/0.8617, allocations: 4 kB / 1.11 GB, free: 7.484 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.082e-05/0.8617, allocations: 8 kB / 1.11 GB, free: 7.477 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.8617, allocations: 0 / 1.11 GB, free: 7.477 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.625e-05/0.8618, allocations: 45.59 kB / 1.11 GB, free: 7.426 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.8618, allocations: 10 kB / 1.11 GB, free: 7.418 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.8618, allocations: 0 / 1.11 GB, free: 7.418 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.8618, allocations: 8.031 kB / 1.11 GB, free: 7.41 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.862, allocations: 16.61 kB / 1.11 GB, free: 7.395 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.862, allocations: 0 / 1.11 GB, free: 7.395 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.079e-05/0.862, allocations: 8 kB / 1.11 GB, free: 7.387 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.8621, allocations: 0 / 1.11 GB, free: 7.387 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 0.0001481/0.8622, allocations: 112.9 kB / 1.11 GB, free: 7.27 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.661e-05/0.8622, allocations: 4 kB / 1.11 GB, free: 7.266 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001309/0.8624, allocations: 45 kB / 1.11 GB, free: 7.211 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.8624, allocations: 0 / 1.11 GB, free: 7.211 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.8624, allocations: 0.5625 kB / 1.11 GB, free: 7.211 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.8624, allocations: 0 / 1.11 GB, free: 7.211 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000155/0.8626, allocations: 142.1 kB / 1.11 GB, free: 7.035 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.8626, allocations: 7.984 kB / 1.11 GB, free: 7.027 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.763e-05/0.8627, allocations: 15.94 kB / 1.11 GB, free: 7.012 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.8627, allocations: 0 / 1.11 GB, free: 7.012 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.8627, allocations: 4 kB / 1.11 GB, free: 7.008 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.8627, allocations: 0 / 1.11 GB, free: 7.008 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/0.8627, allocations: 3.984 kB / 1.11 GB, free: 7.004 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001188/0.8628, allocations: 143.5 kB / 1.111 GB, free: 6.848 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.697e-05/0.8629, allocations: 81.09 kB / 1.111 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.494e-05/0.8629, allocations: 1.219 kB / 1.111 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.483e-05/0.863, allocations: 8 kB / 1.111 GB, free: 6.742 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.838e-05/0.8631, allocations: 7.891 kB / 1.111 GB, free: 6.734 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.8631, allocations: 4 kB / 1.111 GB, free: 6.73 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.533e-05/0.8631, allocations: 75.56 kB / 1.111 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002125/0.8633, allocations: 8 kB / 1.111 GB, free: 6.648 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 (3): * Single equations (assignments): 3 * 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.0001316/0.8635, allocations: 99.39 kB / 1.111 GB, free: 6.543 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.526e-05/0.8636, allocations: 19.94 kB / 1.111 GB, free: 6.523 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.8636, allocations: 0 / 1.111 GB, free: 6.523 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.837e-05/0.8636, allocations: 15.97 kB / 1.111 GB, free: 6.508 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001929/0.8638, allocations: 0.6562 kB / 1.111 GB, free: 6.508 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000241/0.8641, allocations: 59.92 kB / 1.111 GB, free: 6.426 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003108/0.8644, allocations: 0.692 MB / 1.112 GB, free: 5.707 MB / 0.7136 GB Notification: Performance of SimCode: time 2.31e-07/0.8644, allocations: 3.938 kB / 1.112 GB, free: 5.703 MB / 0.7136 GB Notification: Performance of Templates: time 0.002375/0.8668, allocations: 456.6 kB / 1.112 GB, free: 5.293 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)