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.AggregationWeightingFactors.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.AggregationWeightingFactors,fileNamePrefix="Buildings_maint_7_0_x_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_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.249/1.249, allocations: 249.4 MB / 256.7 MB, free: 7.012 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.0009571/0.0009571, allocations: 177 kB / 316 MB, free: 3.586 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.191/1.191, allocations: 205.2 MB / 0.5667 GB, free: 15.64 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.0008623/0.0008623, allocations: 80.47 kB / 0.671 GB, free: 4.773 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3037/0.3046, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.4591, allocations: 106.3 MB / 0.8847 GB, free: 12.53 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4493/0.9085, allocations: 134.1 MB / 1.016 GB, free: 4.457 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002674/0.9088, allocations: 101.2 kB / 1.016 GB, free: 4.395 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.01129/0.9201, allocations: 3.856 MB / 1.02 GB, free: 0.9609 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.9201, allocations: 12 kB / 1.02 GB, free: 0.9492 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.608e-05/0.9202, allocations: 3.906 kB / 1.02 GB, free: 0.9453 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.9203, allocations: 178.8 kB / 1.02 GB, free: 0.7305 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.9203, allocations: 0 / 1.02 GB, free: 0.7305 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.245e-06/0.9203, allocations: 0 / 1.02 GB, free: 0.7305 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.645e-05/0.9204, allocations: 39.91 kB / 1.02 GB, free: 0.6953 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.797e-05/0.9205, allocations: 64.8 kB / 1.02 GB, free: 0.6289 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.9205, allocations: 7.906 kB / 1.02 GB, free: 0.6211 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.964e-06/0.9205, allocations: 0 / 1.02 GB, free: 0.6211 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/0.9205, allocations: 4 kB / 1.02 GB, free: 0.6172 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001815/0.9207, allocations: 153.5 kB / 1.02 GB, free: 444 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.192e-05/0.9208, allocations: 57.03 kB / 1.02 GB, free: 388 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.358e-05/0.9208, allocations: 44.12 kB / 1.02 GB, free: 348 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.671e-06/0.9209, allocations: 0 / 1.02 GB, free: 348 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/0.9209, allocations: 42.45 kB / 1.02 GB, free: 296 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 8.71e-07/0.9209, allocations: 0 / 1.02 GB, free: 296 kB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0002025/0.9211, allocations: 116 kB / 1.02 GB, free: 180 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.938e-05/0.9212, allocations: 59.39 kB / 1.02 GB, free: 108 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.633e-05/0.9213, allocations: 115.7 kB / 1.02 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.179e-05/0.9213, allocations: 25.7 kB / 1.02 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 2.743e-05/0.9213, allocations: 83.89 kB / 1.02 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.251e-05/0.9214, allocations: 31.38 kB / 1.021 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.457e-06/0.9214, allocations: 4.031 kB / 1.021 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.9215, allocations: 314.8 kB / 1.021 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.313e-05/0.9215, allocations: 35.16 kB / 1.021 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.189e-05/0.9216, allocations: 31.3 kB / 1.021 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.502e-05/0.9216, allocations: 42.72 kB / 1.021 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.9217, allocations: 0 / 1.021 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001476/0.9218, allocations: 123.2 kB / 1.021 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/0.9218, allocations: 7.938 kB / 1.021 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.9218, allocations: 3.906 kB / 1.021 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.838e-06/0.9219, allocations: 4 kB / 1.021 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.82e-07/0.9219, allocations: 4.062 kB / 1.021 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.617e-06/0.9219, allocations: 0 / 1.021 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.083e-05/0.9219, allocations: 0 / 1.021 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.073e-05/0.9219, allocations: 7.938 kB / 1.021 GB, free: 15.29 MB / 0.6511 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 6.945e-05/0.922, allocations: 104.9 kB / 1.021 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.428e-05/0.922, allocations: 7.906 kB / 1.021 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.91e-05/0.922, allocations: 12.36 kB / 1.021 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.499e-05/0.9221, allocations: 7.984 kB / 1.021 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.9221, allocations: 0 / 1.021 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.9221, allocations: 4 kB / 1.021 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001422/0.9222, allocations: 153.5 kB / 1.021 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.9222, allocations: 0.875 kB / 1.021 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4e-07/0.9222, allocations: 0 / 1.021 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.9222, allocations: 0 / 1.021 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.9223, allocations: 0 / 1.021 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/0.9223, allocations: 0 / 1.021 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.9223, allocations: 8 kB / 1.021 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001648/0.9224, allocations: 147.5 kB / 1.022 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002702/0.9227, allocations: 0.5232 MB / 1.022 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 3.605e-05/0.9228, allocations: 84.95 kB / 1.022 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.372e-05/0.9228, allocations: 0 / 1.022 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.244e-05/0.9228, allocations: 0 / 1.022 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.489e-05/0.9228, allocations: 4 kB / 1.022 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.828e-06/0.9228, allocations: 11.17 kB / 1.022 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.998e-05/0.9229, allocations: 104.2 kB / 1.022 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008635/0.9238, allocations: 83 kB / 1.022 GB, free: 13.98 MB / 0.6511 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.0003482/0.9241, allocations: 186.5 kB / 1.022 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001387/0.9243, allocations: 69.78 kB / 1.023 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.9243, allocations: 0 / 1.023 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 4.533e-05/0.9243, allocations: 38.67 kB / 1.023 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001077/0.9245, allocations: 7.281 kB / 1.023 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002785/0.9247, allocations: 137.9 kB / 1.023 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003982/0.9251, allocations: 0.7075 MB / 1.023 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of SimCode: time 2.31e-07/0.9252, allocations: 0 / 1.023 GB, free: 12.81 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.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_AggregationWeightingFactors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe 2>&1)