Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure.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.HumidityRatioPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure") translateModel(IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure") [: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.001364/0.001364, allocations: 187.3 kB / 7.802 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.4647/0.4647, allocations: 90.86 MB / 99.08 MB, free: 14.91 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.173/1.173, allocations: 221.4 MB / 342.8 MB, free: 5.254 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.0009076/0.0009076, allocations: 88.34 kB / 415.5 MB, free: 6.406 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 8.075e-06/8.256e-06, allocations: 0 / 493.9 MB, free: 8.062 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3193/0.3193, allocations: 72.31 MB / 0.5529 GB, free: 73.23 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1107/0.4301, allocations: 103 MB / 0.6535 GB, free: 7.016 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003026/0.4304, allocations: 76.8 kB / 0.6535 GB, free: 6.941 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.01027/0.4407, allocations: 3.17 MB / 0.6566 GB, free: 3.809 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.294e-05/0.4408, allocations: 8.562 kB / 0.6566 GB, free: 3.801 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005582/0.4413, allocations: 399.1 kB / 0.657 GB, free: 3.371 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.4414, allocations: 12.03 kB / 0.657 GB, free: 3.359 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002458/0.4416, allocations: 28.62 kB / 0.6571 GB, free: 3.332 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002356/0.4419, allocations: 186.9 kB / 0.6572 GB, free: 3.109 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.218e-05/0.442, allocations: 35.08 kB / 0.6573 GB, free: 3.07 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.978e-05/0.442, allocations: 4 kB / 0.6573 GB, free: 3.066 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001504/0.4422, allocations: 56.45 kB / 0.6573 GB, free: 3.012 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/0.4423, allocations: 81.86 kB / 0.6574 GB, free: 2.93 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.4423, allocations: 0.7188 kB / 0.6574 GB, free: 2.93 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.586e-05/0.4424, allocations: 0 / 0.6574 GB, free: 2.93 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.4424, allocations: 0.5 kB / 0.6574 GB, free: 2.93 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000572/0.4429, allocations: 352.1 kB / 0.6578 GB, free: 2.551 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004521/0.4434, allocations: 105.4 kB / 0.6579 GB, free: 2.441 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.698e-05/0.4435, allocations: 32.83 kB / 0.6579 GB, free: 2.406 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.323e-05/0.4435, allocations: 4.562 kB / 0.6579 GB, free: 2.402 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.4435, allocations: 42.44 kB / 0.6579 GB, free: 2.355 MB / 474.7 MB Notification: Performance of pre-optimization done (n=7): time 1.533e-06/0.4435, allocations: 0 / 0.6579 GB, free: 2.355 MB / 474.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001825/0.4437, allocations: 73.55 kB / 0.658 GB, free: 2.277 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.604e-05/0.4438, allocations: 55.39 kB / 0.6581 GB, free: 2.211 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.966e-05/0.4438, allocations: 103.1 kB / 0.6581 GB, free: 2.102 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.4439, allocations: 25.7 kB / 0.6582 GB, free: 2.07 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.742e-05/0.4439, allocations: 99.97 kB / 0.6583 GB, free: 1.969 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.436e-05/0.4439, allocations: 27.64 kB / 0.6583 GB, free: 1.941 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.698e-06/0.444, allocations: 0 / 0.6583 GB, free: 1.941 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.772e-05/0.444, allocations: 318.8 kB / 0.6586 GB, free: 1.621 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.556e-05/0.4441, allocations: 16 kB / 0.6586 GB, free: 1.605 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.28e-05/0.4441, allocations: 27.2 kB / 0.6586 GB, free: 1.574 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.42e-05/0.4442, allocations: 27.89 kB / 0.6587 GB, free: 1.547 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.4442, allocations: 0 / 0.6587 GB, free: 1.547 MB / 474.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001357/0.4443, allocations: 85.67 kB / 0.6587 GB, free: 1.457 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.4444, allocations: 4 kB / 0.6588 GB, free: 1.453 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.4444, allocations: 0 / 0.6588 GB, free: 1.453 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.4444, allocations: 6.531 kB / 0.6588 GB, free: 1.449 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001283/0.4445, allocations: 19.98 kB / 0.6588 GB, free: 1.43 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.4445, allocations: 4 kB / 0.6588 GB, free: 1.426 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.094e-05/0.4446, allocations: 11.98 kB / 0.6588 GB, free: 1.414 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.4446, allocations: 4 kB / 0.6588 GB, free: 1.41 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.092e-05/0.4447, allocations: 108.9 kB / 0.6589 GB, free: 1.297 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.416e-05/0.4448, allocations: 11.84 kB / 0.6589 GB, free: 1.285 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.304e-05/0.4448, allocations: 12.38 kB / 0.6589 GB, free: 1.273 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.4448, allocations: 0 / 0.6589 GB, free: 1.273 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.4448, allocations: 0 / 0.6589 GB, free: 1.273 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.4448, allocations: 0 / 0.6589 GB, free: 1.273 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001709/0.445, allocations: 170.1 kB / 0.6591 GB, free: 1.07 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.9e-05/0.445, allocations: 0 / 0.6591 GB, free: 1.07 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001178/0.4451, allocations: 31.89 kB / 0.6591 GB, free: 1.039 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.4452, allocations: 0 / 0.6591 GB, free: 1.039 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.4452, allocations: 0 / 0.6591 GB, free: 1.039 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.4452, allocations: 7.922 kB / 0.6591 GB, free: 1.031 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.4452, allocations: 5.328 kB / 0.6591 GB, free: 1.027 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000157/0.4454, allocations: 170.2 kB / 0.6593 GB, free: 0.8477 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.652e-05/0.4454, allocations: 85.02 kB / 0.6594 GB, free: 0.7461 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.052e-05/0.4454, allocations: 7.062 kB / 0.6594 GB, free: 0.7422 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001744/0.4456, allocations: 15.98 kB / 0.6594 GB, free: 0.7266 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.037e-05/0.4457, allocations: 7.984 kB / 0.6594 GB, free: 0.7188 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/0.4457, allocations: 7.938 kB / 0.6594 GB, free: 0.7109 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.464e-05/0.4457, allocations: 91.28 kB / 0.6595 GB, free: 0.6211 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002345/0.446, allocations: 19.91 kB / 0.6595 GB, free: 0.6016 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 (7): * Single equations (assignments): 7 * 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.0001022/0.4461, allocations: 99.23 kB / 0.6596 GB, free: 0.4961 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001178/0.4462, allocations: 44 kB / 0.6597 GB, free: 464 kB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.4462, allocations: 0 / 0.6597 GB, free: 464 kB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 4.336e-05/0.4463, allocations: 23.94 kB / 0.6597 GB, free: 440 kB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002655/0.4465, allocations: 20.75 kB / 0.6597 GB, free: 420 kB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003867/0.4469, allocations: 131.3 kB / 0.6598 GB, free: 268 kB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003275/0.4473, allocations: 0.7153 MB / 0.6605 GB, free: 15.52 MB / 490.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4473, allocations: 0 / 0.6605 GB, free: 15.52 MB / 490.7 MB Notification: Performance of Templates: time 0.003503/0.4508, allocations: 1.317 MB / 0.6618 GB, free: 14.26 MB / 490.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & ./IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1)