Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes,fileNamePrefix="Buildings_8_0_0_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_8_0_0_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.0/package.mo): time 2.465/2.465, allocations: 284.8 MB / 292.1 MB, free: 10.8 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.001658/0.001658, allocations: 177.3 kB / 360.3 MB, free: 7.535 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.991/1.991, allocations: 205.1 MB / 0.6187 GB, free: 13.2 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.001181/0.00118, allocations: 88.44 kB / 0.7317 GB, free: 45.11 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2837/0.2849, allocations: 121.4 MB / 0.8502 GB, free: 3.891 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6783/0.9633, allocations: 115.2 MB / 0.9628 GB, free: 78.5 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.229/1.192, allocations: 138.1 MB / 1.098 GB, free: 2.762 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003978/1.193, allocations: 101.1 kB / 1.098 GB, free: 2.664 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.006962/1.2, allocations: 1.315 MB / 1.099 GB, free: 1.34 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/1.2, allocations: 8.5 kB / 1.099 GB, free: 1.332 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.775e-05/1.2, allocations: 4 kB / 1.099 GB, free: 1.328 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001959/1.2, allocations: 174.3 kB / 1.099 GB, free: 1.121 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/1.2, allocations: 0 / 1.099 GB, free: 1.121 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.59e-05/1.2, allocations: 0 / 1.099 GB, free: 1.121 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.385e-05/1.2, allocations: 13.23 kB / 1.099 GB, free: 1.109 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.075e-05/1.2, allocations: 44.44 kB / 1.099 GB, free: 1.055 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/1.2, allocations: 1.188 kB / 1.099 GB, free: 1.055 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/1.2, allocations: 0 / 1.099 GB, free: 1.055 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/1.2, allocations: 0 / 1.099 GB, free: 1.055 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001962/1.201, allocations: 157.4 kB / 1.099 GB, free: 0.8633 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.901e-05/1.201, allocations: 38.55 kB / 1.099 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.742e-05/1.201, allocations: 17.84 kB / 1.099 GB, free: 0.7852 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.377e-06/1.201, allocations: 5.062 kB / 1.099 GB, free: 0.7812 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/1.201, allocations: 40.22 kB / 1.099 GB, free: 0.7344 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.573e-06/1.201, allocations: 0 / 1.099 GB, free: 0.7344 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001434/1.201, allocations: 41.59 kB / 1.1 GB, free: 0.6875 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/1.201, allocations: 77.98 kB / 1.1 GB, free: 0.5938 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001309/1.201, allocations: 121.6 kB / 1.1 GB, free: 480 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/1.201, allocations: 29.69 kB / 1.1 GB, free: 444 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.749e-05/1.201, allocations: 85.11 kB / 1.1 GB, free: 356 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.113e-05/1.201, allocations: 11.84 kB / 1.1 GB, free: 344 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-06/1.201, allocations: 0.7812 kB / 1.1 GB, free: 344 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000151/1.202, allocations: 322 kB / 1.1 GB, free: 16 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.235e-05/1.202, allocations: 20.55 kB / 1.1 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.067e-05/1.202, allocations: 31.94 kB / 1.1 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001109/1.202, allocations: 32.48 kB / 1.1 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/1.202, allocations: 1.469 kB / 1.1 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002245/1.202, allocations: 101.7 kB / 1.1 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/1.202, allocations: 4 kB / 1.1 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.12e-05/1.202, allocations: 8.641 kB / 1.1 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/1.202, allocations: 4.719 kB / 1.1 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.782e-05/1.202, allocations: 0 / 1.1 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.93e-06/1.202, allocations: 4.594 kB / 1.1 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.068e-05/1.202, allocations: 10.44 kB / 1.1 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.304e-05/1.202, allocations: 0 / 1.1 GB, free: 15.8 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 0.0001252/1.203, allocations: 105.5 kB / 1.1 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.592e-05/1.203, allocations: 7.719 kB / 1.1 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.28e-05/1.203, allocations: 7.938 kB / 1.1 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/1.203, allocations: 0.9844 kB / 1.1 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.245e-05/1.203, allocations: 4.5 kB / 1.1 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/1.203, allocations: 5.25 kB / 1.1 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002378/1.203, allocations: 142.1 kB / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.825e-06/1.203, allocations: 3.984 kB / 1.101 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.185e-05/1.203, allocations: 4.844 kB / 1.101 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/1.203, allocations: 0 / 1.101 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/1.203, allocations: 0 / 1.101 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/1.203, allocations: 4.062 kB / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/1.203, allocations: 2.312 kB / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001416/1.203, allocations: 87.61 kB / 1.101 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002431/1.204, allocations: 471.9 kB / 1.101 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.623e-05/1.204, allocations: 81.11 kB / 1.101 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.029e-05/1.204, allocations: 0 / 1.101 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.243e-05/1.204, allocations: 3.906 kB / 1.101 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.01e-05/1.204, allocations: 1.594 kB / 1.101 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-06/1.204, allocations: 4 kB / 1.101 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0001/1.204, allocations: 105.4 kB / 1.101 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001116/1.205, allocations: 19.94 kB / 1.101 GB, free: 14.65 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.0002774/1.205, allocations: 115.2 kB / 1.101 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002164/1.206, allocations: 85.61 kB / 1.102 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/1.206, allocations: 0 / 1.102 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.886e-05/1.206, allocations: 4 kB / 1.102 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001436/1.206, allocations: 4 kB / 1.102 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000316/1.206, allocations: 86.42 kB / 1.102 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003761/1.206, allocations: 0.6958 MB / 1.102 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of SimCode: time 1.583e-06/1.206, allocations: 0 / 1.102 GB, free: 13.6 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes.fmu > Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe 2>&1)