Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.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.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") [: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.496/1.496, 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.001086/0.001086, allocations: 177.3 kB / 366.3 MB, free: 1.996 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.248/1.248, allocations: 205.2 MB / 0.6256 GB, free: 5.902 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.0009059/0.0009059, allocations: 81.19 kB / 0.7395 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.113e-06/7.133e-06, allocations: 0 / 0.859 GB, free: 13.38 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6591/0.6592, allocations: 116.3 MB / 0.9726 GB, free: 68.68 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1775/0.8368, allocations: 139.1 MB / 1.108 GB, free: 9.391 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000213/0.837, allocations: 80.58 kB / 1.108 GB, free: 9.312 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.005284/0.8423, allocations: 1.474 MB / 1.11 GB, free: 7.855 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.768e-06/0.8424, allocations: 0 / 1.11 GB, free: 7.855 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.00033/0.8427, allocations: 338.4 kB / 1.11 GB, free: 7.48 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.8427, allocations: 8.031 kB / 1.11 GB, free: 7.473 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003877/0.8431, allocations: 31.95 kB / 1.11 GB, free: 7.441 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/0.8433, allocations: 163 kB / 1.11 GB, free: 7.242 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.8433, allocations: 4 kB / 1.11 GB, free: 7.238 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.128e-05/0.8433, allocations: 4 kB / 1.11 GB, free: 7.234 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.198e-05/0.8434, allocations: 17.17 kB / 1.11 GB, free: 7.219 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.234e-05/0.8435, allocations: 37.67 kB / 1.111 GB, free: 7.176 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.293e-06/0.8435, allocations: 0 / 1.111 GB, free: 7.176 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.8435, allocations: 0 / 1.111 GB, free: 7.176 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.8435, allocations: 0 / 1.111 GB, free: 7.176 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001847/0.8437, allocations: 138.1 kB / 1.111 GB, free: 7.004 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.776e-05/0.8438, allocations: 39.66 kB / 1.111 GB, free: 6.957 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.298e-05/0.8438, allocations: 18.3 kB / 1.111 GB, free: 6.938 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.321e-05/0.8439, allocations: 3.984 kB / 1.111 GB, free: 6.934 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.028e-05/0.8439, allocations: 30.56 kB / 1.111 GB, free: 6.895 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.8439, allocations: 0 / 1.111 GB, free: 6.895 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001784/0.8441, allocations: 49.67 kB / 1.111 GB, free: 6.84 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.24e-05/0.8441, allocations: 51.41 kB / 1.111 GB, free: 6.777 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.601e-05/0.8442, allocations: 97.03 kB / 1.111 GB, free: 6.676 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.8442, allocations: 25.7 kB / 1.111 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.687e-05/0.8443, allocations: 80.14 kB / 1.111 GB, free: 6.562 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.483e-05/0.8443, allocations: 11.78 kB / 1.111 GB, free: 6.551 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.51e-06/0.8443, allocations: 0 / 1.111 GB, free: 6.551 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.8444, allocations: 319.6 kB / 1.111 GB, free: 6.23 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.279e-05/0.8445, allocations: 11.98 kB / 1.111 GB, free: 6.219 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.527e-05/0.8445, allocations: 4 kB / 1.111 GB, free: 6.215 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.541e-05/0.8445, allocations: 8.062 kB / 1.111 GB, free: 6.207 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.8445, allocations: 4 kB / 1.111 GB, free: 6.203 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.272e-05/0.8446, allocations: 49.67 kB / 1.111 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.8446, allocations: 4 kB / 1.111 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/0.8446, allocations: 192 / 1.111 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.8447, allocations: 3.938 kB / 1.111 GB, free: 6.141 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.8448, allocations: 12.83 kB / 1.111 GB, free: 6.129 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.8448, allocations: 2.422 kB / 1.111 GB, free: 6.129 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.565e-05/0.8449, allocations: 3.984 kB / 1.111 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.366e-06/0.8449, allocations: 8.031 kB / 1.111 GB, free: 6.117 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.0001061/0.845, allocations: 104.9 kB / 1.112 GB, free: 6.008 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.498e-06/0.845, allocations: 0 / 1.112 GB, free: 6.008 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.065e-05/0.8451, allocations: 8.234 kB / 1.112 GB, free: 5.996 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.8451, allocations: 7.938 kB / 1.112 GB, free: 5.988 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.8451, allocations: 0.625 kB / 1.112 GB, free: 5.988 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.8451, allocations: 4 kB / 1.112 GB, free: 5.984 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.822e-05/0.8452, allocations: 138.1 kB / 1.112 GB, free: 5.812 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.8452, allocations: 0 / 1.112 GB, free: 5.812 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.373e-05/0.8453, allocations: 8.672 kB / 1.112 GB, free: 5.805 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.8453, allocations: 0.6562 kB / 1.112 GB, free: 5.805 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.8453, allocations: 0 / 1.112 GB, free: 5.805 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.8453, allocations: 4 kB / 1.112 GB, free: 5.801 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.8453, allocations: 0 / 1.112 GB, free: 5.801 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001104/0.8455, allocations: 81.52 kB / 1.112 GB, free: 5.703 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.756e-05/0.8455, allocations: 77.11 kB / 1.112 GB, free: 5.609 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.974e-05/0.8456, allocations: 7.984 kB / 1.112 GB, free: 5.602 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.576e-05/0.8456, allocations: 2.25 kB / 1.112 GB, free: 5.602 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.455e-05/0.8457, allocations: 4.406 kB / 1.112 GB, free: 5.598 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.8457, allocations: 4 kB / 1.112 GB, free: 5.594 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.839e-05/0.8457, allocations: 75.28 kB / 1.112 GB, free: 5.52 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001913/0.8459, allocations: 15.98 kB / 1.112 GB, free: 5.504 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.0001956/0.8461, allocations: 127.2 kB / 1.112 GB, free: 5.367 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.032e-05/0.8462, allocations: 15.98 kB / 1.112 GB, free: 5.352 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.8462, allocations: 0 / 1.112 GB, free: 5.352 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.113e-05/0.8463, allocations: 11.98 kB / 1.112 GB, free: 5.34 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001414/0.8464, allocations: 8 kB / 1.112 GB, free: 5.332 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002642/0.8467, allocations: 66.5 kB / 1.112 GB, free: 5.246 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002481/0.8469, allocations: 0.6918 MB / 1.113 GB, free: 4.527 MB / 0.7136 GB Notification: Performance of SimCode: time 1.453e-06/0.8469, allocations: 0 / 1.113 GB, free: 4.527 MB / 0.7136 GB Notification: Performance of Templates: time 0.002868/0.8498, allocations: 0.8859 MB / 1.114 GB, free: 3.676 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)