Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") [: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.0.1-maint.8.0.x/package.mo): time 1.355/1.355, allocations: 285.5 MB / 292.8 MB, free: 10.47 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.001026/0.001026, allocations: 179.2 kB / 361.1 MB, free: 7.109 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.026/1.026, allocations: 205.1 MB / 0.6195 GB, free: 10.3 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.00078/0.0007801, allocations: 89.72 kB / 0.7326 GB, free: 44.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.19e-06/5.21e-06, allocations: 0 / 0.8511 GB, free: 3.012 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4002/0.4002, allocations: 115.3 MB / 0.9637 GB, free: 78.12 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1325/0.5327, allocations: 139.2 MB / 1.1 GB, free: 0.8672 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000192/0.533, allocations: 72.7 kB / 1.1 GB, free: 0.7969 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.007686/0.5407, allocations: 2.22 MB / 1.102 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.149e-06/0.5407, allocations: 0 / 1.102 GB, free: 14.64 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004378/0.5411, allocations: 394.2 kB / 1.102 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.976e-05/0.5412, allocations: 8.031 kB / 1.102 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.893e-05/0.5412, allocations: 4 kB / 1.102 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.5413, allocations: 176.9 kB / 1.102 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.868e-06/0.5413, allocations: 4 kB / 1.102 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.188e-06/0.5413, allocations: 4.938 kB / 1.102 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.187e-05/0.5414, allocations: 20 kB / 1.102 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.057e-05/0.5415, allocations: 49.69 kB / 1.102 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.5415, allocations: 0 / 1.102 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.689e-06/0.5415, allocations: 3.906 kB / 1.102 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.5415, allocations: 0 / 1.102 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002972/0.5418, allocations: 265.3 kB / 1.103 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.011e-05/0.5419, allocations: 33.47 kB / 1.103 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.003e-05/0.542, allocations: 12.86 kB / 1.103 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001644/0.5421, allocations: 93.19 kB / 1.103 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.425e-05/0.5422, allocations: 31.78 kB / 1.103 GB, free: 13.4 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.5422, allocations: 0 / 1.103 GB, free: 13.4 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0003391/0.5425, allocations: 90.19 kB / 1.103 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.958e-05/0.5425, allocations: 55.41 kB / 1.103 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.083e-05/0.5426, allocations: 98.69 kB / 1.103 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.083e-05/0.5426, allocations: 25.7 kB / 1.103 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.417e-05/0.5427, allocations: 84.12 kB / 1.103 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.911e-05/0.5427, allocations: 19.75 kB / 1.103 GB, free: 13 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.506e-06/0.5427, allocations: 0 / 1.103 GB, free: 13 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.158e-05/0.5428, allocations: 310.8 kB / 1.104 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.303e-05/0.5428, allocations: 12 kB / 1.104 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.045e-05/0.5428, allocations: 12 kB / 1.104 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001956/0.543, allocations: 35.94 kB / 1.104 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.543, allocations: 0 / 1.104 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002581/0.5433, allocations: 82.27 kB / 1.104 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.5433, allocations: 7.984 kB / 1.104 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-06/0.5433, allocations: 3.938 kB / 1.104 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.5434, allocations: 0 / 1.104 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001409/0.5435, allocations: 31.92 kB / 1.104 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.427e-06/0.5435, allocations: 0 / 1.104 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.653e-05/0.5436, allocations: 19.98 kB / 1.104 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-06/0.5436, allocations: 2.438 kB / 1.104 GB, free: 12.48 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 (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 prepare postOptimizeDAE: time 5.114e-05/0.5437, allocations: 103.5 kB / 1.104 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.713e-05/0.5437, allocations: 7.906 kB / 1.104 GB, free: 12.37 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000291/0.544, allocations: 90.28 kB / 1.104 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.544, allocations: 2 kB / 1.104 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.544, allocations: 0 / 1.104 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.544, allocations: 0.75 kB / 1.104 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001313/0.5442, allocations: 154.1 kB / 1.104 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.5442, allocations: 0 / 1.104 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001142/0.5443, allocations: 23.98 kB / 1.104 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.5443, allocations: 4 kB / 1.104 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.814e-06/0.5443, allocations: 0 / 1.104 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.5443, allocations: 3.938 kB / 1.104 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.5443, allocations: 4 kB / 1.104 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000274/0.5446, allocations: 175.6 kB / 1.104 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.642e-05/0.5447, allocations: 81.02 kB / 1.104 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.578e-05/0.5447, allocations: 4 kB / 1.104 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001365/0.5448, allocations: 27.97 kB / 1.104 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.703e-05/0.5449, allocations: 1.625 kB / 1.104 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.091e-06/0.5449, allocations: 4 kB / 1.104 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.446e-05/0.5449, allocations: 88.58 kB / 1.104 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002554/0.5452, allocations: 35.94 kB / 1.104 GB, free: 11.61 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 (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 0.0001728/0.5454, allocations: 142.9 kB / 1.105 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.396e-05/0.5454, allocations: 24.5 kB / 1.105 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.5455, allocations: 0 / 1.105 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.114e-05/0.5455, allocations: 12 kB / 1.105 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001491/0.5456, allocations: 9.406 kB / 1.105 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002086/0.5459, allocations: 84.58 kB / 1.105 GB, free: 11.31 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002311/0.5461, allocations: 0.6993 MB / 1.105 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of SimCode: time 2.8e-07/0.5461, allocations: 3.938 kB / 1.105 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of Templates: time 0.00285/0.549, allocations: 1.179 MB / 1.107 GB, free: 9.453 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)