Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.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.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.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.33/1.33, allocations: 285.5 MB / 292.8 MB, free: 10.41 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.0009957/0.0009957, allocations: 181.3 kB / 361.1 MB, free: 7.066 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.051/1.051, allocations: 205.2 MB / 0.6195 GB, free: 10.25 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.0007883/0.0007883, allocations: 90.39 kB / 0.7326 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.669e-06/4.679e-06, allocations: 0 / 0.8511 GB, free: 2.953 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4176/0.4176, allocations: 115.3 MB / 0.9637 GB, free: 78.01 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1341/0.5518, allocations: 138.8 MB / 1.099 GB, free: 1.172 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002108/0.552, allocations: 84.17 kB / 1.099 GB, free: 1.094 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.008081/0.5601, allocations: 2.342 MB / 1.102 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.5601, allocations: 0 / 1.102 GB, free: 14.81 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002797/0.5604, allocations: 354.3 kB / 1.102 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.5605, allocations: 8.531 kB / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.07e-05/0.5605, allocations: 7.906 kB / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.984e-05/0.5606, allocations: 167 kB / 1.102 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.074e-05/0.5607, allocations: 30.64 kB / 1.102 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.957e-06/0.5607, allocations: 0 / 1.102 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.284e-05/0.5608, allocations: 16 kB / 1.102 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.723e-05/0.5609, allocations: 33.69 kB / 1.102 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.5609, allocations: 4 kB / 1.102 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.5609, allocations: 3.906 kB / 1.102 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.982e-06/0.5609, allocations: 0 / 1.102 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001215/0.561, allocations: 134.2 kB / 1.102 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001425/0.5612, allocations: 42.52 kB / 1.102 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.595e-05/0.5612, allocations: 11.33 kB / 1.102 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002511/0.5615, allocations: 194.3 kB / 1.103 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/0.5615, allocations: 32.38 kB / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.5615, allocations: 0 / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0004653/0.562, allocations: 105.5 kB / 1.103 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.143e-05/0.562, allocations: 55.41 kB / 1.103 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.572e-05/0.5621, allocations: 90.3 kB / 1.103 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.5621, allocations: 29.7 kB / 1.103 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.657e-05/0.5621, allocations: 88.08 kB / 1.103 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.106e-05/0.5621, allocations: 11.75 kB / 1.103 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.987e-06/0.5621, allocations: 0 / 1.103 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.778e-05/0.5622, allocations: 314.8 kB / 1.103 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.706e-05/0.5623, allocations: 8 kB / 1.103 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.162e-05/0.5623, allocations: 8 kB / 1.103 GB, free: 12.87 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003472/0.5626, allocations: 67.89 kB / 1.103 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.5626, allocations: 0 / 1.103 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003787/0.563, allocations: 97.59 kB / 1.103 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.563, allocations: 8 kB / 1.103 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-06/0.563, allocations: 0 / 1.103 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.325e-06/0.5631, allocations: 0 / 1.103 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.614e-05/0.5631, allocations: 11.75 kB / 1.103 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.5631, allocations: 2.422 kB / 1.103 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.292e-05/0.5632, allocations: 11.89 kB / 1.103 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.5632, allocations: 0 / 1.103 GB, free: 12.68 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 (4): * Single equations (assignments): 4 * 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.741e-05/0.5633, allocations: 105 kB / 1.104 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.056e-05/0.5633, allocations: 7.844 kB / 1.104 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004234/0.5637, allocations: 109.7 kB / 1.104 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.5637, allocations: 48 / 1.104 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.5637, allocations: 7.969 kB / 1.104 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.5637, allocations: 4 kB / 1.104 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.85e-05/0.5638, allocations: 134.2 kB / 1.104 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.5638, allocations: 0 / 1.104 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.002e-05/0.5639, allocations: 9.484 kB / 1.104 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.5639, allocations: 3.906 kB / 1.104 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.5639, allocations: 4 kB / 1.104 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.5639, allocations: 0 / 1.104 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.5639, allocations: 0 / 1.104 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003974/0.5643, allocations: 129 kB / 1.104 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.175e-05/0.5644, allocations: 93 kB / 1.104 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.215e-05/0.5644, allocations: 0 / 1.104 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.041e-05/0.5645, allocations: 0 / 1.104 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.455e-05/0.5645, allocations: 7.984 kB / 1.104 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.129e-06/0.5645, allocations: 0 / 1.104 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.691e-05/0.5646, allocations: 79.28 kB / 1.104 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002299/0.5648, allocations: 43.88 kB / 1.104 GB, free: 11.86 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 (4): * Single equations (assignments): 4 * 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.0001912/0.565, allocations: 142.9 kB / 1.104 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.097e-05/0.5651, allocations: 23.94 kB / 1.104 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.5651, allocations: 0 / 1.104 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.124e-05/0.5651, allocations: 15.98 kB / 1.104 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000129/0.5652, allocations: 4.656 kB / 1.104 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001514/0.5654, allocations: 60.73 kB / 1.104 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002003/0.5656, allocations: 0.6876 MB / 1.105 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of SimCode: time 2.6e-07/0.5656, allocations: 4 kB / 1.105 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of Templates: time 0.002648/0.5683, allocations: 1.058 MB / 1.106 GB, free: 9.863 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)