Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/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-master/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_dev_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_dev_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.001686/0.001686, allocations: 174.6 kB / 7.459 MB, free: 2.219 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5935/0.5935, allocations: 133.5 MB / 141.4 MB, free: 15.72 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.122/1.122, allocations: 221.3 MB / 395 MB, free: 10.27 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.0008513/0.0008513, allocations: 97.16 kB / 477.8 MB, free: 10.91 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.342e-06/6.362e-06, allocations: 2.969 kB / 0.5529 GB, free: 89.09 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1081, allocations: 82.31 MB / 0.6333 GB, free: 14.12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3019/0.41, allocations: 110.6 MB / 0.7412 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002196/0.4103, allocations: 104.4 kB / 0.7413 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.001294/0.4116, allocations: 385.4 kB / 0.7417 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.958e-06/0.4116, allocations: 7.812 kB / 0.7417 GB, free: 10.8 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.000182/0.4118, allocations: 314.2 kB / 0.742 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 2.829e-05/0.4118, allocations: 7.688 kB / 0.742 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.167e-05/0.4119, allocations: 0.7969 kB / 0.742 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.929e-05/0.412, allocations: 166.9 kB / 0.7422 GB, free: 26.26 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.957e-06/0.412, allocations: 0 / 0.7422 GB, free: 26.26 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.704e-06/0.412, allocations: 0 / 0.7422 GB, free: 26.26 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.248e-05/0.412, allocations: 3.844 kB / 0.7422 GB, free: 26.26 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.959e-05/0.4121, allocations: 30.5 kB / 0.7422 GB, free: 26.22 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.172e-06/0.4121, allocations: 0 / 0.7422 GB, free: 26.22 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.312e-06/0.4121, allocations: 0.8438 kB / 0.7422 GB, free: 26.22 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.436e-06/0.4121, allocations: 0 / 0.7422 GB, free: 26.22 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002145/0.4123, allocations: 366.7 kB / 0.7426 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 5.591e-05/0.4124, allocations: 177.1 kB / 0.7427 GB, free: 25.65 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.126e-05/0.4124, allocations: 80.14 kB / 0.7428 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.4124, allocations: 75.98 kB / 0.7429 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.4125, allocations: 113.4 kB / 0.743 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=0): time 9.01e-07/0.4125, allocations: 0 / 0.743 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of matching and sorting (n=0): time 5.75e-05/0.4125, allocations: 26.55 kB / 0.743 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.747e-05/0.4126, allocations: 59.28 kB / 0.7431 GB, free: 25.28 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.938e-05/0.4126, allocations: 89.75 kB / 0.7432 GB, free: 25.19 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.918e-06/0.4126, allocations: 26.5 kB / 0.7432 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.495e-05/0.4127, allocations: 87.89 kB / 0.7433 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.443e-06/0.4127, allocations: 0 / 0.7433 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.683e-06/0.4127, allocations: 0 / 0.7433 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.153e-05/0.4128, allocations: 314.6 kB / 0.7436 GB, free: 24.76 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.879e-06/0.4128, allocations: 0 / 0.7436 GB, free: 24.76 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.876e-06/0.4128, allocations: 128 / 0.7436 GB, free: 24.76 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.011e-05/0.4128, allocations: 7.906 kB / 0.7436 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.4128, allocations: 0 / 0.7436 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.924e-05/0.4129, allocations: 31.19 kB / 0.7436 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.564e-06/0.4129, allocations: 3.875 kB / 0.7436 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.136e-06/0.4129, allocations: 0 / 0.7436 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.4129, allocations: 0.7969 kB / 0.7436 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.985e-05/0.413, allocations: 3.969 kB / 0.7436 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.605e-06/0.413, allocations: 0 / 0.7436 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.015e-05/0.413, allocations: 5.891 kB / 0.7436 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.707e-06/0.413, allocations: 4.031 kB / 0.7436 GB, free: 24.71 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 6.387e-05/0.4131, allocations: 180.2 kB / 0.7438 GB, free: 24.53 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.519e-05/0.4131, allocations: 105.6 kB / 0.7439 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.564e-05/0.4132, allocations: 105.2 kB / 0.744 GB, free: 24.32 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.218e-05/0.4132, allocations: 184.3 kB / 0.7442 GB, free: 24.13 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.478e-05/0.4133, allocations: 176.9 kB / 0.7443 GB, free: 23.95 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.068e-05/0.4134, allocations: 184.8 kB / 0.7445 GB, free: 23.77 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001507/0.4135, allocations: 387.7 kB / 0.7449 GB, free: 23.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.681e-05/0.4135, allocations: 101.5 kB / 0.745 GB, free: 23.24 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.374e-05/0.4136, allocations: 103.2 kB / 0.7451 GB, free: 23.14 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.173e-05/0.4136, allocations: 184.7 kB / 0.7453 GB, free: 22.95 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.159e-05/0.4137, allocations: 185.2 kB / 0.7454 GB, free: 22.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.278e-05/0.4138, allocations: 176.9 kB / 0.7456 GB, free: 22.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.263e-05/0.4138, allocations: 184.8 kB / 0.7458 GB, free: 22.4 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.486e-05/0.4139, allocations: 302.9 kB / 0.7461 GB, free: 22.09 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.031e-05/0.414, allocations: 191 kB / 0.7462 GB, free: 21.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.798e-05/0.414, allocations: 181.9 kB / 0.7464 GB, free: 21.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.985e-05/0.4141, allocations: 101 kB / 0.7465 GB, free: 21.6 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.74e-05/0.4142, allocations: 181 kB / 0.7467 GB, free: 21.41 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.616e-05/0.4142, allocations: 101.5 kB / 0.7468 GB, free: 21.31 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.289e-05/0.4142, allocations: 79.86 kB / 0.7469 GB, free: 21.23 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001829/0.4144, allocations: 96 / 0.7469 GB, free: 21.23 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.0001004/0.4145, allocations: 179.3 kB / 0.747 GB, free: 21.07 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 3.493e-05/0.4146, allocations: 3.875 kB / 0.747 GB, free: 21.07 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.243e-06/0.4146, allocations: 3.938 kB / 0.747 GB, free: 21.07 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 9.51e-07/0.4146, allocations: 0 / 0.747 GB, free: 21.07 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000235/0.4148, allocations: 0.5298 MB / 0.7476 GB, free: 20.54 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001113/0.4149, allocations: 116.5 kB / 0.7477 GB, free: 20.4 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002066/0.4152, allocations: 0.6856 MB / 0.7483 GB, free: 19.7 MB / 0.5105 GB Notification: Performance of SimCode: time 2.11e-07/0.4152, allocations: 0 / 0.7483 GB, free: 19.7 MB / 0.5105 GB Notification: Performance of Templates: time 0.001275/0.4164, allocations: 186.2 kB / 0.7485 GB, free: 19.68 MB / 0.5105 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1)