Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildingSystems): time 3.623/3.623, allocations: 343.8 MB / 355.9 MB, free: 9.383 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.663e-05/4.671e-05, allocations: 4 kB / 436.7 MB, free: 2.332 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1694/0.1695, allocations: 77.72 MB / 0.5024 GB, free: 4.453 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6683/0.8379, allocations: 120.5 MB / 0.62 GB, free: 384 kB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005795/0.8386, allocations: 115.9 kB / 0.6201 GB, free: 268 kB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.2064/1.045, allocations: 24.97 MB / 0.6445 GB, free: 7.246 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.425e-06/1.045, allocations: 0 / 0.6445 GB, free: 7.246 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.931e-05/1.045, allocations: 20 kB / 0.6445 GB, free: 7.227 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.003928/1.049, allocations: 1.343 MB / 0.6458 GB, free: 5.832 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.063e-05/1.049, allocations: 15.91 kB / 0.6458 GB, free: 5.816 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.612e-05/1.049, allocations: 46.5 kB / 0.6459 GB, free: 5.762 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008101/1.05, allocations: 150 kB / 0.646 GB, free: 5.613 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001727/1.052, allocations: 0.6417 MB / 0.6467 GB, free: 4.902 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.562e-05/1.052, allocations: 27.98 kB / 0.6467 GB, free: 4.875 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001696/1.052, allocations: 39.98 kB / 0.6467 GB, free: 4.836 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005976/1.053, allocations: 383.2 kB / 0.6471 GB, free: 4.449 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/1.053, allocations: 0 / 0.6471 GB, free: 4.449 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.576e-05/1.053, allocations: 4 kB / 0.6471 GB, free: 4.445 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/1.053, allocations: 7.938 kB / 0.6471 GB, free: 4.438 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005737/1.053, allocations: 423.7 kB / 0.6475 GB, free: 4.023 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001962/1.055, allocations: 0.9905 MB / 0.6485 GB, free: 2.969 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007829/1.056, allocations: 0.5711 MB / 0.649 GB, free: 2.379 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004239/1.057, allocations: 329.7 kB / 0.6493 GB, free: 2.051 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00147/1.058, allocations: 1.029 MB / 0.6503 GB, free: 0.8008 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000568/1.059, allocations: 396.9 kB / 0.6507 GB, free: 404 kB / 0.5261 GB Notification: Performance of pre-optimization done (n=8): time 2.886e-06/1.059, allocations: 0 / 0.6507 GB, free: 404 kB / 0.5261 GB Notification: Performance of matching and sorting (n=8): time 0.001705/1.06, allocations: 1.03 MB / 0.6517 GB, free: 15.36 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.715e-05/1.061, allocations: 81.06 kB / 0.6518 GB, free: 15.26 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003222/1.064, allocations: 1.611 MB / 0.6534 GB, free: 13.6 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0002039/1.064, allocations: 45.7 kB / 0.6534 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.000719/1.065, allocations: 497.9 kB / 0.6539 GB, free: 13.05 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 6.722e-05/1.065, allocations: 27.64 kB / 0.6539 GB, free: 13.03 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001144/1.065, allocations: 16 kB / 0.6539 GB, free: 13.01 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002259/1.065, allocations: 407 kB / 0.6543 GB, free: 12.61 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002869/1.068, allocations: 1.463 MB / 0.6558 GB, free: 11.14 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002968/1.071, allocations: 1.597 MB / 0.6573 GB, free: 9.531 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003323/1.075, allocations: 1.857 MB / 0.6591 GB, free: 7.656 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.347e-05/1.075, allocations: 8 kB / 0.6591 GB, free: 7.648 MB / 0.5417 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.008304/1.083, allocations: 4.011 MB / 0.6631 GB, free: 3.602 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.199e-05/1.083, allocations: 8 kB / 0.6631 GB, free: 3.594 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001287/1.083, allocations: 20 kB / 0.6631 GB, free: 3.574 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.661e-05/1.083, allocations: 4 kB / 0.6631 GB, free: 3.57 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001489/1.085, allocations: 143.8 kB / 0.6632 GB, free: 3.43 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.932e-05/1.085, allocations: 4 kB / 0.6632 GB, free: 3.426 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00169/1.086, allocations: 252.2 kB / 0.6635 GB, free: 3.176 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002213/1.087, allocations: 92.02 kB / 0.6636 GB, free: 3.086 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.k,k,$PRE.t1,t1,$PRE.t2,t2,$PRE.gFun1,gFun1,$PRE.gFun2,gFun2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 89 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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.0002087/1.087, allocations: 136.8 kB / 0.6637 GB, free: 2.945 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001847/1.087, allocations: 122 kB / 0.6638 GB, free: 2.824 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001609/1.089, allocations: 0.9968 MB / 0.6648 GB, free: 1.82 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/1.089, allocations: 4 kB / 0.6648 GB, free: 1.816 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/1.089, allocations: 0 / 0.6648 GB, free: 1.816 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.064e-06/1.089, allocations: 0 / 0.6648 GB, free: 1.816 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001138/1.09, allocations: 0.6794 MB / 0.6654 GB, free: 1.078 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/1.09, allocations: 7.969 kB / 0.6654 GB, free: 1.07 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001582/1.09, allocations: 7.984 kB / 0.6655 GB, free: 1.062 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.123e-05/1.09, allocations: 4 kB / 0.6655 GB, free: 1.059 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.999e-05/1.09, allocations: 0 / 0.6655 GB, free: 1.059 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/1.09, allocations: 0 / 0.6655 GB, free: 1.059 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.825e-06/1.09, allocations: 4 kB / 0.6655 GB, free: 1.055 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001448/1.092, allocations: 1.065 MB / 0.6665 GB, free: 15.95 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003867/1.092, allocations: 215 kB / 0.6667 GB, free: 15.72 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001797/1.092, allocations: 0 / 0.6667 GB, free: 15.72 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007267/1.093, allocations: 4 kB / 0.6667 GB, free: 15.72 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.994e-05/1.093, allocations: 11.98 kB / 0.6667 GB, free: 15.71 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.619e-05/1.093, allocations: 19.88 kB / 0.6667 GB, free: 15.69 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002489/1.096, allocations: 1.093 MB / 0.6678 GB, free: 14.56 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.423e-06/1.096, allocations: 0 / 0.6678 GB, free: 14.56 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002324/1.098, allocations: 0.5267 MB / 0.6683 GB, free: 14.04 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,k,t1,t2,gFun1,gFun2) * Number of discrete states: 2 (k,t2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.004559/1.103, allocations: 2.14 MB / 0.6704 GB, free: 11.86 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.003952/1.107, allocations: 2.494 MB / 0.6729 GB, free: 9.359 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/1.107, allocations: 0 / 0.6729 GB, free: 9.359 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0004738/1.107, allocations: 335.8 kB / 0.6732 GB, free: 9.031 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000612/1.108, allocations: 74.23 kB / 0.6732 GB, free: 8.957 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006638/1.114, allocations: 2.55 MB / 0.6757 GB, free: 6.355 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0011/1.116, allocations: 1.187 MB / 0.6769 GB, free: 5.145 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0007375/1.116, allocations: 122.8 kB / 0.677 GB, free: 5.023 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008247/1.117, allocations: 475.2 kB / 0.6775 GB, free: 4.559 MB / 0.5573 GB Notification: Performance of SimCode: time 1.453e-06/1.117, allocations: 0 / 0.6775 GB, free: 4.559 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07885/1.196, allocations: 23.84 MB / 0.7007 GB, free: 12.9 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004097/1.197, allocations: 235 kB / 0.701 GB, free: 12.59 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.758/4.954, allocations: 0 / 0.701 GB, free: 12.59 MB / 0.5886 GB