Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.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.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") translateModel(IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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/Complex 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 183.9 kB / 7.8 MB, free: 2.441 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4364/0.4364, allocations: 90.85 MB / 99.08 MB, free: 14.96 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.144/1.144, allocations: 221.4 MB / 342.8 MB, free: 5.27 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.0009967/0.0009967, allocations: 103.5 kB / 415.5 MB, free: 6.453 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 8.406e-06/8.446e-06, allocations: 4 kB / 493.9 MB, free: 8.098 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3396/0.3396, allocations: 72.3 MB / 0.5529 GB, free: 73.34 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1087/0.4484, allocations: 101.7 MB / 0.6522 GB, free: 8.336 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002195/0.4486, allocations: 83.92 kB / 0.6523 GB, free: 8.254 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.005738/0.4544, allocations: 1.505 MB / 0.6538 GB, free: 6.793 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.593e-06/0.4544, allocations: 0 / 0.6538 GB, free: 6.793 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003127/0.4547, allocations: 343.9 kB / 0.6541 GB, free: 6.414 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.4548, allocations: 8.031 kB / 0.6541 GB, free: 6.406 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003848/0.4552, allocations: 32.7 kB / 0.6541 GB, free: 6.375 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/0.4553, allocations: 167.9 kB / 0.6543 GB, free: 6.172 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.4553, allocations: 0 / 0.6543 GB, free: 6.172 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.666e-05/0.4554, allocations: 9.094 kB / 0.6543 GB, free: 6.168 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.757e-05/0.4554, allocations: 12 kB / 0.6543 GB, free: 6.156 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.208e-05/0.4555, allocations: 45.58 kB / 0.6544 GB, free: 6.105 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.4556, allocations: 0 / 0.6544 GB, free: 6.105 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.4556, allocations: 3.938 kB / 0.6544 GB, free: 6.102 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.4556, allocations: 0 / 0.6544 GB, free: 6.102 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001517/0.4557, allocations: 134.2 kB / 0.6545 GB, free: 5.934 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.058e-05/0.4558, allocations: 39.12 kB / 0.6545 GB, free: 5.887 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.352e-05/0.4559, allocations: 15.3 kB / 0.6546 GB, free: 5.871 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.108e-05/0.4559, allocations: 0.5 kB / 0.6546 GB, free: 5.871 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.317e-05/0.4559, allocations: 35.25 kB / 0.6546 GB, free: 5.828 MB / 474.7 MB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.4559, allocations: 0.5312 kB / 0.6546 GB, free: 5.828 MB / 474.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001748/0.4561, allocations: 54.17 kB / 0.6546 GB, free: 5.77 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.848e-05/0.4561, allocations: 52.03 kB / 0.6547 GB, free: 5.707 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.59e-05/0.4562, allocations: 93.52 kB / 0.6548 GB, free: 5.609 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.4562, allocations: 26.42 kB / 0.6548 GB, free: 5.578 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.207e-05/0.4563, allocations: 80.14 kB / 0.6549 GB, free: 5.496 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.782e-05/0.4563, allocations: 8.406 kB / 0.6549 GB, free: 5.488 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.611e-06/0.4563, allocations: 1.219 kB / 0.6549 GB, free: 5.488 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.4564, allocations: 322.8 kB / 0.6552 GB, free: 5.164 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.961e-05/0.4564, allocations: 5.781 kB / 0.6552 GB, free: 5.16 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.708e-05/0.4565, allocations: 12.44 kB / 0.6552 GB, free: 5.148 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.637e-05/0.4565, allocations: 8.609 kB / 0.6552 GB, free: 5.141 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.4565, allocations: 1.469 kB / 0.6552 GB, free: 5.141 MB / 474.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.404e-05/0.4566, allocations: 45.69 kB / 0.6553 GB, free: 5.09 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.4566, allocations: 4 kB / 0.6553 GB, free: 5.086 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.4566, allocations: 0.5625 kB / 0.6553 GB, free: 5.086 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.4567, allocations: 4.5 kB / 0.6553 GB, free: 5.082 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/0.4568, allocations: 12.11 kB / 0.6553 GB, free: 5.07 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.4568, allocations: 4 kB / 0.6553 GB, free: 5.066 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.437e-05/0.4569, allocations: 0 / 0.6553 GB, free: 5.066 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.4569, allocations: 0 / 0.6553 GB, free: 5.066 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 6.978e-05/0.457, allocations: 109 kB / 0.6554 GB, free: 4.953 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.317e-05/0.457, allocations: 7.906 kB / 0.6554 GB, free: 4.945 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.537e-05/0.457, allocations: 10.31 kB / 0.6554 GB, free: 4.938 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.457, allocations: 4 kB / 0.6554 GB, free: 4.934 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.4571, allocations: 0 / 0.6554 GB, free: 4.934 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.4571, allocations: 0 / 0.6554 GB, free: 4.934 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001004/0.4572, allocations: 143.6 kB / 0.6556 GB, free: 4.758 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.4572, allocations: 0 / 0.6556 GB, free: 4.758 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.589e-05/0.4573, allocations: 11.92 kB / 0.6556 GB, free: 4.746 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.4573, allocations: 0 / 0.6556 GB, free: 4.746 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.4573, allocations: 0 / 0.6556 GB, free: 4.746 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.4573, allocations: 3.906 kB / 0.6556 GB, free: 4.742 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.4573, allocations: 8 kB / 0.6556 GB, free: 4.734 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001047/0.4574, allocations: 69.11 kB / 0.6556 GB, free: 4.648 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.384e-05/0.4575, allocations: 85 kB / 0.6557 GB, free: 4.547 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.447e-05/0.4576, allocations: 4 kB / 0.6557 GB, free: 4.543 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.996e-05/0.4576, allocations: 1.812 kB / 0.6557 GB, free: 4.543 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.339e-05/0.4577, allocations: 4 kB / 0.6557 GB, free: 4.539 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.4577, allocations: 4 kB / 0.6557 GB, free: 4.535 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.052e-05/0.4577, allocations: 83.3 kB / 0.6558 GB, free: 4.453 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002115/0.4579, allocations: 12 kB / 0.6558 GB, free: 4.441 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 (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.0001843/0.4581, allocations: 115.2 kB / 0.6559 GB, free: 4.316 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 8.97e-05/0.4582, allocations: 19.94 kB / 0.656 GB, free: 4.297 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.4582, allocations: 0 / 0.656 GB, free: 4.297 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 2.498e-05/0.4582, allocations: 15.98 kB / 0.656 GB, free: 4.281 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001488/0.4584, allocations: 12.36 kB / 0.656 GB, free: 4.273 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002588/0.4587, allocations: 52.05 kB / 0.656 GB, free: 4.199 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002643/0.4589, allocations: 0.6958 MB / 0.6567 GB, free: 3.477 MB / 474.7 MB Notification: Performance of SimCode: time 2.51e-07/0.459, allocations: 0 / 0.6567 GB, free: 3.477 MB / 474.7 MB Notification: Performance of Templates: time 0.002977/0.4619, allocations: 0.8896 MB / 0.6576 GB, free: 2.625 MB / 474.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)