Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,fileNamePrefix="Buildings_8_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_8_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 8.1.4-maint.8.1.x/package.mo): time 1.718/1.718, allocations: 289.8 MB / 297 MB, free: 6.691 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.001275/0.001274, allocations: 177.3 kB / 366.3 MB, free: 2.02 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.572/1.572, allocations: 205.1 MB / 0.6256 GB, free: 5.852 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.001033/0.001034, allocations: 94.73 kB / 0.7395 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2826/0.2837, allocations: 122.5 MB / 0.8591 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7044/0.9881, allocations: 116.3 MB / 0.9727 GB, free: 68.26 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.189/1.177, allocations: 140.3 MB / 1.11 GB, free: 8.219 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002578/1.177, allocations: 112.4 kB / 1.11 GB, free: 8.109 MB / 0.7136 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.01202/1.189, allocations: 3.856 MB / 1.114 GB, free: 4.223 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/1.189, allocations: 8 kB / 1.114 GB, free: 4.215 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.566e-05/1.19, allocations: 3.906 kB / 1.114 GB, free: 4.211 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/1.19, allocations: 182.9 kB / 1.114 GB, free: 3.992 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/1.19, allocations: 0 / 1.114 GB, free: 3.992 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.309e-05/1.19, allocations: 0 / 1.114 GB, free: 3.992 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.754e-05/1.19, allocations: 31.98 kB / 1.114 GB, free: 3.961 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.371e-05/1.19, allocations: 69.61 kB / 1.114 GB, free: 3.887 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/1.19, allocations: 0 / 1.114 GB, free: 3.887 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/1.19, allocations: 4 kB / 1.114 GB, free: 3.883 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.165e-05/1.19, allocations: 4 kB / 1.114 GB, free: 3.879 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002154/1.19, allocations: 154.1 kB / 1.114 GB, free: 3.691 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.701e-05/1.19, allocations: 54.56 kB / 1.114 GB, free: 3.629 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.271e-05/1.19, allocations: 44.86 kB / 1.114 GB, free: 3.582 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.001e-05/1.19, allocations: 4 kB / 1.114 GB, free: 3.578 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.998e-05/1.19, allocations: 30.56 kB / 1.114 GB, free: 3.539 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.493e-06/1.19, allocations: 5.688 kB / 1.114 GB, free: 3.535 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.000239/1.191, allocations: 121.7 kB / 1.114 GB, free: 3.41 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.29e-05/1.191, allocations: 51.41 kB / 1.114 GB, free: 3.348 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/1.191, allocations: 113 kB / 1.114 GB, free: 3.23 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/1.191, allocations: 25.7 kB / 1.114 GB, free: 3.199 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.978e-05/1.191, allocations: 84.14 kB / 1.115 GB, free: 3.113 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.946e-05/1.191, allocations: 35.45 kB / 1.115 GB, free: 3.078 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.101e-06/1.191, allocations: 0 / 1.115 GB, free: 3.078 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001267/1.191, allocations: 330.8 kB / 1.115 GB, free: 2.746 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.244e-05/1.191, allocations: 31.98 kB / 1.115 GB, free: 2.715 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.656e-05/1.191, allocations: 32.92 kB / 1.115 GB, free: 2.684 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.638e-05/1.191, allocations: 39.97 kB / 1.115 GB, free: 2.645 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/1.191, allocations: 0 / 1.115 GB, free: 2.645 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001623/1.191, allocations: 122.2 kB / 1.115 GB, free: 2.52 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/1.191, allocations: 4 kB / 1.115 GB, free: 2.516 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/1.191, allocations: 0 / 1.115 GB, free: 2.516 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/1.191, allocations: 0 / 1.115 GB, free: 2.516 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.243e-06/1.191, allocations: 0.5625 kB / 1.115 GB, free: 2.516 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/1.191, allocations: 64 / 1.115 GB, free: 2.516 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.054e-05/1.192, allocations: 7.906 kB / 1.115 GB, free: 2.508 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.355e-05/1.192, allocations: 8 kB / 1.115 GB, free: 2.5 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 (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 7.606e-05/1.192, allocations: 101 kB / 1.115 GB, free: 2.395 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.412e-05/1.192, allocations: 7.891 kB / 1.115 GB, free: 2.387 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.182e-05/1.192, allocations: 13.5 kB / 1.115 GB, free: 2.375 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.879e-05/1.192, allocations: 4 kB / 1.115 GB, free: 2.371 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/1.192, allocations: 0 / 1.115 GB, free: 2.371 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/1.192, allocations: 0 / 1.115 GB, free: 2.371 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000157/1.192, allocations: 158.1 kB / 1.115 GB, free: 2.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/1.192, allocations: 4 kB / 1.115 GB, free: 2.176 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.61e-07/1.192, allocations: 0 / 1.115 GB, free: 2.176 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/1.192, allocations: 0 / 1.115 GB, free: 2.176 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/1.192, allocations: 4 kB / 1.115 GB, free: 2.172 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/1.192, allocations: 0 / 1.115 GB, free: 2.172 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/1.192, allocations: 3.906 kB / 1.115 GB, free: 2.168 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001886/1.192, allocations: 150.2 kB / 1.116 GB, free: 2.004 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003/1.192, allocations: 0.5175 MB / 1.116 GB, free: 1.465 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.098e-05/1.193, allocations: 88.94 kB / 1.116 GB, free: 1.359 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.819e-05/1.193, allocations: 4 kB / 1.116 GB, free: 1.355 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.534e-05/1.193, allocations: 3.984 kB / 1.116 GB, free: 1.352 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.61e-05/1.193, allocations: 3.906 kB / 1.116 GB, free: 1.348 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/1.193, allocations: 4.844 kB / 1.116 GB, free: 1.344 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.157e-05/1.193, allocations: 105.5 kB / 1.116 GB, free: 1.242 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0009253/1.194, allocations: 83.97 kB / 1.116 GB, free: 1.16 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 (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.0004712/1.194, allocations: 187.1 kB / 1.117 GB, free: 0.9688 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001489/1.194, allocations: 63.92 kB / 1.117 GB, free: 0.9062 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/1.194, allocations: 0 / 1.117 GB, free: 0.9062 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.689e-05/1.194, allocations: 35.98 kB / 1.117 GB, free: 0.8711 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001207/1.194, allocations: 5.125 kB / 1.117 GB, free: 0.8672 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002859/1.195, allocations: 136.2 kB / 1.117 GB, free: 0.7109 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003732/1.195, allocations: 0.7152 MB / 1.117 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of SimCode: time 2.51e-07/1.195, allocations: 0 / 1.117 GB, free: 15.97 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors.fmu > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe 2>&1)