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.CountAggregationCells.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.CountAggregationCells,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells",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.257/2.257, 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.001597/0.001597, allocations: 185.2 kB / 360.3 MB, free: 7.574 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.914/1.914, allocations: 205.1 MB / 0.6187 GB, free: 13.24 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.001206/0.001205, allocations: 89.52 kB / 0.7317 GB, free: 45.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3291/0.3304, allocations: 121.4 MB / 0.8502 GB, free: 3.918 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6685/0.9989, allocations: 115.2 MB / 0.9628 GB, free: 78.64 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2275/1.226, allocations: 137 MB / 1.097 GB, free: 3.824 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003942/1.227, allocations: 101.5 kB / 1.097 GB, free: 3.73 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.002559/1.23, allocations: 0.6745 MB / 1.097 GB, free: 3.031 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/1.23, allocations: 14.58 kB / 1.097 GB, free: 3.02 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.308e-05/1.23, allocations: 4.484 kB / 1.097 GB, free: 3.016 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/1.23, allocations: 163.9 kB / 1.098 GB, free: 2.816 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/1.23, allocations: 5.312 kB / 1.098 GB, free: 2.812 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.768e-06/1.23, allocations: 0 / 1.098 GB, free: 2.812 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.615e-05/1.23, allocations: 4.469 kB / 1.098 GB, free: 2.809 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.905e-05/1.23, allocations: 30.2 kB / 1.098 GB, free: 2.773 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/1.23, allocations: 2.922 kB / 1.098 GB, free: 2.773 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-06/1.23, allocations: 0.75 kB / 1.098 GB, free: 2.773 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/1.23, allocations: 0 / 1.098 GB, free: 2.773 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003014/1.23, allocations: 364.2 kB / 1.098 GB, free: 2.383 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.821e-05/1.23, allocations: 169.1 kB / 1.098 GB, free: 2.207 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.853e-05/1.23, allocations: 80.14 kB / 1.098 GB, free: 2.125 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.802e-05/1.231, allocations: 75.84 kB / 1.098 GB, free: 2.051 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.985e-05/1.231, allocations: 114.1 kB / 1.098 GB, free: 1.934 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 1.393e-06/1.231, allocations: 0 / 1.098 GB, free: 1.934 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 8.753e-05/1.231, allocations: 29.7 kB / 1.098 GB, free: 1.898 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.967e-05/1.231, allocations: 55.97 kB / 1.098 GB, free: 1.832 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.146e-05/1.231, allocations: 88.25 kB / 1.099 GB, free: 1.742 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/1.231, allocations: 26.3 kB / 1.099 GB, free: 1.711 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.52e-05/1.231, allocations: 85.72 kB / 1.099 GB, free: 1.625 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.954e-06/1.231, allocations: 0 / 1.099 GB, free: 1.625 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.755e-06/1.231, allocations: 0 / 1.099 GB, free: 1.625 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001303/1.231, allocations: 323.3 kB / 1.099 GB, free: 1.301 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.845e-06/1.231, allocations: 0 / 1.099 GB, free: 1.301 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.58e-06/1.231, allocations: 0.6562 kB / 1.099 GB, free: 1.301 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.773e-05/1.231, allocations: 0.6875 kB / 1.099 GB, free: 1.301 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/1.231, allocations: 0.8125 kB / 1.099 GB, free: 1.301 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001118/1.231, allocations: 33.64 kB / 1.099 GB, free: 1.262 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/1.231, allocations: 8.625 kB / 1.099 GB, free: 1.254 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/1.231, allocations: 0 / 1.099 GB, free: 1.254 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/1.231, allocations: 0.5938 kB / 1.099 GB, free: 1.254 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.356e-05/1.231, allocations: 1.516 kB / 1.099 GB, free: 1.254 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/1.231, allocations: 0 / 1.099 GB, free: 1.254 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.672e-05/1.231, allocations: 4.531 kB / 1.099 GB, free: 1.25 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/1.231, allocations: 0 / 1.099 GB, free: 1.25 MB / 0.698 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 0.0001037/1.232, allocations: 185.6 kB / 1.099 GB, free: 1.062 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.463e-05/1.232, allocations: 101.6 kB / 1.099 GB, free: 0.957 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001154/1.232, allocations: 108.7 kB / 1.099 GB, free: 0.8438 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.221e-05/1.232, allocations: 181 kB / 1.1 GB, free: 0.6602 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-05/1.232, allocations: 181 kB / 1.1 GB, free: 488 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-05/1.232, allocations: 186.2 kB / 1.1 GB, free: 296 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002433/1.232, allocations: 381.7 kB / 1.1 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.204e-05/1.232, allocations: 105 kB / 1.1 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.397e-05/1.232, allocations: 104.9 kB / 1.1 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.079e-05/1.232, allocations: 180.2 kB / 1.101 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.094e-05/1.233, allocations: 176.3 kB / 1.101 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.664e-05/1.233, allocations: 190.1 kB / 1.101 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.248e-05/1.233, allocations: 184.2 kB / 1.101 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001574/1.233, allocations: 310.5 kB / 1.101 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003734/1.233, allocations: 0.6681 MB / 1.102 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/1.233, allocations: 186.7 kB / 1.102 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.739e-05/1.233, allocations: 176.3 kB / 1.102 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/1.234, allocations: 101 kB / 1.103 GB, free: 13.4 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.66e-05/1.234, allocations: 188.2 kB / 1.103 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.086e-05/1.234, allocations: 108.9 kB / 1.103 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.926e-05/1.234, allocations: 75.28 kB / 1.103 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001077/1.235, allocations: 0 / 1.103 GB, free: 13.02 MB / 0.7136 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.000189/1.235, allocations: 183.4 kB / 1.103 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.24e-05/1.235, allocations: 368 / 1.103 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/1.235, allocations: 0 / 1.103 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.821e-06/1.235, allocations: 4.094 kB / 1.103 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003544/1.236, allocations: 0.5251 MB / 1.104 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001896/1.236, allocations: 115.4 kB / 1.104 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003053/1.236, allocations: 0.6841 MB / 1.104 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of SimCode: time 8.11e-07/1.236, allocations: 0 / 1.104 GB, free: 11.45 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells.fmu > Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1)