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"}) Notification: Performance of loadModel(Buildings): time 4.145/4.145, allocations: 433.2 MB / 440.7 MB, free: 4.574 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.252e-05/2.259e-05, allocations: 3.875 kB / 0.5325 GB, free: 12.68 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2099/0.21, allocations: 98.73 MB / 0.6289 GB, free: 9.086 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2302/0.4402, allocations: 123.9 MB / 0.7499 GB, free: 13.07 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004163/0.4407, allocations: 99.92 kB / 0.75 GB, free: 12.97 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002327/0.443, allocations: 0.676 MB / 0.7506 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.954e-06/0.4431, allocations: 0 / 0.7506 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.491e-06/0.4431, allocations: 4 kB / 0.7506 GB, free: 12.29 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.0002844/0.4434, allocations: 314.5 kB / 0.7509 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.484e-05/0.4435, allocations: 8.031 kB / 0.751 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.86e-05/0.4435, allocations: 3.953 kB / 0.751 GB, free: 11.92 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.4436, allocations: 167.1 kB / 0.7511 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.4437, allocations: 0 / 0.7511 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.134e-05/0.4437, allocations: 0 / 0.7511 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.589e-05/0.4437, allocations: 7.938 kB / 0.7511 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.391e-05/0.4438, allocations: 29.69 kB / 0.7512 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.4438, allocations: 3.938 kB / 0.7512 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.4438, allocations: 0 / 0.7512 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.4439, allocations: 3.938 kB / 0.7512 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003157/0.4442, allocations: 364 kB / 0.7515 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.079e-05/0.4443, allocations: 165.1 kB / 0.7517 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.097e-05/0.4443, allocations: 80.14 kB / 0.7517 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.804e-05/0.4444, allocations: 75.28 kB / 0.7518 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.593e-05/0.4445, allocations: 121.9 kB / 0.7519 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 1.723e-06/0.4445, allocations: 0 / 0.7519 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 8.894e-05/0.4446, allocations: 29.64 kB / 0.752 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.011e-05/0.4446, allocations: 51.41 kB / 0.752 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.622e-05/0.4447, allocations: 88.95 kB / 0.7521 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.4448, allocations: 25.7 kB / 0.7521 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.107e-05/0.4448, allocations: 84.14 kB / 0.7522 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.605e-06/0.4448, allocations: 0 / 0.7522 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.721e-05/0.4449, allocations: 0 / 0.7522 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.445, allocations: 315.6 kB / 0.7525 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.273e-05/0.445, allocations: 4 kB / 0.7525 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.171e-06/0.4451, allocations: 0 / 0.7525 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.999e-05/0.4451, allocations: 4 kB / 0.7525 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.4451, allocations: 0 / 0.7525 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001113/0.4452, allocations: 33.69 kB / 0.7525 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.4452, allocations: 7.938 kB / 0.7525 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.4453, allocations: 0 / 0.7525 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.4453, allocations: 4.094 kB / 0.7526 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.815e-05/0.4454, allocations: 4 kB / 0.7526 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.4454, allocations: 0 / 0.7526 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.728e-05/0.4454, allocations: 0 / 0.7526 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.4454, allocations: 7.891 kB / 0.7526 GB, free: 10.12 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.0001005/0.4455, allocations: 176.3 kB / 0.7527 GB, free: 9.938 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001038/0.4456, allocations: 134.7 kB / 0.7529 GB, free: 9.793 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.906e-05/0.4457, allocations: 106.4 kB / 0.753 GB, free: 9.684 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.977e-05/0.4458, allocations: 116.5 kB / 0.7531 GB, free: 9.566 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.479e-05/0.4459, allocations: 176.3 kB / 0.7532 GB, free: 9.387 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.921e-05/0.446, allocations: 184.2 kB / 0.7534 GB, free: 9.199 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.296e-05/0.446, allocations: 180.3 kB / 0.7536 GB, free: 9.016 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002496/0.4463, allocations: 385.8 kB / 0.754 GB, free: 8.594 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.963e-05/0.4464, allocations: 112.9 kB / 0.7541 GB, free: 8.477 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.179e-05/0.4464, allocations: 101 kB / 0.7542 GB, free: 8.371 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.439e-05/0.4465, allocations: 176.3 kB / 0.7543 GB, free: 8.191 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.846e-05/0.4466, allocations: 184.2 kB / 0.7545 GB, free: 8.004 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-05/0.4467, allocations: 180.3 kB / 0.7547 GB, free: 7.82 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.276e-05/0.4468, allocations: 176.3 kB / 0.7548 GB, free: 7.641 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001584/0.4469, allocations: 315.7 kB / 0.7551 GB, free: 7.309 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.122e-05/0.447, allocations: 182 kB / 0.7553 GB, free: 7.105 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.629e-05/0.4471, allocations: 180.2 kB / 0.7555 GB, free: 6.922 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.772e-05/0.4472, allocations: 105 kB / 0.7556 GB, free: 6.812 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.954e-05/0.4473, allocations: 184.3 kB / 0.7558 GB, free: 6.625 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.151e-05/0.4474, allocations: 108.9 kB / 0.7559 GB, free: 6.512 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.225e-05/0.4475, allocations: 75.28 kB / 0.7559 GB, free: 6.438 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.31e-07/0.4475, allocations: 0 / 0.7559 GB, free: 6.438 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003057/0.4478, allocations: 4 kB / 0.7559 GB, free: 6.434 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.0004829/0.4483, allocations: 0.8088 MB / 0.7567 GB, free: 5.594 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.614e-05/0.4484, allocations: 3.938 kB / 0.7567 GB, free: 5.59 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.4484, allocations: 4 kB / 0.7567 GB, free: 5.586 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.658e-06/0.4484, allocations: 3.984 kB / 0.7567 GB, free: 5.582 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003538/0.4487, allocations: 0.522 MB / 0.7573 GB, free: 5.059 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003704/0.4491, allocations: 149.4 kB / 0.7574 GB, free: 4.875 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003029/0.4494, allocations: 0.6729 MB / 0.7581 GB, free: 4.176 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 1.32e-05/0.4495, allocations: 0 / 0.7581 GB, free: 4.176 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.124e-05/0.4495, allocations: 7.438 kB / 0.7581 GB, free: 4.168 MB / 0.6355 GB Notification: Performance of SimCode: time 8.92e-07/0.4495, allocations: 4 kB / 0.7581 GB, free: 4.164 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03398/0.4835, allocations: 444.3 kB / 0.7585 GB, free: 3.734 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003445/0.4839, allocations: 210.7 kB / 0.7587 GB, free: 3.453 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.2/2.684, allocations: 4 kB / 0.7587 GB, free: 3.449 MB / 0.6355 GB