Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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/Complex 4.0.0+maint.om/package.mo): time 0.001235/0.001235, allocations: 184.1 kB / 7.804 MB, free: 2.492 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.445/0.445, allocations: 90.85 MB / 99.07 MB, free: 14.95 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.22/1.22, allocations: 221.4 MB / 342.8 MB, free: 5.242 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00097/0.0009701, allocations: 95.19 kB / 415.5 MB, free: 6.426 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 7.123e-06/7.154e-06, allocations: 0 / 493.9 MB, free: 8.082 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3609/0.3609, allocations: 72.3 MB / 0.5529 GB, free: 73.38 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1188/0.4797, allocations: 101.2 MB / 0.6517 GB, free: 8.844 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002597/0.48, allocations: 75.94 kB / 0.6518 GB, free: 8.77 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.002778/0.4828, allocations: 0.679 MB / 0.6524 GB, free: 8.113 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.4829, allocations: 4.75 kB / 0.6524 GB, free: 8.109 MB / 474.7 MB 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.0003332/0.4832, allocations: 341 kB / 0.6528 GB, free: 7.734 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.4832, allocations: 13.19 kB / 0.6528 GB, free: 7.723 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.668e-05/0.4834, allocations: 0 / 0.6528 GB, free: 7.723 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001324/0.4835, allocations: 167.1 kB / 0.6529 GB, free: 7.52 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.4835, allocations: 4.844 kB / 0.6529 GB, free: 7.516 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.079e-05/0.4835, allocations: 0 / 0.6529 GB, free: 7.516 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.639e-05/0.4836, allocations: 15.94 kB / 0.6529 GB, free: 7.5 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.847e-05/0.4837, allocations: 45.61 kB / 0.653 GB, free: 7.453 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.4837, allocations: 3.828 kB / 0.653 GB, free: 7.453 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.4837, allocations: 0.9375 kB / 0.653 GB, free: 7.453 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.4837, allocations: 0 / 0.653 GB, free: 7.453 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003018/0.484, allocations: 223.3 kB / 0.6532 GB, free: 7.199 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.508e-05/0.4841, allocations: 27.23 kB / 0.6532 GB, free: 7.164 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.458e-05/0.4841, allocations: 9.484 kB / 0.6532 GB, free: 7.152 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.724e-05/0.4841, allocations: 4.062 kB / 0.6532 GB, free: 7.148 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/0.4842, allocations: 38.38 kB / 0.6533 GB, free: 7.105 MB / 474.7 MB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.4842, allocations: 0 / 0.6533 GB, free: 7.105 MB / 474.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001496/0.4843, allocations: 42.59 kB / 0.6533 GB, free: 7.059 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.808e-05/0.4844, allocations: 51.41 kB / 0.6534 GB, free: 6.996 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.924e-05/0.4844, allocations: 90.19 kB / 0.6535 GB, free: 6.902 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/0.4845, allocations: 25.7 kB / 0.6535 GB, free: 6.871 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.61e-05/0.4845, allocations: 92.95 kB / 0.6536 GB, free: 6.777 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.588e-05/0.4845, allocations: 4 kB / 0.6536 GB, free: 6.773 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.948e-06/0.4845, allocations: 0 / 0.6536 GB, free: 6.773 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.791e-05/0.4846, allocations: 319.6 kB / 0.6539 GB, free: 6.453 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.583e-05/0.4846, allocations: 8.781 kB / 0.6539 GB, free: 6.445 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.054e-05/0.4847, allocations: 0 / 0.6539 GB, free: 6.445 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.866e-05/0.4847, allocations: 4.938 kB / 0.6539 GB, free: 6.441 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.4847, allocations: 0 / 0.6539 GB, free: 6.441 MB / 474.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.663e-05/0.4848, allocations: 42.86 kB / 0.6539 GB, free: 6.395 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.4848, allocations: 11.98 kB / 0.6539 GB, free: 6.383 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.4848, allocations: 0.5625 kB / 0.6539 GB, free: 6.383 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.4848, allocations: 0 / 0.6539 GB, free: 6.383 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.859e-05/0.4849, allocations: 9.75 kB / 0.654 GB, free: 6.375 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.4849, allocations: 0 / 0.654 GB, free: 6.375 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.498e-05/0.485, allocations: 17.36 kB / 0.654 GB, free: 6.359 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/0.485, allocations: 0.6875 kB / 0.654 GB, free: 6.359 MB / 474.7 MB 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 5.872e-05/0.4851, allocations: 105.8 kB / 0.6541 GB, free: 6.25 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.378e-05/0.4851, allocations: 0 / 0.6541 GB, free: 6.25 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001183/0.4852, allocations: 59.48 kB / 0.6541 GB, free: 6.191 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/0.4852, allocations: 7.906 kB / 0.6541 GB, free: 6.184 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.4853, allocations: 3.938 kB / 0.6541 GB, free: 6.18 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.4853, allocations: 0 / 0.6541 GB, free: 6.18 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001434/0.4854, allocations: 138.2 kB / 0.6543 GB, free: 6.008 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.4854, allocations: 0 / 0.6543 GB, free: 6.008 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.212e-05/0.4855, allocations: 17.48 kB / 0.6543 GB, free: 5.992 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.4855, allocations: 0.6562 kB / 0.6543 GB, free: 5.992 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.141e-06/0.4855, allocations: 0 / 0.6543 GB, free: 5.992 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.4855, allocations: 1.344 kB / 0.6543 GB, free: 5.992 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.4855, allocations: 5.094 kB / 0.6543 GB, free: 5.988 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001022/0.4857, allocations: 136.1 kB / 0.6544 GB, free: 5.84 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.488e-05/0.4857, allocations: 81.58 kB / 0.6545 GB, free: 5.742 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/0.4857, allocations: 4.5 kB / 0.6545 GB, free: 5.738 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.483e-05/0.4858, allocations: 10.05 kB / 0.6545 GB, free: 5.73 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.809e-05/0.4859, allocations: 8 kB / 0.6545 GB, free: 5.723 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.446e-06/0.4859, allocations: 288 / 0.6545 GB, free: 5.723 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.49e-05/0.4859, allocations: 87.94 kB / 0.6546 GB, free: 5.637 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002011/0.4861, allocations: 4.531 kB / 0.6546 GB, free: 5.633 MB / 474.7 MB 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 9.832e-05/0.4862, allocations: 99.81 kB / 0.6547 GB, free: 5.527 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 7.343e-05/0.4863, allocations: 16.12 kB / 0.6547 GB, free: 5.512 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.4863, allocations: 0 / 0.6547 GB, free: 5.512 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 2.325e-05/0.4863, allocations: 12 kB / 0.6547 GB, free: 5.5 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001667/0.4865, allocations: 0 / 0.6547 GB, free: 5.5 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002347/0.4868, allocations: 71.67 kB / 0.6548 GB, free: 5.406 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002253/0.487, allocations: 0.6918 MB / 0.6555 GB, free: 4.688 MB / 474.7 MB Notification: Performance of SimCode: time 2.21e-07/0.487, allocations: 0 / 0.6555 GB, free: 4.688 MB / 474.7 MB Notification: Performance of Templates: time 0.002065/0.4891, allocations: 449.1 kB / 0.6559 GB, free: 4.285 MB / 474.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)