Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells") [: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/BuildingSystems 2.0.0-master/package.mo): time 0.7549/0.7549, allocations: 141.8 MB / 149.1 MB, free: 4.512 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 188.4 kB / 181.9 MB, free: 196 kB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 221.3 MB / 436 MB, free: 9.305 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 95.53 kB / 0.507 GB, free: 24.19 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001801/0.001801, allocations: 277.6 kB / 0.5884 GB, free: 12.33 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 1.081e-05/1.084e-05, allocations: 7.938 kB / 0.6759 GB, free: 2.656 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3799/0.3799, allocations: 82.76 MB / 0.7568 GB, free: 112.9 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1174/0.4974, allocations: 107.9 MB / 0.8621 GB, free: 4.867 MB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002774/0.4977, allocations: 107.7 kB / 0.8622 GB, free: 4.766 MB / 0.5263 GB Notification: Performance of FrontEnd: time 0.001543/0.4993, allocations: 386.8 kB / 0.8626 GB, free: 4.395 MB / 0.5263 GB Notification: Performance of Transformations before backend: time 8.155e-06/0.4993, allocations: 4.594 kB / 0.8626 GB, free: 4.391 MB / 0.5263 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001586/0.4995, allocations: 315.1 kB / 0.8629 GB, free: 4.039 MB / 0.5263 GB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.4995, allocations: 8.031 kB / 0.8629 GB, free: 4.031 MB / 0.5263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.773e-05/0.4996, allocations: 0.625 kB / 0.8629 GB, free: 4.031 MB / 0.5263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.294e-05/0.4996, allocations: 159.9 kB / 0.8631 GB, free: 3.836 MB / 0.5263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.4997, allocations: 4 kB / 0.8631 GB, free: 3.832 MB / 0.5263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.586e-06/0.4997, allocations: 0 / 0.8631 GB, free: 3.832 MB / 0.5263 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.412e-05/0.4997, allocations: 1.656 kB / 0.8631 GB, free: 3.832 MB / 0.5263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.787e-05/0.4998, allocations: 30.3 kB / 0.8631 GB, free: 3.797 MB / 0.5263 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.672e-06/0.4998, allocations: 0.5 kB / 0.8631 GB, free: 3.797 MB / 0.5263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.274e-06/0.4998, allocations: 0 / 0.8631 GB, free: 3.797 MB / 0.5263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.4998, allocations: 5.344 kB / 0.8631 GB, free: 3.793 MB / 0.5263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002042/0.5, allocations: 360.8 kB / 0.8635 GB, free: 3.402 MB / 0.5263 GB Notification: Performance of preOpt comSubExp (simulation): time 4.37e-05/0.5001, allocations: 166.6 kB / 0.8636 GB, free: 3.23 MB / 0.5263 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.395e-05/0.5001, allocations: 88.08 kB / 0.8637 GB, free: 3.141 MB / 0.5263 GB Notification: Performance of preOpt evalFunc (simulation): time 1.534e-05/0.5001, allocations: 76.44 kB / 0.8638 GB, free: 3.066 MB / 0.5263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.432e-05/0.5002, allocations: 110.8 kB / 0.8639 GB, free: 2.949 MB / 0.5263 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.5002, allocations: 3.938 kB / 0.8639 GB, free: 2.945 MB / 0.5263 GB Notification: Performance of matching and sorting (n=0): time 7.273e-05/0.5003, allocations: 33.03 kB / 0.8639 GB, free: 2.91 MB / 0.5263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.953e-05/0.5003, allocations: 55.91 kB / 0.864 GB, free: 2.844 MB / 0.5263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.285e-05/0.5003, allocations: 90.03 kB / 0.864 GB, free: 2.75 MB / 0.5263 GB Notification: Performance of collectPreVariables (initialization): time 5.941e-06/0.5004, allocations: 25.7 kB / 0.8641 GB, free: 2.719 MB / 0.5263 GB Notification: Performance of collectInitialEqns (initialization): time 1.916e-05/0.5004, allocations: 80.73 kB / 0.8641 GB, free: 2.637 MB / 0.5263 GB Notification: Performance of collectInitialBindings (initialization): time 2.585e-06/0.5004, allocations: 0.7188 kB / 0.8641 GB, free: 2.637 MB / 0.5263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.495e-06/0.5004, allocations: 0 / 0.8641 GB, free: 2.637 MB / 0.5263 GB Notification: Performance of setup shared object (initialization): time 4.437e-05/0.5004, allocations: 311.9 kB / 0.8644 GB, free: 2.324 MB / 0.5263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.324e-06/0.5005, allocations: 1.281 kB / 0.8644 GB, free: 2.324 MB / 0.5263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.33e-06/0.5005, allocations: 4 kB / 0.8645 GB, free: 2.32 MB / 0.5263 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.409e-05/0.5005, allocations: 3.906 kB / 0.8645 GB, free: 2.316 MB / 0.5263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.5005, allocations: 0.6562 kB / 0.8645 GB, free: 2.316 MB / 0.5263 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.039e-05/0.5006, allocations: 34.3 kB / 0.8645 GB, free: 2.277 MB / 0.5263 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.5006, allocations: 4 kB / 0.8645 GB, free: 2.273 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.5006, allocations: 5.266 kB / 0.8645 GB, free: 2.27 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.5006, allocations: 0 / 0.8645 GB, free: 2.27 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.123e-05/0.5007, allocations: 4 kB / 0.8645 GB, free: 2.266 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.5007, allocations: 0.5 kB / 0.8645 GB, free: 2.266 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.109e-05/0.5007, allocations: 1.031 kB / 0.8645 GB, free: 2.266 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-06/0.5007, allocations: 0 / 0.8645 GB, free: 2.266 MB / 0.5263 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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.032e-05/0.5008, allocations: 189.9 kB / 0.8647 GB, free: 2.074 MB / 0.5263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.821e-05/0.5008, allocations: 101 kB / 0.8648 GB, free: 1.969 MB / 0.5263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.898e-05/0.5009, allocations: 104 kB / 0.8649 GB, free: 1.859 MB / 0.5263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.636e-05/0.5009, allocations: 185.6 kB / 0.8651 GB, free: 1.672 MB / 0.5263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.788e-05/0.5009, allocations: 180.9 kB / 0.8652 GB, free: 1.488 MB / 0.5263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.598e-05/0.501, allocations: 176.8 kB / 0.8654 GB, free: 1.309 MB / 0.5263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001197/0.5011, allocations: 382.8 kB / 0.8658 GB, free: 0.8906 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.692e-05/0.5011, allocations: 105.6 kB / 0.8659 GB, free: 0.7812 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.523e-05/0.5011, allocations: 101 kB / 0.866 GB, free: 0.6758 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.17e-05/0.5012, allocations: 189.4 kB / 0.8661 GB, free: 496 kB / 0.5263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.906e-05/0.5012, allocations: 181.7 kB / 0.8663 GB, free: 308 kB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.711e-05/0.5012, allocations: 177.3 kB / 0.8665 GB, free: 124 kB / 0.5263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.305e-05/0.5013, allocations: 184.9 kB / 0.8667 GB, free: 15.93 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001433/0.5015, allocations: 314.4 kB / 0.867 GB, free: 15.61 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.723e-05/0.5015, allocations: 182.7 kB / 0.8671 GB, free: 15.4 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.955e-05/0.5016, allocations: 184.8 kB / 0.8673 GB, free: 15.21 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.728e-05/0.5017, allocations: 108.6 kB / 0.8674 GB, free: 15.11 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.861e-05/0.5018, allocations: 181.7 kB / 0.8676 GB, free: 14.92 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.483e-05/0.5019, allocations: 101 kB / 0.8677 GB, free: 14.82 MB / 0.5419 GB Notification: Performance of sort global known variables: time 3.594e-05/0.5019, allocations: 81.44 kB / 0.8678 GB, free: 14.74 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0002293/0.5021, allocations: 0 / 0.8678 GB, free: 14.74 MB / 0.5419 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 (0): * Single equations (assignments): 0 * 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.0001554/0.5023, allocations: 179.1 kB / 0.8679 GB, free: 14.55 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 5.069e-05/0.5024, allocations: 4.906 kB / 0.8679 GB, free: 14.55 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.5024, allocations: 0 / 0.8679 GB, free: 14.55 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 1.413e-06/0.5024, allocations: 0.5938 kB / 0.8679 GB, free: 14.55 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003046/0.5027, allocations: 0.5238 MB / 0.8684 GB, free: 14.02 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001523/0.5028, allocations: 117.1 kB / 0.8686 GB, free: 13.88 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000255/0.5031, allocations: 0.6763 MB / 0.8692 GB, free: 13.18 MB / 0.5419 GB Notification: Performance of SimCode: time 2.2e-07/0.5031, allocations: 0 / 0.8692 GB, free: 13.18 MB / 0.5419 GB Notification: Performance of Templates: time 0.001733/0.5049, allocations: 187 kB / 0.8694 GB, free: 13.04 MB / 0.5419 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1)