Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.236/1.236, allocations: 249.4 MB / 256.7 MB, free: 6.922 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001007/0.001007, allocations: 189.2 kB / 316 MB, free: 3.512 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.129/1.129, allocations: 205.2 MB / 0.5667 GB, free: 15.66 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008442/0.0008442, allocations: 91.27 kB / 0.671 GB, free: 4.785 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3659/0.3668, allocations: 112.5 MB / 0.7808 GB, free: 102.9 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1821/0.5489, allocations: 106.3 MB / 0.8847 GB, free: 12.49 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5267/1.076, allocations: 133 MB / 1.015 GB, free: 5.754 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002499/1.076, allocations: 105.8 kB / 1.015 GB, free: 5.688 MB / 0.6355 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.00358/1.08, allocations: 1.313 MB / 1.016 GB, free: 4.508 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/1.08, allocations: 8 kB / 1.016 GB, free: 4.5 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.98e-05/1.08, allocations: 11.91 kB / 1.016 GB, free: 4.488 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001632/1.08, allocations: 167.1 kB / 1.016 GB, free: 4.285 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.125e-06/1.08, allocations: 0 / 1.016 GB, free: 4.285 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.666e-06/1.08, allocations: 0 / 1.016 GB, free: 4.285 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.516e-05/1.08, allocations: 11.78 kB / 1.016 GB, free: 4.277 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.77e-05/1.08, allocations: 43.36 kB / 1.016 GB, free: 4.223 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/1.08, allocations: 0 / 1.016 GB, free: 4.223 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/1.08, allocations: 4 kB / 1.016 GB, free: 4.219 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/1.08, allocations: 4 kB / 1.016 GB, free: 4.215 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001591/1.08, allocations: 157 kB / 1.016 GB, free: 4.027 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.157e-05/1.08, allocations: 33.28 kB / 1.016 GB, free: 3.977 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.398e-05/1.08, allocations: 16.72 kB / 1.016 GB, free: 3.957 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.025e-05/1.08, allocations: 4 kB / 1.016 GB, free: 3.953 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.126e-05/1.08, allocations: 42.48 kB / 1.016 GB, free: 3.902 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 9.31e-07/1.08, allocations: 0 / 1.016 GB, free: 3.902 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001132/1.08, allocations: 37.61 kB / 1.016 GB, free: 3.859 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.848e-05/1.081, allocations: 77.11 kB / 1.017 GB, free: 3.766 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.954e-05/1.081, allocations: 125.2 kB / 1.017 GB, free: 3.648 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/1.081, allocations: 25.7 kB / 1.017 GB, free: 3.617 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.391e-05/1.081, allocations: 99.36 kB / 1.017 GB, free: 3.52 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.605e-05/1.081, allocations: 3.906 kB / 1.017 GB, free: 3.516 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-06/1.081, allocations: 0.8438 kB / 1.017 GB, free: 3.516 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.668e-05/1.081, allocations: 329.3 kB / 1.017 GB, free: 3.191 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.744e-05/1.081, allocations: 26.88 kB / 1.017 GB, free: 3.172 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.545e-05/1.081, allocations: 22.23 kB / 1.017 GB, free: 3.152 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.56e-05/1.081, allocations: 31.17 kB / 1.017 GB, free: 3.129 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/1.081, allocations: 0 / 1.017 GB, free: 3.129 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001303/1.081, allocations: 107.3 kB / 1.017 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/1.081, allocations: 12 kB / 1.017 GB, free: 3.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.621e-05/1.081, allocations: 0 / 1.017 GB, free: 3.02 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/1.081, allocations: 3.938 kB / 1.017 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.352e-05/1.081, allocations: 4 kB / 1.017 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/1.081, allocations: 0 / 1.017 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.847e-05/1.081, allocations: 7.844 kB / 1.017 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/1.081, allocations: 4 kB / 1.017 GB, free: 3 MB / 0.6355 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 6.422e-05/1.081, allocations: 104.9 kB / 1.017 GB, free: 2.891 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.175e-06/1.081, allocations: 96 / 1.017 GB, free: 2.891 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.216e-05/1.081, allocations: 23.27 kB / 1.017 GB, free: 2.871 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/1.081, allocations: 7.906 kB / 1.017 GB, free: 2.863 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/1.081, allocations: 3.938 kB / 1.017 GB, free: 2.859 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/1.081, allocations: 0 / 1.017 GB, free: 2.859 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001013/1.082, allocations: 138.1 kB / 1.018 GB, free: 2.691 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/1.082, allocations: 3.688 kB / 1.018 GB, free: 2.691 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.936e-05/1.082, allocations: 4 kB / 1.018 GB, free: 2.688 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/1.082, allocations: 0 / 1.018 GB, free: 2.688 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/1.082, allocations: 0 / 1.018 GB, free: 2.688 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/1.082, allocations: 0 / 1.018 GB, free: 2.688 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/1.082, allocations: 4 kB / 1.018 GB, free: 2.684 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.858e-05/1.082, allocations: 87.45 kB / 1.018 GB, free: 2.574 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001598/1.082, allocations: 470.2 kB / 1.018 GB, free: 2.09 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.182e-05/1.082, allocations: 85.02 kB / 1.018 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.295e-05/1.082, allocations: 0 / 1.018 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.693e-05/1.082, allocations: 0 / 1.018 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.569e-05/1.082, allocations: 7.984 kB / 1.018 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/1.082, allocations: 0 / 1.018 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.726e-05/1.082, allocations: 101.2 kB / 1.018 GB, free: 1.887 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007787/1.083, allocations: 23.94 kB / 1.018 GB, free: 1.863 MB / 0.6355 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.0001615/1.083, allocations: 124.6 kB / 1.018 GB, free: 1.734 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001224/1.083, allocations: 75 kB / 1.018 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/1.083, allocations: 0 / 1.018 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.669e-06/1.083, allocations: 7.938 kB / 1.019 GB, free: 1.66 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001091/1.083, allocations: 11.47 kB / 1.019 GB, free: 1.652 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002061/1.083, allocations: 92.11 kB / 1.019 GB, free: 1.539 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002431/1.084, allocations: 0.6997 MB / 1.019 GB, free: 0.8125 MB / 0.6355 GB Notification: Performance of SimCode: time 3.11e-07/1.084, allocations: 0 / 1.019 GB, free: 0.8125 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe >> ../files/Buildings_maint.7.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_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe 2>&1)