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.AggregationWeightingFactors.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.AggregationWeightingFactors,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0.0/package.mo): time 2.391/2.391, allocations: 284.8 MB / 292.1 MB, free: 9.957 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.001678/0.001678, allocations: 179 kB / 360.3 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.02/2.02, allocations: 205.1 MB / 0.6187 GB, free: 3.406 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001914/0.001914, allocations: 97.55 kB / 0.7317 GB, free: 1.836 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.6753/0.6773, allocations: 121.4 MB / 0.8502 GB, free: 149.8 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2576/0.9349, allocations: 115.3 MB / 0.9628 GB, free: 56.96 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7054/1.64, allocations: 139.2 MB / 1.099 GB, free: 45.29 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004431/1.641, allocations: 100.6 kB / 1.099 GB, free: 45.29 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.01766/1.659, allocations: 3.856 MB / 1.103 GB, free: 44.74 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/1.659, allocations: 7.75 kB / 1.103 GB, free: 44.74 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.859e-05/1.659, allocations: 7.781 kB / 1.103 GB, free: 44.74 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/1.659, allocations: 176.1 kB / 1.103 GB, free: 44.54 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/1.659, allocations: 0 / 1.103 GB, free: 44.54 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.403e-05/1.659, allocations: 0 / 1.103 GB, free: 44.54 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.98e-05/1.659, allocations: 34.06 kB / 1.103 GB, free: 44.54 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001124/1.659, allocations: 75.12 kB / 1.103 GB, free: 44.5 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/1.659, allocations: 0 / 1.103 GB, free: 44.5 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/1.659, allocations: 0 / 1.103 GB, free: 44.5 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.806e-05/1.659, allocations: 3.875 kB / 1.103 GB, free: 44.5 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002349/1.659, allocations: 154.7 kB / 1.103 GB, free: 44.33 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.243e-05/1.659, allocations: 58.62 kB / 1.103 GB, free: 44.31 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.521e-05/1.66, allocations: 41.39 kB / 1.103 GB, free: 44.3 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.367e-06/1.66, allocations: 0.75 kB / 1.103 GB, free: 44.3 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.804e-05/1.66, allocations: 38.44 kB / 1.103 GB, free: 44.26 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.583e-06/1.66, allocations: 0 / 1.103 GB, free: 44.26 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0002775/1.66, allocations: 117.5 kB / 1.103 GB, free: 44.22 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.599e-05/1.66, allocations: 51.41 kB / 1.103 GB, free: 44.16 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/1.66, allocations: 124 kB / 1.103 GB, free: 44.07 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.29e-05/1.66, allocations: 25.7 kB / 1.103 GB, free: 44.04 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.133e-05/1.66, allocations: 83.42 kB / 1.104 GB, free: 43.95 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.389e-05/1.66, allocations: 29.86 kB / 1.104 GB, free: 43.93 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.32e-06/1.66, allocations: 4.031 kB / 1.104 GB, free: 43.93 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.572e-05/1.66, allocations: 321.8 kB / 1.104 GB, free: 43.61 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.739e-05/1.66, allocations: 33.73 kB / 1.104 GB, free: 43.61 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.343e-05/1.66, allocations: 42.16 kB / 1.104 GB, free: 43.61 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001574/1.661, allocations: 42.36 kB / 1.104 GB, free: 43.6 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/1.661, allocations: 0 / 1.104 GB, free: 43.6 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002193/1.661, allocations: 113.9 kB / 1.104 GB, free: 43.57 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/1.661, allocations: 7.75 kB / 1.104 GB, free: 43.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/1.661, allocations: 0 / 1.104 GB, free: 43.57 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/1.661, allocations: 4.062 kB / 1.104 GB, free: 43.56 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.643e-06/1.661, allocations: 0 / 1.104 GB, free: 43.56 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/1.661, allocations: 0 / 1.104 GB, free: 43.56 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.435e-05/1.661, allocations: 7.609 kB / 1.104 GB, free: 43.56 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.008e-05/1.661, allocations: 12.19 kB / 1.104 GB, free: 43.56 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 5.604e-05/1.661, allocations: 104.9 kB / 1.104 GB, free: 43.45 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.632e-05/1.661, allocations: 3.906 kB / 1.104 GB, free: 43.45 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.543e-05/1.661, allocations: 8.094 kB / 1.104 GB, free: 43.44 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-05/1.661, allocations: 3.875 kB / 1.104 GB, free: 43.44 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/1.661, allocations: 4 kB / 1.104 GB, free: 43.44 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/1.661, allocations: 3.609 kB / 1.104 GB, free: 43.44 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001909/1.661, allocations: 148.7 kB / 1.104 GB, free: 43.28 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/1.661, allocations: 0 / 1.104 GB, free: 43.28 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.983e-06/1.661, allocations: 7.578 kB / 1.104 GB, free: 43.28 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/1.661, allocations: 0 / 1.104 GB, free: 43.28 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/1.661, allocations: 0.5 kB / 1.104 GB, free: 43.28 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/1.661, allocations: 0 / 1.104 GB, free: 43.28 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/1.661, allocations: 0 / 1.104 GB, free: 43.28 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002159/1.662, allocations: 162.3 kB / 1.105 GB, free: 43.19 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002647/1.662, allocations: 0.5163 MB / 1.105 GB, free: 42.75 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.434e-05/1.662, allocations: 91.88 kB / 1.105 GB, free: 42.65 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.955e-05/1.662, allocations: 0 / 1.105 GB, free: 42.65 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.241e-05/1.662, allocations: 0 / 1.105 GB, free: 42.65 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.217e-05/1.662, allocations: 0 / 1.105 GB, free: 42.65 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.321e-05/1.662, allocations: 6.375 kB / 1.105 GB, free: 42.65 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.556e-05/1.662, allocations: 108.7 kB / 1.105 GB, free: 42.57 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001435/1.664, allocations: 87.39 kB / 1.105 GB, free: 42.54 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.0005066/1.664, allocations: 182.1 kB / 1.106 GB, free: 42.43 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002036/1.664, allocations: 68 kB / 1.106 GB, free: 42.43 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/1.664, allocations: 0 / 1.106 GB, free: 42.43 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.083e-05/1.664, allocations: 36.77 kB / 1.106 GB, free: 42.43 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000141/1.665, allocations: 0 / 1.106 GB, free: 42.43 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003109/1.665, allocations: 140.5 kB / 1.106 GB, free: 42.36 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002318/1.665, allocations: 0.7118 MB / 1.106 GB, free: 41.65 MB / 0.7136 GB Notification: Performance of SimCode: time 7.92e-07/1.665, allocations: 4 kB / 1.106 GB, free: 41.65 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors.fmu > Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe 2>&1)