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.CountAggregationCells.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.CountAggregationCells,fileNamePrefix="Buildings_maint_8_0_x_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_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.384/1.384, allocations: 285.5 MB / 292.8 MB, free: 10.43 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.001081/0.001081, allocations: 181.3 kB / 361.1 MB, free: 7.066 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.135/1.135, allocations: 205.1 MB / 0.6195 GB, free: 10.26 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.0007908/0.0007908, allocations: 92.95 kB / 0.7325 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2051/0.2059, allocations: 121.5 MB / 0.8512 GB, free: 2.828 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4725/0.6785, allocations: 115.3 MB / 0.9638 GB, free: 78.24 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1412/0.8197, allocations: 137.2 MB / 1.098 GB, free: 2.758 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003009/0.82, allocations: 101.6 kB / 1.098 GB, free: 2.66 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.00174/0.8218, allocations: 0.6796 MB / 1.099 GB, free: 1.957 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.8218, allocations: 11.39 kB / 1.099 GB, free: 1.949 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.36e-05/0.8219, allocations: 0 / 1.099 GB, free: 1.949 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.1e-05/0.8219, allocations: 159.1 kB / 1.099 GB, free: 1.754 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.822, allocations: 10.88 kB / 1.099 GB, free: 1.746 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.963e-06/0.822, allocations: 0.5625 kB / 1.099 GB, free: 1.746 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.388e-05/0.822, allocations: 0 / 1.099 GB, free: 1.746 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.012e-05/0.8221, allocations: 25.7 kB / 1.099 GB, free: 1.715 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.8221, allocations: 0 / 1.099 GB, free: 1.715 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.744e-06/0.8221, allocations: 4.516 kB / 1.099 GB, free: 1.711 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.8221, allocations: 0 / 1.099 GB, free: 1.711 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002474/0.8224, allocations: 367.7 kB / 1.099 GB, free: 1.316 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.957e-05/0.8224, allocations: 165.1 kB / 1.099 GB, free: 1.145 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.253e-05/0.8225, allocations: 84.17 kB / 1.099 GB, free: 1.059 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.342e-05/0.8225, allocations: 80.77 kB / 1.099 GB, free: 0.9805 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.161e-05/0.8226, allocations: 109.4 kB / 1.1 GB, free: 0.8672 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.8226, allocations: 0 / 1.1 GB, free: 0.8672 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 6.347e-05/0.8226, allocations: 25.7 kB / 1.1 GB, free: 0.8359 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.701e-05/0.8227, allocations: 63.88 kB / 1.1 GB, free: 0.7656 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.797e-05/0.8228, allocations: 92.98 kB / 1.1 GB, free: 0.668 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.097e-05/0.8228, allocations: 25.7 kB / 1.1 GB, free: 0.6367 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.766e-05/0.8228, allocations: 80.14 kB / 1.1 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.943e-06/0.8228, allocations: 0 / 1.1 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.204e-06/0.8228, allocations: 0 / 1.1 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.8229, allocations: 314.8 kB / 1.1 GB, free: 244 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.462e-06/0.823, allocations: 7.281 kB / 1.1 GB, free: 240 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.468e-06/0.823, allocations: 4 kB / 1.1 GB, free: 236 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.238e-05/0.823, allocations: 1.312 kB / 1.1 GB, free: 236 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.823, allocations: 0 / 1.1 GB, free: 236 kB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.698e-05/0.8231, allocations: 29.7 kB / 1.1 GB, free: 200 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/0.8231, allocations: 4 kB / 1.1 GB, free: 196 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.8231, allocations: 0 / 1.1 GB, free: 196 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.8231, allocations: 4.688 kB / 1.1 GB, free: 192 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.598e-05/0.8232, allocations: 5.438 kB / 1.1 GB, free: 188 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.256e-06/0.8232, allocations: 0.9375 kB / 1.1 GB, free: 188 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.05e-05/0.8232, allocations: 2 kB / 1.1 GB, free: 188 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.787e-06/0.8232, allocations: 0.5625 kB / 1.1 GB, free: 188 kB / 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 7.945e-05/0.8233, allocations: 193.3 kB / 1.1 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.827e-05/0.8233, allocations: 101 kB / 1.1 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.807e-05/0.8234, allocations: 104.7 kB / 1.101 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-05/0.8234, allocations: 181.4 kB / 1.101 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.945e-05/0.8235, allocations: 188.8 kB / 1.101 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.259e-05/0.8236, allocations: 180.8 kB / 1.101 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001734/0.8237, allocations: 383.1 kB / 1.101 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.562e-05/0.8238, allocations: 101 kB / 1.102 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.984e-05/0.8238, allocations: 109.5 kB / 1.102 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.466e-05/0.8238, allocations: 180.8 kB / 1.102 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.551e-05/0.8239, allocations: 177.1 kB / 1.102 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-05/0.824, allocations: 177.4 kB / 1.102 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.616e-05/0.824, allocations: 185.1 kB / 1.102 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.763e-05/0.8241, allocations: 310.5 kB / 1.103 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001937/0.8243, allocations: 0.6783 MB / 1.103 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.273e-05/0.8244, allocations: 186.1 kB / 1.103 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.606e-05/0.8244, allocations: 180.2 kB / 1.104 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.234e-05/0.8245, allocations: 101 kB / 1.104 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.187e-05/0.8246, allocations: 177 kB / 1.104 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.932e-05/0.8246, allocations: 116.8 kB / 1.104 GB, free: 12.03 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.696e-05/0.8246, allocations: 83.28 kB / 1.104 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007518/0.8254, allocations: 0 / 1.104 GB, free: 11.95 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.0001203/0.8255, allocations: 175.5 kB / 1.104 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 3.761e-05/0.8256, allocations: 4.359 kB / 1.104 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.8256, allocations: 0 / 1.104 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.42e-07/0.8256, allocations: 4.156 kB / 1.104 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000227/0.8258, allocations: 0.5185 MB / 1.105 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001263/0.8259, allocations: 119.3 kB / 1.105 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002092/0.8262, allocations: 0.6829 MB / 1.106 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of SimCode: time 2.31e-07/0.8262, allocations: 0 / 1.106 GB, free: 10.39 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.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_CountAggregationCells_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1)