Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.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.AggregationWeightingFactors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors") [: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.7173/0.7173, allocations: 141.8 MB / 149.1 MB, free: 4.227 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.00109/0.00109, allocations: 190.5 kB / 181.9 MB, free: 15.9 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.317/1.317, allocations: 221.3 MB / 436 MB, free: 9.141 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.0009847/0.0009846, allocations: 93.14 kB / 0.507 GB, free: 24.18 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001715/0.001715, allocations: 285.7 kB / 0.5884 GB, free: 12.09 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 1.005e-05/1.007e-05, allocations: 0 / 0.6759 GB, free: 2.414 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4436/0.4436, allocations: 82.78 MB / 0.7568 GB, free: 112.6 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.128/0.5716, allocations: 110 MB / 0.8642 GB, free: 2.508 MB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002933/0.572, allocations: 113.3 kB / 0.8643 GB, free: 2.402 MB / 0.5263 GB Notification: Performance of FrontEnd: time 0.01074/0.5828, allocations: 3.527 MB / 0.8677 GB, free: 14.91 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 7.694e-06/0.5828, allocations: 0 / 0.8677 GB, free: 14.91 MB / 0.5419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003906/0.5832, allocations: 390.1 kB / 0.8681 GB, free: 14.48 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.5833, allocations: 8.031 kB / 0.8681 GB, free: 14.48 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.25e-05/0.5833, allocations: 11.89 kB / 0.8681 GB, free: 14.46 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/0.5834, allocations: 170.9 kB / 0.8683 GB, free: 14.26 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.5835, allocations: 0 / 0.8683 GB, free: 14.26 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.578e-06/0.5835, allocations: 0 / 0.8683 GB, free: 14.26 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001073/0.5836, allocations: 31.98 kB / 0.8683 GB, free: 14.23 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.692e-05/0.5837, allocations: 67.17 kB / 0.8684 GB, free: 14.16 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.5837, allocations: 0 / 0.8684 GB, free: 14.16 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.5837, allocations: 0 / 0.8684 GB, free: 14.16 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.401e-05/0.5838, allocations: 7.984 kB / 0.8684 GB, free: 14.15 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002204/0.584, allocations: 154.1 kB / 0.8685 GB, free: 13.96 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 7.465e-05/0.5841, allocations: 58.59 kB / 0.8686 GB, free: 13.89 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.323e-05/0.5841, allocations: 48.86 kB / 0.8686 GB, free: 13.84 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.018e-05/0.5842, allocations: 4 kB / 0.8686 GB, free: 13.84 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/0.5842, allocations: 30.56 kB / 0.8687 GB, free: 13.8 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=10): time 1.263e-06/0.5842, allocations: 0 / 0.8687 GB, free: 13.8 MB / 0.5419 GB Notification: Performance of matching and sorting (n=10): time 0.0002458/0.5844, allocations: 120 kB / 0.8688 GB, free: 13.68 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.016e-05/0.5845, allocations: 51.41 kB / 0.8688 GB, free: 13.62 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.5846, allocations: 117 kB / 0.8689 GB, free: 13.5 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.5846, allocations: 29.7 kB / 0.869 GB, free: 13.46 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 3.455e-05/0.5847, allocations: 84.12 kB / 0.869 GB, free: 13.38 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 4.456e-05/0.5847, allocations: 35.53 kB / 0.8691 GB, free: 13.34 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.577e-06/0.5847, allocations: 0 / 0.8691 GB, free: 13.34 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.5848, allocations: 326.7 kB / 0.8694 GB, free: 13.01 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.007e-05/0.5849, allocations: 31.98 kB / 0.8694 GB, free: 12.98 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.652e-05/0.5849, allocations: 31.98 kB / 0.8695 GB, free: 12.95 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.127e-05/0.585, allocations: 35.97 kB / 0.8695 GB, free: 12.91 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.585, allocations: 0 / 0.8695 GB, free: 12.91 MB / 0.5419 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000146/0.5851, allocations: 126.4 kB / 0.8696 GB, free: 12.79 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.5852, allocations: 4 kB / 0.8696 GB, free: 12.78 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.5852, allocations: 64 / 0.8696 GB, free: 12.78 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.5852, allocations: 4 kB / 0.8696 GB, free: 12.78 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.033e-06/0.5852, allocations: 4 kB / 0.8696 GB, free: 12.77 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.5852, allocations: 4 kB / 0.8696 GB, free: 12.77 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.284e-05/0.5853, allocations: 7.891 kB / 0.8696 GB, free: 12.76 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.275e-05/0.5853, allocations: 7.438 kB / 0.8696 GB, free: 12.76 MB / 0.5419 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (1): * Single equations (assignments): 0 * Array equations: 1 * 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.467e-05/0.5853, allocations: 101 kB / 0.8697 GB, free: 12.65 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.452e-05/0.5854, allocations: 8.75 kB / 0.8697 GB, free: 12.64 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.93e-05/0.5854, allocations: 8.375 kB / 0.8698 GB, free: 12.64 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.199e-05/0.5854, allocations: 4 kB / 0.8698 GB, free: 12.63 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.5854, allocations: 4 kB / 0.8698 GB, free: 12.63 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.5854, allocations: 4 kB / 0.8698 GB, free: 12.62 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001416/0.5856, allocations: 150.1 kB / 0.8699 GB, free: 12.44 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.5856, allocations: 0 / 0.8699 GB, free: 12.44 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.823e-06/0.5856, allocations: 4 kB / 0.8699 GB, free: 12.44 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.5856, allocations: 3.984 kB / 0.8699 GB, free: 12.43 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.5856, allocations: 3.188 kB / 0.8699 GB, free: 12.43 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.5856, allocations: 0 / 0.8699 GB, free: 12.43 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.5856, allocations: 3.984 kB / 0.8699 GB, free: 12.43 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001618/0.5858, allocations: 156.8 kB / 0.8701 GB, free: 12.26 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.567e-05/0.5858, allocations: 85.02 kB / 0.8702 GB, free: 12.16 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.542e-05/0.5859, allocations: 0 / 0.8702 GB, free: 12.16 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.28e-05/0.5859, allocations: 0 / 0.8702 GB, free: 12.16 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.494e-05/0.5859, allocations: 0 / 0.8702 GB, free: 12.16 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.215e-06/0.5859, allocations: 4 kB / 0.8702 GB, free: 12.15 MB / 0.5419 GB Notification: Performance of sort global known variables: time 5.393e-05/0.586, allocations: 103.2 kB / 0.8703 GB, free: 12.05 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0003829/0.5864, allocations: 83.92 kB / 0.8703 GB, free: 11.97 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 (1): * Single equations (assignments): 0 * Array equations: 1 * 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.0003655/0.5867, allocations: 187 kB / 0.8705 GB, free: 11.78 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0001345/0.5869, allocations: 67.97 kB / 0.8706 GB, free: 11.71 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.5869, allocations: 0 / 0.8706 GB, free: 11.71 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 4.618e-05/0.5869, allocations: 35.98 kB / 0.8706 GB, free: 11.68 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001074/0.5871, allocations: 0 / 0.8706 GB, free: 11.68 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002538/0.5873, allocations: 139.5 kB / 0.8707 GB, free: 11.52 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002784/0.5876, allocations: 0.7115 MB / 0.8714 GB, free: 10.78 MB / 0.5419 GB Notification: Performance of SimCode: time 3.21e-07/0.5876, allocations: 0 / 0.8714 GB, free: 10.78 MB / 0.5419 GB Notification: Performance of Templates: time 0.004129/0.5917, allocations: 1.552 MB / 0.873 GB, free: 9.273 MB / 0.5419 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe 2>&1)