Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.175/4.175, allocations: 433.2 MB / 440.7 MB, free: 4.586 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.579e-05/2.592e-05, allocations: 4.062 kB / 0.5325 GB, free: 12.76 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2205/0.2206, allocations: 98.75 MB / 0.6289 GB, free: 9.086 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2449/0.4655, allocations: 126 MB / 0.752 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003948/0.466, allocations: 107.8 kB / 0.7521 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01864/0.4846, allocations: 3.726 MB / 0.7557 GB, free: 7.098 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.483e-06/0.4847, allocations: 0 / 0.7557 GB, free: 7.098 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.354e-06/0.4847, allocations: 0 / 0.7557 GB, free: 7.098 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.0005207/0.4852, allocations: 388.3 kB / 0.7561 GB, free: 6.676 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.4853, allocations: 8.031 kB / 0.7561 GB, free: 6.668 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.149e-05/0.4853, allocations: 11.86 kB / 0.7561 GB, free: 6.656 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.4855, allocations: 174.9 kB / 0.7563 GB, free: 6.445 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.4855, allocations: 4 kB / 0.7563 GB, free: 6.441 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.101e-05/0.4855, allocations: 3.938 kB / 0.7563 GB, free: 6.438 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001047/0.4857, allocations: 31.97 kB / 0.7563 GB, free: 6.406 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001254/0.4858, allocations: 65.67 kB / 0.7564 GB, free: 6.336 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.4858, allocations: 0 / 0.7564 GB, free: 6.336 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.4858, allocations: 0 / 0.7564 GB, free: 6.336 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.359e-05/0.4859, allocations: 4 kB / 0.7564 GB, free: 6.332 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002725/0.4862, allocations: 158.2 kB / 0.7565 GB, free: 6.141 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001094/0.4863, allocations: 58.59 kB / 0.7566 GB, free: 6.074 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.437e-05/0.4864, allocations: 44.88 kB / 0.7566 GB, free: 6.027 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.526e-06/0.4864, allocations: 0 / 0.7566 GB, free: 6.027 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/0.4864, allocations: 38.55 kB / 0.7567 GB, free: 5.98 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 3.307e-06/0.4864, allocations: 0 / 0.7567 GB, free: 5.98 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0002773/0.4867, allocations: 109.5 kB / 0.7568 GB, free: 5.867 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.349e-05/0.4868, allocations: 55.44 kB / 0.7568 GB, free: 5.801 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/0.4869, allocations: 117 kB / 0.7569 GB, free: 5.68 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/0.4869, allocations: 29.73 kB / 0.7569 GB, free: 5.645 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.97e-05/0.487, allocations: 88.14 kB / 0.757 GB, free: 5.555 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.223e-05/0.4871, allocations: 35.48 kB / 0.7571 GB, free: 5.52 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.571e-06/0.4871, allocations: 0 / 0.7571 GB, free: 5.52 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.4872, allocations: 322.8 kB / 0.7574 GB, free: 5.195 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.55e-05/0.4873, allocations: 35.97 kB / 0.7574 GB, free: 5.16 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.511e-05/0.4874, allocations: 27.98 kB / 0.7574 GB, free: 5.133 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001023/0.4875, allocations: 39.97 kB / 0.7575 GB, free: 5.094 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.4875, allocations: 0 / 0.7575 GB, free: 5.094 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002244/0.4878, allocations: 121.6 kB / 0.7576 GB, free: 4.969 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.4878, allocations: 8 kB / 0.7576 GB, free: 4.961 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.4878, allocations: 0 / 0.7576 GB, free: 4.961 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.4878, allocations: 0 / 0.7576 GB, free: 4.961 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.693e-06/0.4878, allocations: 0 / 0.7576 GB, free: 4.961 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.4878, allocations: 0 / 0.7576 GB, free: 4.961 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.3e-05/0.4879, allocations: 5.688 kB / 0.7576 GB, free: 4.957 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.403e-05/0.4879, allocations: 4 kB / 0.7576 GB, free: 4.953 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 (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 8.403e-05/0.488, allocations: 108.9 kB / 0.7577 GB, free: 4.84 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002119/0.4882, allocations: 113.5 kB / 0.7578 GB, free: 4.723 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.53e-05/0.4883, allocations: 7.938 kB / 0.7578 GB, free: 4.715 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.365e-05/0.4883, allocations: 12.61 kB / 0.7578 GB, free: 4.707 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.812e-05/0.4883, allocations: 8 kB / 0.7578 GB, free: 4.699 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.4884, allocations: 0 / 0.7578 GB, free: 4.699 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.4884, allocations: 0 / 0.7578 GB, free: 4.699 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000244/0.4886, allocations: 162.2 kB / 0.758 GB, free: 4.504 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.4886, allocations: 4 kB / 0.758 GB, free: 4.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.252e-06/0.4886, allocations: 0 / 0.758 GB, free: 4.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.4887, allocations: 0 / 0.758 GB, free: 4.5 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.689e-06/0.4887, allocations: 0 / 0.758 GB, free: 4.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.4887, allocations: 4 kB / 0.758 GB, free: 4.496 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.4887, allocations: 3.938 kB / 0.758 GB, free: 4.492 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002471/0.489, allocations: 144.9 kB / 0.7581 GB, free: 4.332 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.148e-05/0.489, allocations: 84.95 kB / 0.7582 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.257e-05/0.4891, allocations: 7.984 kB / 0.7582 GB, free: 4.223 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.036e-05/0.4891, allocations: 0 / 0.7582 GB, free: 4.223 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.689e-05/0.4891, allocations: 3.938 kB / 0.7582 GB, free: 4.219 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.509e-05/0.4891, allocations: 4 kB / 0.7582 GB, free: 4.215 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.903e-05/0.4892, allocations: 107.3 kB / 0.7583 GB, free: 4.109 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.51e-07/0.4892, allocations: 0 / 0.7583 GB, free: 4.109 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005374/0.4898, allocations: 79.92 kB / 0.7584 GB, free: 4.031 MB / 0.6355 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.0008806/0.4907, allocations: 0.7372 MB / 0.7591 GB, free: 3.262 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001558/0.4909, allocations: 68 kB / 0.7592 GB, free: 3.195 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.4909, allocations: 0 / 0.7592 GB, free: 3.195 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.101e-05/0.4909, allocations: 32 kB / 0.7592 GB, free: 3.164 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001427/0.4911, allocations: 0 / 0.7592 GB, free: 3.164 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005831/0.4917, allocations: 217.9 kB / 0.7594 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003053/0.492, allocations: 0.6963 MB / 0.7601 GB, free: 2.191 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.973e-05/0.4921, allocations: 8.125 kB / 0.7601 GB, free: 2.184 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.06e-05/0.4922, allocations: 19.44 kB / 0.7602 GB, free: 2.164 MB / 0.6355 GB Notification: Performance of SimCode: time 7.72e-07/0.4922, allocations: 0 / 0.7602 GB, free: 2.164 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04138/0.5336, allocations: 2.284 MB / 0.7624 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003234/0.5339, allocations: 230 kB / 0.7626 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.264/2.798, allocations: 1.891 kB / 0.7626 GB, free: 15.62 MB / 0.6511 GB