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"}) [: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 loadModel(Buildings): time 4.304/4.304, allocations: 433 MB / 440.3 MB, free: 4.812 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4958/4.8, allocations: 104.4 MB / 0.5319 GB, free: 13.08 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2713/5.071, allocations: 98.73 MB / 0.6283 GB, free: 9.762 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2539/5.325, allocations: 125.9 MB / 0.7513 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004319/5.326, allocations: 103.6 kB / 0.7514 GB, free: 11.58 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.02002/5.346, allocations: 3.825 MB / 0.7551 GB, free: 7.707 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/5.346, allocations: 11.94 kB / 0.7551 GB, free: 7.695 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.885e-05/5.346, allocations: 3.906 kB / 0.7551 GB, free: 7.691 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001537/5.346, allocations: 170.9 kB / 0.7553 GB, free: 7.484 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/5.346, allocations: 4 kB / 0.7553 GB, free: 7.48 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.404e-05/5.346, allocations: 8 kB / 0.7553 GB, free: 7.473 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001146/5.346, allocations: 35.97 kB / 0.7553 GB, free: 7.438 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001366/5.346, allocations: 73.56 kB / 0.7554 GB, free: 7.359 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/5.346, allocations: 0 / 0.7554 GB, free: 7.359 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/5.346, allocations: 3.938 kB / 0.7554 GB, free: 7.355 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.185e-05/5.346, allocations: 4 kB / 0.7554 GB, free: 7.352 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002836/5.347, allocations: 146.2 kB / 0.7556 GB, free: 7.172 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001025/5.347, allocations: 54.56 kB / 0.7556 GB, free: 7.109 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.072e-05/5.347, allocations: 44.88 kB / 0.7557 GB, free: 7.062 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.287e-05/5.347, allocations: 7.891 kB / 0.7557 GB, free: 7.055 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/5.347, allocations: 34.56 kB / 0.7557 GB, free: 7.012 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 1.513e-06/5.347, allocations: 0 / 0.7557 GB, free: 7.012 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0003474/5.347, allocations: 125.6 kB / 0.7558 GB, free: 6.883 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.238e-05/5.347, allocations: 51.41 kB / 0.7559 GB, free: 6.82 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/5.347, allocations: 116.9 kB / 0.756 GB, free: 6.699 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/5.347, allocations: 25.7 kB / 0.756 GB, free: 6.668 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.122e-05/5.348, allocations: 92.17 kB / 0.7561 GB, free: 6.574 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.257e-05/5.348, allocations: 31.55 kB / 0.7561 GB, free: 6.543 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.561e-06/5.348, allocations: 0 / 0.7561 GB, free: 6.543 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001261/5.348, allocations: 318.8 kB / 0.7564 GB, free: 6.223 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.545e-05/5.348, allocations: 35.98 kB / 0.7565 GB, free: 6.188 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.212e-05/5.348, allocations: 27.98 kB / 0.7565 GB, free: 6.16 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001056/5.348, allocations: 39.97 kB / 0.7565 GB, free: 6.121 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/5.348, allocations: 0 / 0.7565 GB, free: 6.121 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002431/5.348, allocations: 121.5 kB / 0.7566 GB, free: 5.996 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/5.348, allocations: 15.97 kB / 0.7567 GB, free: 5.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/5.348, allocations: 0 / 0.7567 GB, free: 5.98 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/5.348, allocations: 0 / 0.7567 GB, free: 5.98 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.503e-06/5.348, allocations: 0 / 0.7567 GB, free: 5.98 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/5.348, allocations: 0 / 0.7567 GB, free: 5.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.373e-05/5.348, allocations: 3.938 kB / 0.7567 GB, free: 5.977 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.765e-05/5.348, allocations: 4 kB / 0.7567 GB, free: 5.973 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 7.606e-05/5.349, allocations: 108.9 kB / 0.7568 GB, free: 5.859 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.697e-05/5.349, allocations: 3.906 kB / 0.7568 GB, free: 5.855 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.939e-05/5.349, allocations: 16.36 kB / 0.7568 GB, free: 5.836 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.346e-05/5.349, allocations: 4 kB / 0.7568 GB, free: 5.832 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/5.349, allocations: 0 / 0.7568 GB, free: 5.832 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/5.349, allocations: 0 / 0.7568 GB, free: 5.832 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002343/5.349, allocations: 154.1 kB / 0.7569 GB, free: 5.645 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/5.349, allocations: 96 / 0.7569 GB, free: 5.645 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.776e-06/5.349, allocations: 7.875 kB / 0.7569 GB, free: 5.637 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/5.349, allocations: 0 / 0.7569 GB, free: 5.637 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/5.349, allocations: 4 kB / 0.7569 GB, free: 5.633 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/5.349, allocations: 0 / 0.7569 GB, free: 5.633 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/5.349, allocations: 0 / 0.7569 GB, free: 5.633 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002601/5.349, allocations: 149 kB / 0.7571 GB, free: 5.469 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003963/5.35, allocations: 0.5185 MB / 0.7576 GB, free: 4.93 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.49e-05/5.35, allocations: 84.95 kB / 0.7577 GB, free: 4.828 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.226e-05/5.35, allocations: 4 kB / 0.7577 GB, free: 4.824 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.659e-05/5.35, allocations: 0 / 0.7577 GB, free: 4.824 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.842e-05/5.35, allocations: 19.98 kB / 0.7577 GB, free: 4.805 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.508e-05/5.35, allocations: 4 kB / 0.7577 GB, free: 4.801 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.495e-05/5.35, allocations: 99.27 kB / 0.7578 GB, free: 4.703 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001359/5.351, allocations: 79.94 kB / 0.7579 GB, free: 4.625 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.0005749/5.352, allocations: 179.1 kB / 0.758 GB, free: 4.441 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000227/5.352, allocations: 71.91 kB / 0.7581 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/5.352, allocations: 0 / 0.7581 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.472e-05/5.352, allocations: 40.05 kB / 0.7582 GB, free: 4.332 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000148/5.352, allocations: 7.906 kB / 0.7582 GB, free: 4.324 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003504/5.353, allocations: 135.5 kB / 0.7583 GB, free: 4.168 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003839/5.353, allocations: 0.7154 MB / 0.759 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of SimCode: time 2.745e-06/5.353, allocations: 0 / 0.759 GB, free: 3.426 MB / 0.6355 GB