Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors",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 9.1.1-maint.9.1.x/package.mo): time 2.099/2.099, allocations: 387.2 MB / 394.5 MB, free: 13.64 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 181.3 kB / 487 MB, free: 5.355 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 221.3 MB / 0.7819 GB, free: 1.375 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009052/0.0009053, allocations: 108 kB / 0.9213 GB, free: 2.621 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6241/0.625, allocations: 148.5 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.277/0.902, allocations: 142.3 MB / 1.205 GB, free: 26.1 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7546/1.657, allocations: 150.6 MB / 1.352 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003339/1.657, allocations: 101.9 kB / 1.353 GB, free: 15.86 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.01284/1.67, allocations: 3.908 MB / 1.356 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/1.67, allocations: 9.125 kB / 1.356 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.384e-05/1.67, allocations: 5.875 kB / 1.356 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/1.67, allocations: 176.8 kB / 1.357 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/1.67, allocations: 0 / 1.357 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.232e-05/1.67, allocations: 0.8125 kB / 1.357 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001043/1.67, allocations: 32.89 kB / 1.357 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001044/1.67, allocations: 68.36 kB / 1.357 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/1.67, allocations: 0 / 1.357 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/1.67, allocations: 0 / 1.357 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.582e-05/1.67, allocations: 5.219 kB / 1.357 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001911/1.671, allocations: 157.8 kB / 1.357 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 9.068e-05/1.671, allocations: 60.61 kB / 1.357 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.802e-05/1.671, allocations: 43.56 kB / 1.357 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 7.384e-06/1.671, allocations: 4.562 kB / 1.357 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/1.671, allocations: 32.03 kB / 1.357 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=10): time 9.22e-07/1.671, allocations: 0 / 1.357 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of matching and sorting (n=10): time 0.0002829/1.671, allocations: 120.8 kB / 1.357 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.204e-05/1.671, allocations: 51.41 kB / 1.357 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.524e-05/1.671, allocations: 125.7 kB / 1.357 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/1.671, allocations: 25.7 kB / 1.357 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.628e-05/1.671, allocations: 83.97 kB / 1.357 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.794e-05/1.671, allocations: 33.31 kB / 1.357 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-06/1.671, allocations: 0 / 1.357 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.974e-05/1.671, allocations: 323.8 kB / 1.358 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.601e-05/1.672, allocations: 32.39 kB / 1.358 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.756e-05/1.672, allocations: 29.23 kB / 1.358 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.198e-05/1.672, allocations: 43.23 kB / 1.358 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/1.672, allocations: 5.031 kB / 1.358 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001846/1.672, allocations: 120 kB / 1.358 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/1.672, allocations: 6.469 kB / 1.358 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/1.672, allocations: 0 / 1.358 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/1.672, allocations: 1 kB / 1.358 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.042e-06/1.672, allocations: 0 / 1.358 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/1.672, allocations: 0.6562 kB / 1.358 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.104e-05/1.672, allocations: 5.719 kB / 1.358 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.445e-05/1.672, allocations: 4.625 kB / 1.358 GB, free: 14.11 MB / 0.8073 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 (1): * Single equations (assignments): 0 * Array equations: 1 * 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 4.942e-05/1.672, allocations: 106.5 kB / 1.358 GB, free: 14 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.317e-05/1.672, allocations: 7.359 kB / 1.358 GB, free: 14 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.027e-05/1.672, allocations: 8.516 kB / 1.358 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.888e-05/1.672, allocations: 4.125 kB / 1.358 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/1.672, allocations: 5.656 kB / 1.358 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/1.672, allocations: 0 / 1.358 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001381/1.672, allocations: 155.2 kB / 1.358 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/1.672, allocations: 0 / 1.358 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.743e-06/1.672, allocations: 1.375 kB / 1.358 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/1.672, allocations: 0.8438 kB / 1.358 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/1.672, allocations: 10.42 kB / 1.358 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/1.672, allocations: 5.094 kB / 1.358 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/1.672, allocations: 3.906 kB / 1.358 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001993/1.673, allocations: 147 kB / 1.358 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002728/1.673, allocations: 0.5174 MB / 1.359 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.873e-05/1.673, allocations: 88.14 kB / 1.359 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.9e-05/1.673, allocations: 1.422 kB / 1.359 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.325e-05/1.673, allocations: 0.9375 kB / 1.359 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.617e-05/1.673, allocations: 5.391 kB / 1.359 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/1.673, allocations: 4.812 kB / 1.359 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5.777e-05/1.673, allocations: 99.92 kB / 1.359 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.001121/1.674, allocations: 80.92 kB / 1.359 GB, free: 13.1 MB / 0.8073 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 (1): * Single equations (assignments): 0 * Array equations: 1 * 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.0003888/1.675, allocations: 188.6 kB / 1.359 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001762/1.675, allocations: 69.19 kB / 1.359 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/1.675, allocations: 0 / 1.359 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 6.221e-05/1.675, allocations: 38.58 kB / 1.359 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001181/1.675, allocations: 0.75 kB / 1.359 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002919/1.675, allocations: 140.5 kB / 1.359 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003533/1.676, allocations: 0.7139 MB / 1.36 GB, free: 28.2 MB / 0.823 GB Notification: Performance of SimCode: time 8.12e-07/1.676, allocations: 0 / 1.36 GB, free: 28.2 MB / 0.823 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe 2>&1)