Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildingSystems): time 3.241/3.241, allocations: 343.8 MB / 355.9 MB, free: 9.367 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.485e-05/4.489e-05, allocations: 8 kB / 436.7 MB, free: 2.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.172/0.1721, allocations: 77.73 MB / 0.5024 GB, free: 4.434 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6722/0.8443, allocations: 120.5 MB / 0.62 GB, free: 484 kB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004635/0.8448, allocations: 114.4 kB / 0.6201 GB, free: 372 kB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1424/0.9873, allocations: 21.74 MB / 0.6413 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.643e-06/0.9873, allocations: 0 / 0.6413 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.463e-05/0.9874, allocations: 20 kB / 0.6414 GB, free: 10.57 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.002945/0.9904, allocations: 1.012 MB / 0.6423 GB, free: 9.508 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/0.9904, allocations: 8.031 kB / 0.6424 GB, free: 9.5 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.338e-05/0.9905, allocations: 42.52 kB / 0.6424 GB, free: 9.449 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000522/0.991, allocations: 90.75 kB / 0.6425 GB, free: 9.359 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008791/0.9919, allocations: 435.5 kB / 0.6429 GB, free: 8.883 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.592e-05/0.992, allocations: 24 kB / 0.6429 GB, free: 8.859 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000133/0.9921, allocations: 35.98 kB / 0.643 GB, free: 8.824 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005523/0.9927, allocations: 383.2 kB / 0.6433 GB, free: 8.438 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.9927, allocations: 0 / 0.6433 GB, free: 8.438 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.688e-05/0.9927, allocations: 0 / 0.6433 GB, free: 8.438 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.9927, allocations: 3.953 kB / 0.6433 GB, free: 8.434 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005466/0.9933, allocations: 423.8 kB / 0.6437 GB, free: 8.02 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001096/0.9944, allocations: 0.7494 MB / 0.6445 GB, free: 7.219 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006987/0.9951, allocations: 0.5555 MB / 0.645 GB, free: 6.645 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004302/0.9956, allocations: 325.7 kB / 0.6453 GB, free: 6.32 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001416/0.997, allocations: 1.033 MB / 0.6463 GB, free: 5.066 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000539/0.9976, allocations: 404.8 kB / 0.6467 GB, free: 4.652 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=8): time 3.316e-06/0.9976, allocations: 0 / 0.6467 GB, free: 4.652 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8): time 0.001457/0.999, allocations: 0.9648 MB / 0.6477 GB, free: 3.68 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.251e-05/0.9991, allocations: 93 kB / 0.6477 GB, free: 3.57 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001776/1.001, allocations: 1.057 MB / 0.6488 GB, free: 2.496 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001411/1.001, allocations: 45.73 kB / 0.6488 GB, free: 2.445 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003305/1.001, allocations: 274 kB / 0.6491 GB, free: 2.172 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.687e-05/1.002, allocations: 15.75 kB / 0.6491 GB, free: 2.156 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.97e-05/1.002, allocations: 16 kB / 0.6491 GB, free: 2.141 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002248/1.002, allocations: 415.8 kB / 0.6495 GB, free: 1.727 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002109/1.004, allocations: 1.206 MB / 0.6507 GB, free: 0.5195 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002261/1.006, allocations: 1.339 MB / 0.652 GB, free: 15.16 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002499/1.009, allocations: 1.6 MB / 0.6536 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/1.009, allocations: 0 / 0.6536 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.006793/1.016, allocations: 3.423 MB / 0.6569 GB, free: 10.09 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.546e-05/1.016, allocations: 4 kB / 0.6569 GB, free: 10.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.809e-05/1.016, allocations: 4 kB / 0.6569 GB, free: 10.08 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.03e-05/1.016, allocations: 0 / 0.6569 GB, free: 10.08 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001566/1.017, allocations: 147.8 kB / 0.657 GB, free: 9.938 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.377e-05/1.017, allocations: 7.938 kB / 0.6571 GB, free: 9.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00114/1.019, allocations: 248.2 kB / 0.6573 GB, free: 9.684 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001638/1.019, allocations: 60.02 kB / 0.6573 GB, free: 9.625 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.0002237/1.019, allocations: 133.8 kB / 0.6575 GB, free: 9.492 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.88e-05/1.019, allocations: 62.78 kB / 0.6575 GB, free: 9.43 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001593/1.021, allocations: 0.9282 MB / 0.6584 GB, free: 8.492 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.436e-05/1.021, allocations: 4 kB / 0.6584 GB, free: 8.488 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.255e-05/1.021, allocations: 7.922 kB / 0.6584 GB, free: 8.48 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/1.021, allocations: 0 / 0.6584 GB, free: 8.48 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008992/1.022, allocations: 0.4928 MB / 0.6589 GB, free: 7.941 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/1.022, allocations: 0 / 0.6589 GB, free: 7.941 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001553/1.022, allocations: 8 kB / 0.6589 GB, free: 7.934 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.166e-06/1.022, allocations: 0 / 0.6589 GB, free: 7.934 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.676e-05/1.022, allocations: 7.984 kB / 0.6589 GB, free: 7.926 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/1.022, allocations: 4 kB / 0.6589 GB, free: 7.922 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/1.022, allocations: 0 / 0.6589 GB, free: 7.922 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001516/1.024, allocations: 1.008 MB / 0.6599 GB, free: 6.887 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002663/1.024, allocations: 151.9 kB / 0.6601 GB, free: 6.719 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.989e-05/1.024, allocations: 0 / 0.6601 GB, free: 6.719 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002977/1.024, allocations: 4 kB / 0.6601 GB, free: 6.715 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.154e-05/1.024, allocations: 7.984 kB / 0.6601 GB, free: 6.707 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.779e-05/1.024, allocations: 15.94 kB / 0.6601 GB, free: 6.691 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001378/1.026, allocations: 0.6503 MB / 0.6607 GB, free: 6.031 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.082e-06/1.026, allocations: 4 kB / 0.6607 GB, free: 6.027 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002199/1.028, allocations: 499.3 kB / 0.6612 GB, free: 5.539 MB / 0.5417 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.004319/1.032, allocations: 2.074 MB / 0.6632 GB, free: 3.43 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.003815/1.036, allocations: 2.345 MB / 0.6655 GB, free: 1.078 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.762e-06/1.036, allocations: 0 / 0.6655 GB, free: 1.078 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0005104/1.037, allocations: 335.8 kB / 0.6659 GB, free: 0.75 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003953/1.037, allocations: 36.45 kB / 0.6659 GB, free: 0.7148 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004423/1.042, allocations: 1.791 MB / 0.6676 GB, free: 14.87 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007515/1.043, allocations: 0.9813 MB / 0.6686 GB, free: 13.87 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0003394/1.043, allocations: 59.31 kB / 0.6687 GB, free: 13.81 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004954/1.043, allocations: 271.3 kB / 0.6689 GB, free: 13.54 MB / 0.5573 GB Notification: Performance of SimCode: time 1.503e-06/1.043, allocations: 0 / 0.6689 GB, free: 13.54 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06312/1.107, allocations: 16.83 MB / 0.6854 GB, free: 12.92 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003363/1.107, allocations: 249.3 kB / 0.6856 GB, free: 12.58 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.5/4.607, allocations: 0 / 0.6856 GB, free: 12.58 MB / 0.573 GB