Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.conf.json 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/IDEAS 3.0.0/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) 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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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/Complex 4.0.0+maint.om/package.mo): time 0.004113/0.004113, allocations: 184.1 kB / 7.453 MB, free: 2.32 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6749/0.6749, allocations: 130.6 MB / 138.5 MB, free: 2.219 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 221.3 MB / 391.4 MB, free: 13.06 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008741/0.0008741, allocations: 105.7 kB / 473.5 MB, free: 14.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 7.764e-06/7.804e-06, allocations: 0.8125 kB / 0.5479 GB, free: 88.99 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1315, allocations: 81.58 MB / 0.6276 GB, free: 18.2 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4413/0.5729, allocations: 110.3 MB / 0.7354 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00032/0.5733, allocations: 97.95 kB / 0.7355 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.001754/0.575, allocations: 391 kB / 0.7358 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.676e-06/0.5751, allocations: 0 / 0.7358 GB, free: 11.33 MB / 0.4948 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.0003513/0.5754, allocations: 314.6 kB / 0.7361 GB, free: 26.99 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.66e-05/0.5755, allocations: 11.69 kB / 0.7361 GB, free: 26.98 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.777e-05/0.5755, allocations: 0 / 0.7361 GB, free: 26.98 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001788/0.5757, allocations: 171.8 kB / 0.7363 GB, free: 26.79 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.5758, allocations: 3.875 kB / 0.7363 GB, free: 26.79 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.063e-05/0.5758, allocations: 0 / 0.7363 GB, free: 26.79 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.033e-05/0.5758, allocations: 3.938 kB / 0.7363 GB, free: 26.78 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.495e-05/0.5759, allocations: 26.64 kB / 0.7363 GB, free: 26.75 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.5759, allocations: 0 / 0.7363 GB, free: 26.75 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.576, allocations: 3.938 kB / 0.7363 GB, free: 26.75 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.576, allocations: 3.812 kB / 0.7363 GB, free: 26.75 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003941/0.5764, allocations: 357.8 kB / 0.7367 GB, free: 26.36 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001093/0.5765, allocations: 169.2 kB / 0.7369 GB, free: 26.19 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.667e-05/0.5765, allocations: 84.02 kB / 0.7369 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.331e-05/0.5766, allocations: 79.22 kB / 0.737 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.585e-05/0.5767, allocations: 110.6 kB / 0.7371 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.5767, allocations: 0 / 0.7371 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of matching and sorting (n=0): time 8.396e-05/0.5768, allocations: 26.73 kB / 0.7371 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.683e-05/0.5768, allocations: 51.41 kB / 0.7372 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.644e-05/0.5769, allocations: 93.19 kB / 0.7373 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.5769, allocations: 25.7 kB / 0.7373 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.734e-05/0.577, allocations: 84.05 kB / 0.7374 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.594e-06/0.577, allocations: 4.125 kB / 0.7374 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.956e-06/0.577, allocations: 0 / 0.7374 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000207/0.5772, allocations: 311.5 kB / 0.7377 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.453e-06/0.5772, allocations: 0 / 0.7377 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.871e-06/0.5772, allocations: 3.844 kB / 0.7377 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.784e-05/0.5773, allocations: 0.5625 kB / 0.7377 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.5773, allocations: 0 / 0.7377 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001171/0.5774, allocations: 34.83 kB / 0.7377 GB, free: 25.26 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.5774, allocations: 4.938 kB / 0.7377 GB, free: 25.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.5774, allocations: 8.484 kB / 0.7377 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.5774, allocations: 0 / 0.7377 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.821e-05/0.5775, allocations: 2.125 kB / 0.7377 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.5775, allocations: 0.6562 kB / 0.7377 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.214e-05/0.5775, allocations: 3.906 kB / 0.7377 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.213e-06/0.5775, allocations: 3.781 kB / 0.7377 GB, free: 25.25 MB / 0.5105 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 0.0001221/0.5777, allocations: 180.8 kB / 0.7379 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.053e-05/0.5777, allocations: 101.6 kB / 0.738 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.906e-05/0.5778, allocations: 116.7 kB / 0.7381 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.982e-05/0.5779, allocations: 180.9 kB / 0.7383 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.506e-05/0.578, allocations: 180.9 kB / 0.7385 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.474e-05/0.5781, allocations: 181.7 kB / 0.7386 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002505/0.5784, allocations: 379.1 kB / 0.739 GB, free: 23.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.905e-05/0.5784, allocations: 109.7 kB / 0.7391 GB, free: 23.77 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.462e-05/0.5785, allocations: 108.7 kB / 0.7392 GB, free: 23.66 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.808e-05/0.5786, allocations: 181.1 kB / 0.7394 GB, free: 23.48 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.994e-05/0.5787, allocations: 177.3 kB / 0.7396 GB, free: 23.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.547e-05/0.5788, allocations: 184.7 kB / 0.7397 GB, free: 23.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.211e-05/0.5789, allocations: 181 kB / 0.7399 GB, free: 22.93 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001826/0.5791, allocations: 316.7 kB / 0.7402 GB, free: 22.61 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001027/0.5792, allocations: 178.8 kB / 0.7404 GB, free: 22.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001078/0.5793, allocations: 177.5 kB / 0.7405 GB, free: 22.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.264e-05/0.5794, allocations: 105.6 kB / 0.7406 GB, free: 22.12 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/0.5795, allocations: 184.8 kB / 0.7408 GB, free: 21.94 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.009e-05/0.5796, allocations: 101.6 kB / 0.7409 GB, free: 21.84 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.206e-05/0.5796, allocations: 79.72 kB / 0.741 GB, free: 21.76 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002718/0.5799, allocations: 0 / 0.741 GB, free: 21.76 MB / 0.5105 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.0002026/0.5801, allocations: 182.5 kB / 0.7412 GB, free: 21.59 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 6.645e-05/0.5802, allocations: 4.891 kB / 0.7412 GB, free: 21.59 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.5802, allocations: 4.062 kB / 0.7412 GB, free: 21.59 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.473e-06/0.5802, allocations: 0 / 0.7412 GB, free: 21.59 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004304/0.5806, allocations: 0.5237 MB / 0.7417 GB, free: 21.07 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001899/0.5808, allocations: 112.7 kB / 0.7418 GB, free: 20.93 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003307/0.5812, allocations: 0.6826 MB / 0.7425 GB, free: 20.23 MB / 0.5105 GB Notification: Performance of SimCode: time 2.3e-07/0.5812, allocations: 7.938 kB / 0.7425 GB, free: 20.22 MB / 0.5105 GB Notification: Performance of Templates: time 0.00183/0.583, allocations: 177.3 kB / 0.7426 GB, free: 20.21 MB / 0.5105 GB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.makefile (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1)