Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.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.AggregationCellTimes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes") [: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.7324/0.7324, allocations: 141.8 MB / 149.1 MB, free: 7.824 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 178.7 kB / 181.9 MB, free: 5.215 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.259/1.259, allocations: 221.4 MB / 436 MB, free: 13.08 MB / 346.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000856/0.000856, allocations: 101.2 kB / 0.507 GB, free: 16.74 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001787/0.001786, allocations: 283.6 kB / 0.5885 GB, free: 15.26 MB / 458.9 MB Notification: Performance of FrontEnd - loaded program: time 8.335e-06/8.365e-06, allocations: 2.094 kB / 0.6759 GB, free: 129.9 MB / 0.495 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1731/0.1731, allocations: 82.78 MB / 0.7568 GB, free: 59.77 MB / 0.495 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4617/0.6348, allocations: 108.9 MB / 0.8631 GB, free: 14.29 MB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002215/0.6351, allocations: 104.4 kB / 0.8632 GB, free: 14.29 MB / 0.5263 GB Notification: Performance of FrontEnd: time 0.003211/0.6383, allocations: 1.021 MB / 0.8642 GB, free: 14.24 MB / 0.5263 GB Notification: Performance of Transformations before backend: time 8.556e-06/0.6383, allocations: 3.875 kB / 0.8642 GB, free: 14.24 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003023/0.6387, allocations: 338.2 kB / 0.8645 GB, free: 29.88 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.6387, allocations: 7.75 kB / 0.8645 GB, free: 29.88 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.91e-05/0.6387, allocations: 5 kB / 0.8645 GB, free: 29.88 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000156/0.6389, allocations: 181.8 kB / 0.8647 GB, free: 29.67 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.955e-06/0.6389, allocations: 0 / 0.8647 GB, free: 29.67 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.464e-06/0.6389, allocations: 0 / 0.8647 GB, free: 29.67 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.006e-05/0.639, allocations: 9.109 kB / 0.8647 GB, free: 29.66 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.016e-05/0.639, allocations: 44.22 kB / 0.8647 GB, free: 29.62 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.062e-06/0.6391, allocations: 0 / 0.8647 GB, free: 29.62 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-06/0.6391, allocations: 0 / 0.8647 GB, free: 29.62 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.6391, allocations: 7.484 kB / 0.8648 GB, free: 29.62 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001617/0.6393, allocations: 154.6 kB / 0.8649 GB, free: 29.44 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 3.632e-05/0.6393, allocations: 45.83 kB / 0.8649 GB, free: 29.39 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.75e-05/0.6393, allocations: 15.09 kB / 0.865 GB, free: 29.38 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 9.998e-06/0.6393, allocations: 3.781 kB / 0.865 GB, free: 29.38 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.001e-05/0.6394, allocations: 38.5 kB / 0.865 GB, free: 29.33 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.6394, allocations: 0 / 0.865 GB, free: 29.33 MB / 0.5419 GB Notification: Performance of matching and sorting (n=2): time 0.0001249/0.6395, allocations: 43.84 kB / 0.865 GB, free: 29.29 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/0.6396, allocations: 77.11 kB / 0.8651 GB, free: 29.2 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.9e-05/0.6397, allocations: 132.2 kB / 0.8652 GB, free: 29.11 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.291e-05/0.6397, allocations: 25.7 kB / 0.8653 GB, free: 29.07 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 3.024e-05/0.6397, allocations: 81.69 kB / 0.8653 GB, free: 28.99 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 1.585e-05/0.6397, allocations: 13.14 kB / 0.8654 GB, free: 28.98 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.306e-06/0.6397, allocations: 3.75 kB / 0.8654 GB, free: 28.98 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.6399, allocations: 312.3 kB / 0.8657 GB, free: 28.67 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.821e-05/0.6399, allocations: 24.83 kB / 0.8657 GB, free: 28.67 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.272e-05/0.64, allocations: 25.78 kB / 0.8657 GB, free: 28.67 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.481e-05/0.64, allocations: 26.31 kB / 0.8657 GB, free: 28.67 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.64, allocations: 0 / 0.8657 GB, free: 28.67 MB / 0.5419 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001242/0.6402, allocations: 115.5 kB / 0.8658 GB, free: 28.63 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 8.426e-06/0.6402, allocations: 6.969 kB / 0.8658 GB, free: 28.63 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/0.6402, allocations: 0.5469 kB / 0.8658 GB, free: 28.63 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.6402, allocations: 7.75 kB / 0.8659 GB, free: 28.62 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.146e-05/0.6403, allocations: 1.266 kB / 0.8659 GB, free: 28.62 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.386e-06/0.6403, allocations: 0 / 0.8659 GB, free: 28.62 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.156e-05/0.6403, allocations: 15.59 kB / 0.8659 GB, free: 28.61 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.6403, allocations: 1.188 kB / 0.8659 GB, free: 28.61 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 7.503e-05/0.6404, allocations: 110.2 kB / 0.866 GB, free: 28.51 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.898e-06/0.6404, allocations: 3.906 kB / 0.866 GB, free: 28.5 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.272e-05/0.6405, allocations: 3.469 kB / 0.866 GB, free: 28.5 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.6405, allocations: 0 / 0.866 GB, free: 28.5 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.6405, allocations: 9.375 kB / 0.866 GB, free: 28.49 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.6405, allocations: 0 / 0.866 GB, free: 28.49 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.534e-05/0.6406, allocations: 146.5 kB / 0.8661 GB, free: 28.33 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.6406, allocations: 0 / 0.8661 GB, free: 28.33 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.819e-05/0.6406, allocations: 7.781 kB / 0.8661 GB, free: 28.32 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.6406, allocations: 0 / 0.8661 GB, free: 28.32 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.6406, allocations: 1.688 kB / 0.8661 GB, free: 28.32 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.6406, allocations: 3.938 kB / 0.8661 GB, free: 28.32 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.6406, allocations: 1.5 kB / 0.8661 GB, free: 28.32 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.803e-05/0.6407, allocations: 93.73 kB / 0.8662 GB, free: 28.22 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.082e-05/0.6408, allocations: 85.83 kB / 0.8663 GB, free: 28.12 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.297e-05/0.6408, allocations: 0 / 0.8663 GB, free: 28.12 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.782e-05/0.6408, allocations: 0 / 0.8663 GB, free: 28.12 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.521e-05/0.6408, allocations: 1.359 kB / 0.8663 GB, free: 28.12 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-06/0.6408, allocations: 3.875 kB / 0.8663 GB, free: 28.12 MB / 0.5419 GB Notification: Performance of sort global known variables: time 5.015e-05/0.6409, allocations: 103.6 kB / 0.8664 GB, free: 28.04 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0001977/0.6411, allocations: 17.16 kB / 0.8664 GB, free: 28.04 MB / 0.5419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001766/0.6413, allocations: 116.3 kB / 0.8665 GB, free: 27.95 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0001257/0.6414, allocations: 87.7 kB / 0.8666 GB, free: 27.92 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 2.113e-06/0.6414, allocations: 0 / 0.8666 GB, free: 27.92 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 8.737e-06/0.6414, allocations: 3.781 kB / 0.8666 GB, free: 27.92 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001081/0.6416, allocations: 4.844 kB / 0.8666 GB, free: 27.91 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002034/0.6418, allocations: 88.69 kB / 0.8667 GB, free: 27.84 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002961/0.6421, allocations: 0.7029 MB / 0.8674 GB, free: 27.13 MB / 0.5419 GB Notification: Performance of SimCode: time 2.91e-07/0.6421, allocations: 0 / 0.8674 GB, free: 27.13 MB / 0.5419 GB Notification: Performance of Templates: time 0.002903/0.645, allocations: 0.5559 MB / 0.868 GB, free: 27.09 MB / 0.5419 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe 2>&1)