Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.524/4.524, allocations: 464.6 MB / 476.8 MB, free: 2.207 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.674e-05/4.69e-05, allocations: 9.812 kB / 0.5732 GB, free: 5.602 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2409/0.241, allocations: 107.2 MB / 0.6779 GB, free: 10.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.88/1.121, allocations: 151.2 MB / 0.8255 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004746/1.122, allocations: 107.5 kB / 0.8256 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.1983/1.32, allocations: 29.66 MB / 0.8546 GB, free: 8.281 MB / 0.6511 GB Notification: Performance of FrontEnd: time 4.088e-06/1.32, allocations: 0 / 0.8546 GB, free: 8.281 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.454e-05/1.32, allocations: 15.94 kB / 0.8546 GB, free: 8.266 MB / 0.6511 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.003027/1.323, allocations: 1.046 MB / 0.8556 GB, free: 7.23 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.4e-05/1.323, allocations: 8.031 kB / 0.8556 GB, free: 7.223 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.185e-05/1.323, allocations: 41.55 kB / 0.8557 GB, free: 7.176 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005517/1.324, allocations: 106.6 kB / 0.8558 GB, free: 7.07 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001073/1.325, allocations: 464.4 kB / 0.8562 GB, free: 6.602 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.38e-05/1.325, allocations: 23.75 kB / 0.8562 GB, free: 6.59 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001294/1.325, allocations: 30.94 kB / 0.8563 GB, free: 6.57 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005651/1.326, allocations: 382.9 kB / 0.8566 GB, free: 6.191 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/1.326, allocations: 3.938 kB / 0.8566 GB, free: 6.188 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.685e-05/1.326, allocations: 0 / 0.8566 GB, free: 6.188 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/1.326, allocations: 0 / 0.8566 GB, free: 6.188 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005601/1.326, allocations: 426.1 kB / 0.857 GB, free: 5.777 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001168/1.327, allocations: 0.7729 MB / 0.8578 GB, free: 5.094 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007535/1.328, allocations: 0.5603 MB / 0.8583 GB, free: 4.523 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004431/1.329, allocations: 333 kB / 0.8587 GB, free: 4.195 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001465/1.33, allocations: 1.039 MB / 0.8597 GB, free: 2.941 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005581/1.331, allocations: 391.9 kB / 0.86 GB, free: 2.551 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=8): time 2.886e-06/1.331, allocations: 0 / 0.86 GB, free: 2.551 MB / 0.6511 GB Notification: Performance of matching and sorting (n=8): time 0.001582/1.332, allocations: 0.9717 MB / 0.861 GB, free: 1.586 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.038e-05/1.332, allocations: 93.06 kB / 0.8611 GB, free: 1.477 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001957/1.334, allocations: 1.121 MB / 0.8622 GB, free: 0.5742 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001541/1.335, allocations: 40.95 kB / 0.8622 GB, free: 0.5391 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003339/1.335, allocations: 300.4 kB / 0.8625 GB, free: 344 kB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.246e-05/1.335, allocations: 15.48 kB / 0.8625 GB, free: 332 kB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.457e-05/1.335, allocations: 15.56 kB / 0.8625 GB, free: 328 kB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002738/1.335, allocations: 425.5 kB / 0.8629 GB, free: 15.94 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002057/1.337, allocations: 1.207 MB / 0.8641 GB, free: 15.16 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002212/1.34, allocations: 1.34 MB / 0.8654 GB, free: 14.27 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002509/1.342, allocations: 1.601 MB / 0.867 GB, free: 13.07 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.386e-06/1.342, allocations: 0 / 0.867 GB, free: 13.07 MB / 0.6667 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.006389/1.349, allocations: 3.425 MB / 0.8703 GB, free: 10.48 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.948e-05/1.349, allocations: 4 kB / 0.8703 GB, free: 10.47 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.47e-05/1.349, allocations: 4 kB / 0.8703 GB, free: 10.47 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.548e-05/1.349, allocations: 4 kB / 0.8703 GB, free: 10.46 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001432/1.35, allocations: 142.9 kB / 0.8705 GB, free: 10.33 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.457e-05/1.35, allocations: 8.031 kB / 0.8705 GB, free: 10.32 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001084/1.351, allocations: 243.2 kB / 0.8707 GB, free: 10.09 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001519/1.352, allocations: 58.55 kB / 0.8708 GB, free: 10.04 MB / 0.6667 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.0001865/1.352, allocations: 132.5 kB / 0.8709 GB, free: 9.918 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001143/1.352, allocations: 82.53 kB / 0.871 GB, free: 9.836 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001507/1.353, allocations: 0.9348 MB / 0.8719 GB, free: 8.91 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.118e-06/1.353, allocations: 4 kB / 0.8719 GB, free: 8.906 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/1.353, allocations: 4.031 kB / 0.8719 GB, free: 8.902 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/1.353, allocations: 0 / 0.8719 GB, free: 8.902 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007705/1.354, allocations: 0.5178 MB / 0.8724 GB, free: 8.434 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/1.354, allocations: 4 kB / 0.8724 GB, free: 8.43 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001323/1.354, allocations: 4 kB / 0.8724 GB, free: 8.426 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/1.354, allocations: 0 / 0.8724 GB, free: 8.426 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.089e-05/1.354, allocations: 7.984 kB / 0.8724 GB, free: 8.418 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/1.354, allocations: 3.938 kB / 0.8724 GB, free: 8.414 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/1.354, allocations: 0 / 0.8724 GB, free: 8.414 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001352/1.356, allocations: 1.013 MB / 0.8734 GB, free: 7.395 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002104/1.356, allocations: 155.8 kB / 0.8736 GB, free: 7.223 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/1.356, allocations: 3.562 kB / 0.8736 GB, free: 7.223 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002839/1.357, allocations: 7.984 kB / 0.8736 GB, free: 7.215 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.288e-05/1.357, allocations: 11.61 kB / 0.8736 GB, free: 7.207 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.632e-05/1.357, allocations: 15.97 kB / 0.8736 GB, free: 7.191 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001314/1.358, allocations: 0.6977 MB / 0.8743 GB, free: 6.617 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.11e-07/1.358, allocations: 0 / 0.8743 GB, free: 6.617 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002187/1.36, allocations: 0.4945 MB / 0.8748 GB, free: 6.152 MB / 0.6667 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.004635/1.365, allocations: 2.176 MB / 0.8769 GB, free: 4.012 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003542/1.368, allocations: 2.347 MB / 0.8792 GB, free: 2.438 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 7.233e-06/1.368, allocations: 0 / 0.8792 GB, free: 2.438 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0004822/1.369, allocations: 335.4 kB / 0.8795 GB, free: 2.117 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005074/1.37, allocations: 43.97 kB / 0.8795 GB, free: 2.098 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004722/1.374, allocations: 1.86 MB / 0.8814 GB, free: 244 kB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008487/1.375, allocations: 1.005 MB / 0.8823 GB, free: 15.2 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0004067/1.376, allocations: 58.97 kB / 0.8824 GB, free: 15.14 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005049/1.376, allocations: 299.5 kB / 0.8827 GB, free: 15.08 MB / 0.6823 GB Notification: Performance of SimCode: time 1.493e-06/1.376, allocations: 0 / 0.8827 GB, free: 15.08 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07715/1.453, allocations: 19.65 MB / 0.9019 GB, free: 11.64 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004114/1.454, allocations: 243.5 kB / 0.9021 GB, free: 11.32 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.754/5.208, allocations: 1.688 kB / 0.9021 GB, free: 11.32 MB / 0.698 GB