Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.62/1.62, allocations: 289.8 MB / 297.1 MB, free: 6.609 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.001108/0.001108, allocations: 183.6 kB / 366.3 MB, free: 1.953 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.439/1.439, allocations: 205.1 MB / 0.6256 GB, free: 5.82 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.0009059/0.000906, allocations: 95.81 kB / 0.7396 GB, free: 39.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.735e-06/7.755e-06, allocations: 0 / 0.859 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5751/0.5752, allocations: 116.3 MB / 0.9726 GB, free: 68.46 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1584/0.7336, allocations: 138.2 MB / 1.108 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002752/0.7339, allocations: 105 kB / 1.108 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.00154/0.7355, allocations: 376.7 kB / 1.108 GB, free: 9.93 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.9e-06/0.7355, allocations: 0 / 1.108 GB, free: 9.93 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000228/0.7357, allocations: 314.4 kB / 1.108 GB, free: 9.578 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.7358, allocations: 9.438 kB / 1.108 GB, free: 9.57 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.472e-05/0.7358, allocations: 1.906 kB / 1.108 GB, free: 9.57 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.319e-05/0.7359, allocations: 167 kB / 1.108 GB, free: 9.367 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.7359, allocations: 7.906 kB / 1.108 GB, free: 9.359 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.738e-06/0.7359, allocations: 0 / 1.108 GB, free: 9.359 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.76e-05/0.736, allocations: 0.5625 kB / 1.108 GB, free: 9.359 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.467e-05/0.736, allocations: 26.2 kB / 1.108 GB, free: 9.328 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.736, allocations: 1.25 kB / 1.108 GB, free: 9.328 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.886e-06/0.7361, allocations: 5.25 kB / 1.109 GB, free: 9.324 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.7361, allocations: 3.984 kB / 1.109 GB, free: 9.32 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002509/0.7363, allocations: 357.5 kB / 1.109 GB, free: 8.934 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.063e-05/0.7364, allocations: 174.3 kB / 1.109 GB, free: 8.754 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.281e-05/0.7365, allocations: 84.8 kB / 1.109 GB, free: 8.668 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.423e-05/0.7365, allocations: 79.28 kB / 1.109 GB, free: 8.59 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.886e-05/0.7365, allocations: 109.8 kB / 1.109 GB, free: 8.473 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.7365, allocations: 0.6562 kB / 1.109 GB, free: 8.473 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 6.504e-05/0.7366, allocations: 28.17 kB / 1.109 GB, free: 8.441 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.042e-05/0.7367, allocations: 59.34 kB / 1.109 GB, free: 8.371 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.201e-05/0.7367, allocations: 89 kB / 1.109 GB, free: 8.277 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.046e-05/0.7368, allocations: 25.83 kB / 1.109 GB, free: 8.246 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.383e-05/0.7368, allocations: 84.14 kB / 1.11 GB, free: 8.16 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.663e-06/0.7368, allocations: 0 / 1.11 GB, free: 8.16 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.244e-06/0.7368, allocations: 1.312 kB / 1.11 GB, free: 8.16 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.7369, allocations: 314.8 kB / 1.11 GB, free: 7.844 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.931e-06/0.737, allocations: 0 / 1.11 GB, free: 7.844 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.971e-06/0.737, allocations: 4 kB / 1.11 GB, free: 7.84 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.528e-05/0.737, allocations: 3.984 kB / 1.11 GB, free: 7.836 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.737, allocations: 0 / 1.11 GB, free: 7.836 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.253e-05/0.7371, allocations: 33.77 kB / 1.11 GB, free: 7.797 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/0.7371, allocations: 4 kB / 1.11 GB, free: 7.793 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.7371, allocations: 0.5 kB / 1.11 GB, free: 7.793 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.7371, allocations: 0 / 1.11 GB, free: 7.793 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.57e-05/0.7372, allocations: 4 kB / 1.11 GB, free: 7.789 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.637e-06/0.7372, allocations: 0 / 1.11 GB, free: 7.789 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.033e-05/0.7372, allocations: 0.5625 kB / 1.11 GB, free: 7.789 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-06/0.7372, allocations: 5.797 kB / 1.11 GB, free: 7.785 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: 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 8.531e-05/0.7373, allocations: 193.6 kB / 1.11 GB, free: 7.59 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.657e-05/0.7374, allocations: 105 kB / 1.11 GB, free: 7.48 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.307e-05/0.7374, allocations: 104 kB / 1.11 GB, free: 7.371 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.115e-05/0.7375, allocations: 176.3 kB / 1.11 GB, free: 7.191 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.187e-05/0.7375, allocations: 184.2 kB / 1.111 GB, free: 7.004 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.563e-05/0.7376, allocations: 176.9 kB / 1.111 GB, free: 6.824 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001964/0.7378, allocations: 393.6 kB / 1.111 GB, free: 6.395 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.924e-05/0.7378, allocations: 101 kB / 1.111 GB, free: 6.289 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.215e-05/0.7379, allocations: 101 kB / 1.111 GB, free: 6.184 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.78e-05/0.738, allocations: 184.7 kB / 1.112 GB, free: 5.996 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.575e-05/0.738, allocations: 184.2 kB / 1.112 GB, free: 5.809 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.523e-05/0.7381, allocations: 176.7 kB / 1.112 GB, free: 5.629 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.241e-05/0.7382, allocations: 185.3 kB / 1.112 GB, free: 5.441 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001262/0.7383, allocations: 305.1 kB / 1.112 GB, free: 5.121 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.791e-05/0.7384, allocations: 189.9 kB / 1.113 GB, free: 4.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.776e-05/0.7385, allocations: 180.3 kB / 1.113 GB, free: 4.727 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.857e-05/0.7385, allocations: 107.2 kB / 1.113 GB, free: 4.617 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.234e-05/0.7386, allocations: 180.2 kB / 1.113 GB, free: 4.434 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.209e-05/0.7387, allocations: 101 kB / 1.113 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.959e-05/0.7387, allocations: 79.28 kB / 1.113 GB, free: 4.25 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00023/0.739, allocations: 0 / 1.113 GB, free: 4.25 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 (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.0001526/0.7391, allocations: 178.6 kB / 1.113 GB, free: 4.062 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 4.747e-05/0.7392, allocations: 12 kB / 1.113 GB, free: 4.051 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.7392, allocations: 0 / 1.113 GB, free: 4.051 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.42e-07/0.7392, allocations: 0 / 1.113 GB, free: 4.051 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002887/0.7395, allocations: 0.5185 MB / 1.114 GB, free: 3.527 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001436/0.7396, allocations: 119.4 kB / 1.114 GB, free: 3.387 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002505/0.7399, allocations: 0.6802 MB / 1.115 GB, free: 2.68 MB / 0.7136 GB Notification: Performance of SimCode: time 2.3e-07/0.7399, allocations: 4 kB / 1.115 GB, free: 2.676 MB / 0.7136 GB Notification: Performance of Templates: time 0.00151/0.7414, allocations: 173.4 kB / 1.115 GB, free: 2.543 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1)