Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.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.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.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.501/1.501, allocations: 289.8 MB / 297.1 MB, free: 6.664 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.0009899/0.00099, allocations: 173.3 kB / 366.3 MB, free: 1.949 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.524/1.524, allocations: 205.2 MB / 0.6256 GB, free: 5.773 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.0009176/0.0009178, allocations: 82 kB / 0.7395 GB, free: 39.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.478e-06/9.498e-06, allocations: 4 kB / 0.859 GB, free: 13.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.649/0.649, allocations: 116.3 MB / 0.9726 GB, free: 68.51 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1734/0.8224, allocations: 139.5 MB / 1.109 GB, free: 8.859 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002203/0.8227, allocations: 75.95 kB / 1.109 GB, free: 8.785 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.006197/0.8289, allocations: 1.657 MB / 1.111 GB, free: 7.145 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.572e-06/0.8289, allocations: 0 / 1.111 GB, free: 7.145 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.0003792/0.8293, allocations: 362.3 kB / 1.111 GB, free: 6.746 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.8294, allocations: 8.031 kB / 1.111 GB, free: 6.738 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003945/0.8298, allocations: 31.86 kB / 1.111 GB, free: 6.707 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.8299, allocations: 163 kB / 1.111 GB, free: 6.508 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.8299, allocations: 4 kB / 1.111 GB, free: 6.504 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.266e-05/0.8299, allocations: 0 / 1.111 GB, free: 6.504 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.541e-05/0.83, allocations: 27.98 kB / 1.111 GB, free: 6.477 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.874e-05/0.8301, allocations: 41.67 kB / 1.111 GB, free: 6.43 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.8302, allocations: 4 kB / 1.111 GB, free: 6.426 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.8302, allocations: 3.906 kB / 1.111 GB, free: 6.422 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.8302, allocations: 0 / 1.111 GB, free: 6.422 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004525/0.8306, allocations: 241.5 kB / 1.111 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.774e-05/0.8307, allocations: 46.42 kB / 1.111 GB, free: 6.094 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.677e-05/0.8308, allocations: 20.91 kB / 1.111 GB, free: 6.07 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.8308, allocations: 0 / 1.111 GB, free: 6.07 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.8308, allocations: 30.56 kB / 1.111 GB, free: 6.031 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.8308, allocations: 0 / 1.111 GB, free: 6.031 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001925/0.831, allocations: 51.09 kB / 1.112 GB, free: 5.977 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.035e-05/0.8311, allocations: 55.41 kB / 1.112 GB, free: 5.91 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.37e-05/0.8312, allocations: 101 kB / 1.112 GB, free: 5.805 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.8312, allocations: 25.7 kB / 1.112 GB, free: 5.773 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.246e-05/0.8312, allocations: 80.14 kB / 1.112 GB, free: 5.691 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.784e-05/0.8313, allocations: 3.906 kB / 1.112 GB, free: 5.688 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.961e-06/0.8313, allocations: 0 / 1.112 GB, free: 5.688 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.8314, allocations: 314.8 kB / 1.112 GB, free: 5.371 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.719e-05/0.8314, allocations: 15.94 kB / 1.112 GB, free: 5.355 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.294e-05/0.8314, allocations: 7.984 kB / 1.112 GB, free: 5.348 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.677e-05/0.8315, allocations: 12.06 kB / 1.112 GB, free: 5.336 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.8315, allocations: 0 / 1.112 GB, free: 5.336 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001032/0.8316, allocations: 61.58 kB / 1.112 GB, free: 5.27 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.8316, allocations: 7.938 kB / 1.112 GB, free: 5.262 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.8316, allocations: 4 kB / 1.112 GB, free: 5.258 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.8316, allocations: 1.312 kB / 1.112 GB, free: 5.258 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00015/0.8318, allocations: 11.98 kB / 1.112 GB, free: 5.246 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.8318, allocations: 8.031 kB / 1.112 GB, free: 5.238 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001015/0.8319, allocations: 11.98 kB / 1.112 GB, free: 5.227 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.746e-06/0.8319, allocations: 0 / 1.112 GB, free: 5.227 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 7.133e-05/0.832, allocations: 104.9 kB / 1.112 GB, free: 5.117 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.738e-05/0.832, allocations: 4 kB / 1.112 GB, free: 5.113 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.269e-05/0.8321, allocations: 15.48 kB / 1.112 GB, free: 5.094 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.8321, allocations: 1.781 kB / 1.112 GB, free: 5.094 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.8321, allocations: 3.984 kB / 1.112 GB, free: 5.09 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.8321, allocations: 0 / 1.112 GB, free: 5.09 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001373/0.8323, allocations: 150.1 kB / 1.112 GB, free: 4.906 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.8323, allocations: 0 / 1.112 GB, free: 4.906 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001444/0.8324, allocations: 23.92 kB / 1.112 GB, free: 4.883 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.8324, allocations: 0 / 1.112 GB, free: 4.883 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.8325, allocations: 3.984 kB / 1.112 GB, free: 4.879 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.8325, allocations: 0 / 1.112 GB, free: 4.879 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.8325, allocations: 0 / 1.112 GB, free: 4.879 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000143/0.8326, allocations: 153.9 kB / 1.113 GB, free: 4.715 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.283e-05/0.8327, allocations: 77.11 kB / 1.113 GB, free: 4.621 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.156e-05/0.8327, allocations: 8.016 kB / 1.113 GB, free: 4.613 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001363/0.8328, allocations: 16 kB / 1.113 GB, free: 4.598 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.712e-05/0.8329, allocations: 7.891 kB / 1.113 GB, free: 4.59 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.683e-06/0.8329, allocations: 0 / 1.113 GB, free: 4.59 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.012e-05/0.8329, allocations: 79.28 kB / 1.113 GB, free: 4.512 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002274/0.8332, allocations: 16 kB / 1.113 GB, free: 4.496 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.0001824/0.8334, allocations: 115.2 kB / 1.113 GB, free: 4.375 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.884e-05/0.8335, allocations: 29.33 kB / 1.113 GB, free: 4.348 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.8335, allocations: 0 / 1.113 GB, free: 4.348 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.008e-05/0.8335, allocations: 15.98 kB / 1.113 GB, free: 4.332 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001558/0.8337, allocations: 4 kB / 1.113 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003507/0.834, allocations: 87.94 kB / 1.113 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002579/0.8343, allocations: 0.6919 MB / 1.114 GB, free: 3.5 MB / 0.7136 GB Notification: Performance of SimCode: time 2.2e-07/0.8343, allocations: 0 / 1.114 GB, free: 3.5 MB / 0.7136 GB Notification: Performance of Templates: time 0.003057/0.8374, allocations: 0.9267 MB / 1.115 GB, free: 2.605 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.makefile (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)