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.CountAggregationCells.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.CountAggregationCells,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells",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.226/4.226, allocations: 433 MB / 440.3 MB, free: 4.82 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5006/4.727, allocations: 104.4 MB / 0.5319 GB, free: 13 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2593/4.986, allocations: 98.71 MB / 0.6283 GB, free: 9.805 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2355/5.222, allocations: 123.8 MB / 0.7492 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004173/5.222, allocations: 99.56 kB / 0.7493 GB, free: 13.75 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.002516/5.225, allocations: 0.6857 MB / 0.75 GB, free: 13.02 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/5.225, allocations: 8 kB / 0.75 GB, free: 13.01 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.639e-05/5.225, allocations: 3.906 kB / 0.75 GB, free: 13.01 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001029/5.225, allocations: 163.1 kB / 0.7501 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/5.225, allocations: 0 / 0.7501 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.237e-05/5.225, allocations: 4 kB / 0.7501 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.619e-05/5.225, allocations: 0 / 0.7501 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.023e-05/5.225, allocations: 25.7 kB / 0.7502 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/5.225, allocations: 4 kB / 0.7502 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/5.225, allocations: 0 / 0.7502 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/5.225, allocations: 11.84 kB / 0.7502 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002847/5.225, allocations: 360 kB / 0.7505 GB, free: 12.37 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.41e-05/5.225, allocations: 169.1 kB / 0.7507 GB, free: 12.19 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.756e-05/5.225, allocations: 80.14 kB / 0.7508 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.31e-05/5.225, allocations: 75.28 kB / 0.7508 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.577e-05/5.226, allocations: 113.9 kB / 0.7509 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 1.332e-06/5.226, allocations: 0 / 0.7509 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 8.117e-05/5.226, allocations: 33.55 kB / 0.751 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.386e-05/5.226, allocations: 51.41 kB / 0.751 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.965e-05/5.226, allocations: 85 kB / 0.7511 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/5.226, allocations: 25.7 kB / 0.7511 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.73e-05/5.226, allocations: 92.27 kB / 0.7512 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.783e-06/5.226, allocations: 0 / 0.7512 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.575e-06/5.226, allocations: 0 / 0.7512 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001127/5.226, allocations: 310.8 kB / 0.7515 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.204e-06/5.226, allocations: 0 / 0.7515 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.106e-06/5.226, allocations: 3.984 kB / 0.7515 GB, free: 11.28 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.733e-05/5.226, allocations: 4 kB / 0.7515 GB, free: 11.28 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/5.226, allocations: 0 / 0.7515 GB, free: 11.28 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001099/5.226, allocations: 29.7 kB / 0.7515 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/5.226, allocations: 12 kB / 0.7516 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/5.226, allocations: 0 / 0.7516 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/5.226, allocations: 0 / 0.7516 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.211e-05/5.226, allocations: 7.938 kB / 0.7516 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/5.226, allocations: 3.938 kB / 0.7516 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.287e-05/5.226, allocations: 0 / 0.7516 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.13e-06/5.226, allocations: 0 / 0.7516 GB, free: 11.22 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: 1 (i) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * 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 0.0001007/5.226, allocations: 180.9 kB / 0.7517 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.369e-05/5.227, allocations: 113 kB / 0.7519 GB, free: 10.92 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.869e-05/5.227, allocations: 119.7 kB / 0.752 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.31e-05/5.227, allocations: 180.2 kB / 0.7521 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001177/5.227, allocations: 181.6 kB / 0.7523 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-05/5.227, allocations: 180.3 kB / 0.7525 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002307/5.227, allocations: 381.7 kB / 0.7528 GB, free: 9.828 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.019e-05/5.227, allocations: 105 kB / 0.7529 GB, free: 9.719 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.737e-05/5.227, allocations: 101 kB / 0.753 GB, free: 9.613 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.187e-05/5.227, allocations: 184.2 kB / 0.7532 GB, free: 9.426 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001065/5.227, allocations: 184.2 kB / 0.7534 GB, free: 9.238 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.116e-05/5.228, allocations: 180.3 kB / 0.7536 GB, free: 9.055 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.908e-05/5.228, allocations: 184.2 kB / 0.7537 GB, free: 8.867 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001496/5.228, allocations: 299.7 kB / 0.754 GB, free: 8.551 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002785/5.228, allocations: 0.6719 MB / 0.7547 GB, free: 7.852 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.467e-05/5.228, allocations: 182.1 kB / 0.7549 GB, free: 7.648 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.972e-05/5.228, allocations: 188.2 kB / 0.755 GB, free: 7.457 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.553e-05/5.228, allocations: 105.3 kB / 0.7551 GB, free: 7.348 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.231e-05/5.228, allocations: 176.3 kB / 0.7553 GB, free: 7.168 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.284e-05/5.228, allocations: 105 kB / 0.7554 GB, free: 7.059 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.162e-05/5.229, allocations: 79.28 kB / 0.7555 GB, free: 6.98 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001075/5.23, allocations: 4 kB / 0.7555 GB, free: 6.977 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 (0): * Single equations (assignments): 0 * Array equations: 0 * 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.0001759/5.23, allocations: 182.5 kB / 0.7557 GB, free: 6.785 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.807e-05/5.23, allocations: 4.016 kB / 0.7557 GB, free: 6.781 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/5.23, allocations: 0 / 0.7557 GB, free: 6.781 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.225e-06/5.23, allocations: 0 / 0.7557 GB, free: 6.781 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003844/5.23, allocations: 0.5303 MB / 0.7562 GB, free: 6.246 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001913/5.231, allocations: 119.3 kB / 0.7563 GB, free: 6.105 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002877/5.231, allocations: 0.6841 MB / 0.757 GB, free: 5.395 MB / 0.6355 GB Notification: Performance of SimCode: time 9.22e-07/5.231, allocations: 0 / 0.757 GB, free: 5.395 MB / 0.6355 GB