Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.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.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ") [: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.541/1.541, allocations: 285.5 MB / 292.8 MB, free: 10.4 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.001098/0.001098, allocations: 181.3 kB / 361.1 MB, free: 7.086 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.704/1.704, allocations: 205.1 MB / 0.6195 GB, free: 10.29 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.001041/0.001042, allocations: 88.58 kB / 0.7326 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.784e-05/1.785e-05, allocations: 4 kB / 0.8511 GB, free: 2.969 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6415/0.6415, allocations: 115.3 MB / 0.9637 GB, free: 78.49 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1836/0.8252, allocations: 139.7 MB / 1.1 GB, free: 352 kB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002928/0.8255, allocations: 83.94 kB / 1.1 GB, free: 268 kB / 0.698 GB Notification: Performance of FrontEnd: time 0.04422/0.8697, allocations: 14.37 MB / 1.114 GB, free: 1.988 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.077e-05/0.8698, allocations: 8.656 kB / 1.114 GB, free: 1.98 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.000797/0.8706, allocations: 422.1 kB / 1.115 GB, free: 1.523 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/0.8707, allocations: 12.53 kB / 1.115 GB, free: 1.512 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.938e-05/0.8707, allocations: 11.81 kB / 1.115 GB, free: 1.5 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001118/0.8709, allocations: 174.9 kB / 1.115 GB, free: 1.289 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.8709, allocations: 4 kB / 1.115 GB, free: 1.285 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.775e-05/0.8709, allocations: 8 kB / 1.115 GB, free: 1.277 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003395/0.8713, allocations: 166 kB / 1.115 GB, free: 1.117 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002879/0.8716, allocations: 203.4 kB / 1.115 GB, free: 0.8945 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.8716, allocations: 4 kB / 1.115 GB, free: 0.8906 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.007e-05/0.8716, allocations: 4 kB / 1.115 GB, free: 0.8867 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/0.8716, allocations: 4 kB / 1.115 GB, free: 0.8828 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003243/0.872, allocations: 246.5 kB / 1.115 GB, free: 0.5898 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007103/0.8727, allocations: 398.6 kB / 1.116 GB, free: 152 kB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002256/0.8729, allocations: 177.2 kB / 1.116 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003521/0.8733, allocations: 190.2 kB / 1.116 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.516e-05/0.8733, allocations: 46.5 kB / 1.116 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=30): time 2.174e-06/0.8733, allocations: 0 / 1.116 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of matching and sorting (n=30): time 0.0006799/0.874, allocations: 270.9 kB / 1.117 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001358/0.8742, allocations: 191.9 kB / 1.117 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.397e-05/0.8742, allocations: 92.98 kB / 1.117 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.804e-05/0.8742, allocations: 25.7 kB / 1.117 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.722e-05/0.8743, allocations: 80.64 kB / 1.117 GB, free: 14.97 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001007/0.8744, allocations: 94.56 kB / 1.117 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.099e-05/0.8744, allocations: 0 / 1.117 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.8745, allocations: 322.8 kB / 1.117 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001261/0.8747, allocations: 87.95 kB / 1.117 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001494/0.8748, allocations: 129.1 kB / 1.117 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003185/0.8751, allocations: 113.7 kB / 1.118 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.8751, allocations: 0 / 1.118 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005412/0.8757, allocations: 278.7 kB / 1.118 GB, free: 13.94 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.8757, allocations: 7.906 kB / 1.118 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.8757, allocations: 4 kB / 1.118 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.8758, allocations: 4 kB / 1.118 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002581/0.876, allocations: 59.89 kB / 1.118 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.876, allocations: 4 kB / 1.118 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001026/0.8761, allocations: 15.78 kB / 1.118 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.709e-05/0.8762, allocations: 15.98 kB / 1.118 GB, free: 13.83 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * 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 9.68e-05/0.8763, allocations: 104.9 kB / 1.118 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.787e-05/0.8763, allocations: 15.81 kB / 1.118 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007149/0.8771, allocations: 360.6 kB / 1.118 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.8771, allocations: 4 kB / 1.118 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.533e-06/0.8771, allocations: 0 / 1.118 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.274e-05/0.8771, allocations: 11.89 kB / 1.118 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002382/0.8773, allocations: 221.9 kB / 1.119 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.8774, allocations: 1.75 kB / 1.119 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002457/0.8776, allocations: 55.95 kB / 1.119 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.003e-05/0.8776, allocations: 4 kB / 1.119 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.273e-05/0.8777, allocations: 7.938 kB / 1.119 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.8777, allocations: 3.938 kB / 1.119 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.444e-06/0.8777, allocations: 11.98 kB / 1.119 GB, free: 13.01 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006897/0.8784, allocations: 389.6 kB / 1.119 GB, free: 12.56 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.103e-05/0.8784, allocations: 95.7 kB / 1.119 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.301e-05/0.8785, allocations: 0 / 1.119 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/0.8786, allocations: 4 kB / 1.119 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.067e-05/0.8787, allocations: 29.59 kB / 1.119 GB, free: 12.42 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.27e-05/0.8787, allocations: 11.98 kB / 1.119 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.277e-05/0.8787, allocations: 79.28 kB / 1.119 GB, free: 12.33 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005626/0.8793, allocations: 107.9 kB / 1.119 GB, free: 12.23 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 30 * 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.0006908/0.88, allocations: 204.2 kB / 1.12 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003674/0.8804, allocations: 236.6 kB / 1.12 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.8804, allocations: 3.938 kB / 1.12 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001699/0.8806, allocations: 131.8 kB / 1.12 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001315/0.8807, allocations: 13.91 kB / 1.12 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005535/0.8813, allocations: 287 kB / 1.12 GB, free: 11.33 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004714/0.8817, allocations: 0.7548 MB / 1.121 GB, free: 10.55 MB / 0.7292 GB Notification: Performance of SimCode: time 2.7e-07/0.8818, allocations: 0 / 1.121 GB, free: 10.55 MB / 0.7292 GB Notification: Performance of Templates: time 0.006713/0.8885, allocations: 3.125 MB / 1.124 GB, free: 7.473 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1)