Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes",fmuType="me",version="2.0",platforms={"static"}) [: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.0.1-maint.8.0.x/package.mo): time 1.369/1.369, allocations: 285.5 MB / 292.8 MB, free: 10.41 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.000928/0.000928, allocations: 181.3 kB / 361.1 MB, free: 7.109 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.102/1.102, allocations: 205.1 MB / 0.6195 GB, free: 11.93 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.0008129/0.0008129, allocations: 97.08 kB / 0.7326 GB, free: 44.46 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2146/0.2154, allocations: 121.5 MB / 0.8512 GB, free: 3.094 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.569/0.7845, allocations: 115.3 MB / 0.9638 GB, free: 78.01 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1623/0.9468, allocations: 138.2 MB / 1.099 GB, free: 1.82 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002844/0.9471, allocations: 101.3 kB / 1.099 GB, free: 1.723 MB / 0.698 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.003711/0.9509, allocations: 1.306 MB / 1.1 GB, free: 416 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.9509, allocations: 8.5 kB / 1.1 GB, free: 408 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.853e-05/0.9509, allocations: 0 / 1.1 GB, free: 408 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001513/0.9511, allocations: 179 kB / 1.1 GB, free: 188 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.9511, allocations: 0 / 1.1 GB, free: 188 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.322e-05/0.9511, allocations: 2.188 kB / 1.1 GB, free: 188 kB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.38e-05/0.9512, allocations: 4.594 kB / 1.1 GB, free: 184 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.267e-05/0.9513, allocations: 48.19 kB / 1.1 GB, free: 124 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.9513, allocations: 1.125 kB / 1.1 GB, free: 124 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.9513, allocations: 5.125 kB / 1.1 GB, free: 120 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.9513, allocations: 0 / 1.1 GB, free: 120 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001701/0.9515, allocations: 156.3 kB / 1.101 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.76e-05/0.9516, allocations: 34.38 kB / 1.101 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.162e-05/0.9516, allocations: 28.17 kB / 1.101 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 6.533e-06/0.9516, allocations: 0.75 kB / 1.101 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.427e-05/0.9517, allocations: 39.38 kB / 1.101 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.9517, allocations: 0.5625 kB / 1.101 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001052/0.9518, allocations: 38.64 kB / 1.101 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.397e-05/0.9518, allocations: 81.61 kB / 1.101 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.57e-05/0.9519, allocations: 125.5 kB / 1.101 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.189e-05/0.9519, allocations: 25.7 kB / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.917e-05/0.952, allocations: 88.2 kB / 1.101 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.51e-05/0.952, allocations: 11.89 kB / 1.101 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.955e-06/0.952, allocations: 0 / 1.101 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.9521, allocations: 317.4 kB / 1.101 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.646e-05/0.9521, allocations: 23.98 kB / 1.101 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.568e-05/0.9522, allocations: 31.28 kB / 1.101 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.268e-05/0.9522, allocations: 31.89 kB / 1.101 GB, free: 15 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.9522, allocations: 0 / 1.101 GB, free: 15 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001369/0.9524, allocations: 106.6 kB / 1.101 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.017e-05/0.9524, allocations: 8 kB / 1.102 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.714e-05/0.9524, allocations: 4 kB / 1.102 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.9524, allocations: 3.906 kB / 1.102 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.948e-05/0.9525, allocations: 0.75 kB / 1.102 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.9525, allocations: 4 kB / 1.102 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.997e-05/0.9525, allocations: 9.719 kB / 1.102 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.201e-06/0.9526, allocations: 3.938 kB / 1.102 GB, free: 14.86 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: 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 5.659e-05/0.9526, allocations: 112.8 kB / 1.102 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.327e-06/0.9526, allocations: 3.906 kB / 1.102 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.071e-05/0.9527, allocations: 7.469 kB / 1.102 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.9527, allocations: 0 / 1.102 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.9527, allocations: 7.75 kB / 1.102 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.9527, allocations: 0.6094 kB / 1.102 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.56e-05/0.9528, allocations: 142.1 kB / 1.102 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.9528, allocations: 0 / 1.102 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.863e-05/0.9528, allocations: 7.938 kB / 1.102 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.9528, allocations: 0 / 1.102 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.9528, allocations: 0 / 1.102 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.9528, allocations: 0 / 1.102 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.9528, allocations: 0 / 1.102 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.688e-05/0.9529, allocations: 95.55 kB / 1.102 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001693/0.9531, allocations: 470.3 kB / 1.102 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.867e-05/0.9531, allocations: 85.09 kB / 1.102 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.423e-05/0.9532, allocations: 0.5156 kB / 1.102 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.933e-05/0.9532, allocations: 3.906 kB / 1.102 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.428e-06/0.9532, allocations: 0 / 1.102 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/0.9532, allocations: 4 kB / 1.102 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.941e-05/0.9533, allocations: 102 kB / 1.103 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007313/0.954, allocations: 23.97 kB / 1.103 GB, free: 13.7 MB / 0.7136 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.0001653/0.9542, allocations: 115.2 kB / 1.103 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001207/0.9543, allocations: 81.62 kB / 1.103 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.9543, allocations: 0 / 1.103 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.131e-05/0.9543, allocations: 7.984 kB / 1.103 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001016/0.9544, allocations: 8 kB / 1.103 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002048/0.9546, allocations: 87 kB / 1.103 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002311/0.9549, allocations: 0.7025 MB / 1.104 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/0.9549, allocations: 0 / 1.104 GB, free: 12.64 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe 2>&1)