Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0/package.mo): time 0.6854/0.6854, allocations: 127.4 MB / 134.6 MB, free: 4.117 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009993/0.0009993, allocations: 185.3 kB / 164.4 MB, free: 6.895 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.583/1.583, allocations: 205.1 MB / 399.1 MB, free: 6.09 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001067/0.001067, allocations: 87.05 kB / 476.3 MB, free: 8.84 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 8.076e-06/8.116e-06, allocations: 0 / 0.546 GB, free: 42.77 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2333/0.2333, allocations: 76.74 MB / 0.6209 GB, free: 13.95 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6202/0.8537, allocations: 103.3 MB / 0.7217 GB, free: 9.141 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003176/0.8541, allocations: 83.94 kB / 0.7218 GB, free: 9.059 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.006695/0.8608, allocations: 1.688 MB / 0.7235 GB, free: 7.375 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.163e-05/0.8609, allocations: 0 / 0.7235 GB, free: 7.375 MB / 490.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.0005462/0.8614, allocations: 358.4 kB / 0.7238 GB, free: 6.98 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.923e-05/0.8615, allocations: 8.031 kB / 0.7238 GB, free: 6.973 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004751/0.862, allocations: 27.95 kB / 0.7239 GB, free: 6.945 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001714/0.8622, allocations: 163 kB / 0.724 GB, free: 6.746 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/0.8622, allocations: 3.984 kB / 0.724 GB, free: 6.742 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.967e-05/0.8622, allocations: 8 kB / 0.724 GB, free: 6.734 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001252/0.8624, allocations: 16 kB / 0.724 GB, free: 6.719 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001175/0.8625, allocations: 45.67 kB / 0.7241 GB, free: 6.668 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.8625, allocations: 8.609 kB / 0.7241 GB, free: 6.66 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.624e-05/0.8625, allocations: 0 / 0.7241 GB, free: 6.66 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-06/0.8625, allocations: 4 kB / 0.7241 GB, free: 6.656 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000611/0.8632, allocations: 245.4 kB / 0.7243 GB, free: 6.379 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.415e-05/0.8633, allocations: 39.5 kB / 0.7244 GB, free: 6.332 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.597e-05/0.8633, allocations: 12.92 kB / 0.7244 GB, free: 6.316 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.11e-05/0.8634, allocations: 4 kB / 0.7244 GB, free: 6.312 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/0.8634, allocations: 31.22 kB / 0.7244 GB, free: 6.273 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 2.845e-06/0.8634, allocations: 3.984 kB / 0.7244 GB, free: 6.27 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002497/0.8637, allocations: 61.52 kB / 0.7245 GB, free: 6.203 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.89e-05/0.8638, allocations: 55.44 kB / 0.7245 GB, free: 6.137 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.076e-05/0.8639, allocations: 97 kB / 0.7246 GB, free: 6.035 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.8639, allocations: 25.7 kB / 0.7246 GB, free: 6.004 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.383e-05/0.864, allocations: 82.33 kB / 0.7247 GB, free: 5.922 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.678e-05/0.864, allocations: 11.83 kB / 0.7247 GB, free: 5.91 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.221e-06/0.864, allocations: 0 / 0.7247 GB, free: 5.91 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.8642, allocations: 314.8 kB / 0.725 GB, free: 5.594 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.421e-05/0.8642, allocations: 12 kB / 0.725 GB, free: 5.582 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.512e-05/0.8642, allocations: 12 kB / 0.7251 GB, free: 5.57 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.107e-05/0.8643, allocations: 7.984 kB / 0.7251 GB, free: 5.562 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.8643, allocations: 0 / 0.7251 GB, free: 5.562 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001138/0.8644, allocations: 57.59 kB / 0.7251 GB, free: 5.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.8644, allocations: 4 kB / 0.7251 GB, free: 5.496 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-06/0.8645, allocations: 4 kB / 0.7251 GB, free: 5.492 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.8645, allocations: 4 kB / 0.7251 GB, free: 5.488 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001623/0.8646, allocations: 24 kB / 0.7251 GB, free: 5.465 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.8647, allocations: 0 / 0.7251 GB, free: 5.465 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000103/0.8648, allocations: 15.98 kB / 0.7252 GB, free: 5.449 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-06/0.8648, allocations: 0 / 0.7252 GB, free: 5.449 MB / 490.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 7.918e-05/0.8649, allocations: 101 kB / 0.7253 GB, free: 5.344 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.184e-05/0.8649, allocations: 11.91 kB / 0.7253 GB, free: 5.332 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.212e-05/0.865, allocations: 7.312 kB / 0.7253 GB, free: 5.328 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.865, allocations: 0 / 0.7253 GB, free: 5.328 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.865, allocations: 3.938 kB / 0.7253 GB, free: 5.324 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.865, allocations: 0 / 0.7253 GB, free: 5.324 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001869/0.8652, allocations: 150.2 kB / 0.7254 GB, free: 5.141 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.8652, allocations: 3.906 kB / 0.7254 GB, free: 5.137 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001228/0.8653, allocations: 19.97 kB / 0.7254 GB, free: 5.117 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.8654, allocations: 4 kB / 0.7255 GB, free: 5.113 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.8654, allocations: 0 / 0.7255 GB, free: 5.113 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.8654, allocations: 0 / 0.7255 GB, free: 5.113 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.8654, allocations: 0 / 0.7255 GB, free: 5.113 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001917/0.8656, allocations: 165.8 kB / 0.7256 GB, free: 4.938 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.08e-05/0.8656, allocations: 77.11 kB / 0.7257 GB, free: 4.844 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.418e-05/0.8657, allocations: 0 / 0.7257 GB, free: 4.844 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001377/0.8658, allocations: 11.98 kB / 0.7257 GB, free: 4.832 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.147e-05/0.8659, allocations: 4 kB / 0.7257 GB, free: 4.828 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-06/0.8659, allocations: 3.984 kB / 0.7257 GB, free: 4.824 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.053e-05/0.866, allocations: 83.31 kB / 0.7258 GB, free: 4.742 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002561/0.8662, allocations: 12 kB / 0.7258 GB, free: 4.73 MB / 490.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.0002743/0.8665, allocations: 119.2 kB / 0.7259 GB, free: 4.602 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001315/0.8666, allocations: 23.98 kB / 0.7259 GB, free: 4.578 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.8667, allocations: 0 / 0.7259 GB, free: 4.578 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.868e-05/0.8667, allocations: 12 kB / 0.7259 GB, free: 4.566 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002316/0.8669, allocations: 15.22 kB / 0.726 GB, free: 4.555 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004613/0.8674, allocations: 79.83 kB / 0.726 GB, free: 4.453 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005089/0.8679, allocations: 0.6958 MB / 0.7267 GB, free: 3.73 MB / 490.7 MB Notification: Performance of SimCode: time 2.5e-07/0.8679, allocations: 0 / 0.7267 GB, free: 3.73 MB / 490.7 MB Notification: Performance of Templates: time 0.004344/0.8723, allocations: 0.9383 MB / 0.7276 GB, free: 2.797 MB / 490.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)