Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") [: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.681/1.681, allocations: 285.5 MB / 292.8 MB, free: 10.43 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.001481/0.001481, allocations: 185.3 kB / 361.1 MB, free: 7.117 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.604/1.604, allocations: 205.1 MB / 0.6195 GB, free: 11.95 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.001055/0.001055, allocations: 94.5 kB / 0.7326 GB, free: 44.5 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.09e-05/1.121e-05, allocations: 4 kB / 0.8511 GB, free: 3.25 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8123/0.8124, allocations: 115.3 MB / 0.9637 GB, free: 78.36 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9222/1.735, allocations: 361.2 MB / 1.316 GB, free: 239 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000228/1.735, allocations: 91.94 kB / 1.316 GB, free: 238.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 0.02806/1.763, allocations: 13.59 MB / 1.33 GB, free: 225.3 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.419e-05/1.763, allocations: 4.562 kB / 1.33 GB, free: 225.3 MB / 0.8542 GB 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.001005/1.764, allocations: 469.9 kB / 1.33 GB, free: 224.8 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 6.69e-05/1.764, allocations: 8.531 kB / 1.33 GB, free: 224.8 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.699e-05/1.764, allocations: 11.91 kB / 1.33 GB, free: 224.8 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002095/1.764, allocations: 180.3 kB / 1.33 GB, free: 224.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.016e-05/1.764, allocations: 5.188 kB / 1.33 GB, free: 224.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.508e-05/1.765, allocations: 8.75 kB / 1.33 GB, free: 224.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000274/1.765, allocations: 95.81 kB / 1.331 GB, free: 224.4 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000183/1.765, allocations: 81.67 kB / 1.331 GB, free: 224.4 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.841e-05/1.765, allocations: 0 / 1.331 GB, free: 224.4 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.842e-05/1.765, allocations: 0 / 1.331 GB, free: 224.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/1.765, allocations: 0 / 1.331 GB, free: 224.4 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007977/1.766, allocations: 393 kB / 1.331 GB, free: 223.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001667/1.766, allocations: 86.58 kB / 1.331 GB, free: 223.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.049e-05/1.766, allocations: 49.44 kB / 1.331 GB, free: 223.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001142/1.767, allocations: 0.9294 MB / 1.332 GB, free: 222.7 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/1.767, allocations: 30.56 kB / 1.332 GB, free: 222.7 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=12): time 1.683e-06/1.767, allocations: 0 / 1.332 GB, free: 222.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12): time 0.0006326/1.768, allocations: 141.4 kB / 1.332 GB, free: 222.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.19e-05/1.768, allocations: 59.41 kB / 1.332 GB, free: 222.5 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001494/1.768, allocations: 133.4 kB / 1.332 GB, free: 222.3 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/1.768, allocations: 27.3 kB / 1.332 GB, free: 222.3 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.397e-05/1.768, allocations: 102.3 kB / 1.332 GB, free: 222.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.81e-05/1.768, allocations: 47.3 kB / 1.333 GB, free: 222.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.199e-05/1.768, allocations: 0 / 1.333 GB, free: 222.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001132/1.769, allocations: 326.8 kB / 1.333 GB, free: 221.8 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.363e-05/1.769, allocations: 43.94 kB / 1.333 GB, free: 221.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001231/1.769, allocations: 89.33 kB / 1.333 GB, free: 221.7 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005929/1.769, allocations: 138.5 kB / 1.333 GB, free: 221.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/1.769, allocations: 4 kB / 1.333 GB, free: 221.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0007131/1.77, allocations: 261.1 kB / 1.333 GB, free: 221.3 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/1.77, allocations: 4 kB / 1.333 GB, free: 221.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/1.77, allocations: 5.438 kB / 1.333 GB, free: 221.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.504e-05/1.77, allocations: 3.984 kB / 1.333 GB, free: 221.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000304/1.77, allocations: 64 kB / 1.333 GB, free: 221.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/1.771, allocations: 1.797 kB / 1.333 GB, free: 221.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001709/1.771, allocations: 35.83 kB / 1.333 GB, free: 221.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.542e-05/1.771, allocations: 15.89 kB / 1.333 GB, free: 221.2 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 8.86e-05/1.771, allocations: 106 kB / 1.334 GB, free: 221.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.879e-05/1.771, allocations: 19.8 kB / 1.334 GB, free: 221 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004298/1.771, allocations: 156.2 kB / 1.334 GB, free: 220.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.431e-06/1.771, allocations: 0 / 1.334 GB, free: 220.9 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/1.771, allocations: 5.109 kB / 1.334 GB, free: 220.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/1.771, allocations: 0 / 1.334 GB, free: 220.9 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001818/1.772, allocations: 190 kB / 1.334 GB, free: 220.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/1.772, allocations: 1.875 kB / 1.334 GB, free: 220.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001716/1.772, allocations: 43.91 kB / 1.334 GB, free: 220.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/1.772, allocations: 0 / 1.334 GB, free: 220.6 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/1.772, allocations: 4 kB / 1.334 GB, free: 220.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/1.772, allocations: 0 / 1.334 GB, free: 220.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/1.772, allocations: 4 kB / 1.334 GB, free: 220.6 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000349/1.772, allocations: 233.1 kB / 1.334 GB, free: 220.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.781e-05/1.772, allocations: 88.92 kB / 1.334 GB, free: 220.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.775e-05/1.772, allocations: 0 / 1.334 GB, free: 220.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001524/1.772, allocations: 29.52 kB / 1.334 GB, free: 220.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.017e-05/1.772, allocations: 7.984 kB / 1.334 GB, free: 220.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.515e-06/1.772, allocations: 4 kB / 1.334 GB, free: 220.2 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4.856e-05/1.772, allocations: 104.6 kB / 1.334 GB, free: 220.1 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000316/1.773, allocations: 72.3 kB / 1.334 GB, free: 220 MB / 0.8542 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 (12): * Single equations (assignments): 12 * 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.0003085/1.773, allocations: 177.2 kB / 1.335 GB, free: 219.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002151/1.773, allocations: 112.9 kB / 1.335 GB, free: 219.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/1.773, allocations: 0 / 1.335 GB, free: 219.8 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 6.042e-05/1.773, allocations: 44.81 kB / 1.335 GB, free: 219.7 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002503/1.774, allocations: 28.66 kB / 1.335 GB, free: 219.7 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003703/1.774, allocations: 150.5 kB / 1.335 GB, free: 219.5 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001963/1.774, allocations: 0.7323 MB / 1.336 GB, free: 218.8 MB / 0.8542 GB Notification: Performance of SimCode: time 2.91e-07/1.774, allocations: 0 / 1.336 GB, free: 218.8 MB / 0.8542 GB Notification: Performance of Templates: time 0.00515/1.779, allocations: 2.741 MB / 1.338 GB, free: 216.1 MB / 0.8542 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)