Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildingSystems): time 3.273/3.273, allocations: 343.8 MB / 355.9 MB, free: 9.383 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.132e-05/5.143e-05, allocations: 7.984 kB / 436.7 MB, free: 2.324 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1718/0.1718, allocations: 77.73 MB / 0.5024 GB, free: 4.441 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6427/0.8146, allocations: 107.2 MB / 0.607 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004325/0.8151, allocations: 103.9 kB / 0.6071 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.007789/0.8229, allocations: 2.016 MB / 0.6091 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.456e-06/0.823, allocations: 0 / 0.6091 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.645e-06/0.823, allocations: 0.6562 kB / 0.6091 GB, free: 11.56 MB / 0.4948 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.0003306/0.8233, allocations: 322.6 kB / 0.6094 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.846e-05/0.8234, allocations: 14.33 kB / 0.6094 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.574e-05/0.8235, allocations: 38.5 kB / 0.6095 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.334e-05/0.8235, allocations: 0 / 0.6095 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000157/0.8237, allocations: 167 kB / 0.6096 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.8237, allocations: 0 / 0.6096 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.29e-05/0.8237, allocations: 0 / 0.6096 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.815e-05/0.8238, allocations: 37.64 kB / 0.6097 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.8238, allocations: 0 / 0.6097 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.8239, allocations: 0.6875 kB / 0.6097 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.8239, allocations: 0 / 0.6097 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.559e-05/0.8239, allocations: 11.98 kB / 0.6097 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004774/0.8244, allocations: 464.6 kB / 0.6101 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.099e-05/0.8245, allocations: 165.1 kB / 0.6103 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.218e-05/0.8246, allocations: 84.17 kB / 0.6104 GB, free: 10.1 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.282e-05/0.8246, allocations: 79.28 kB / 0.6104 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.264e-05/0.8247, allocations: 109.8 kB / 0.6105 GB, free: 9.906 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=0): time 1.453e-06/0.8247, allocations: 0 / 0.6105 GB, free: 9.906 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0): time 8.39e-05/0.8248, allocations: 25.7 kB / 0.6106 GB, free: 9.875 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.032e-05/0.8249, allocations: 134.6 kB / 0.6107 GB, free: 9.73 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.825, allocations: 93 kB / 0.6108 GB, free: 9.633 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.825, allocations: 25.7 kB / 0.6108 GB, free: 9.602 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.925e-05/0.8251, allocations: 92.06 kB / 0.6109 GB, free: 9.508 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.886e-06/0.8251, allocations: 0 / 0.6109 GB, free: 9.508 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.457e-06/0.8251, allocations: 0 / 0.6109 GB, free: 9.508 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.8252, allocations: 314.8 kB / 0.6112 GB, free: 9.191 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.453e-05/0.8253, allocations: 4 kB / 0.6112 GB, free: 9.188 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.005e-06/0.8253, allocations: 0 / 0.6112 GB, free: 9.188 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.073e-05/0.8253, allocations: 0 / 0.6112 GB, free: 9.188 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.8253, allocations: 0 / 0.6112 GB, free: 9.188 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001202/0.8254, allocations: 45.61 kB / 0.6112 GB, free: 9.137 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.8255, allocations: 4 kB / 0.6112 GB, free: 9.133 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.8255, allocations: 4 kB / 0.6112 GB, free: 9.129 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.8255, allocations: 3.984 kB / 0.6113 GB, free: 9.125 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.79e-05/0.8255, allocations: 0 / 0.6113 GB, free: 9.125 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.8256, allocations: 4 kB / 0.6113 GB, free: 9.121 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.05e-05/0.8256, allocations: 3.953 kB / 0.6113 GB, free: 9.117 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.732e-06/0.8256, allocations: 0 / 0.6113 GB, free: 9.117 MB / 0.4948 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 (cmp) * 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.0001331/0.8257, allocations: 176.3 kB / 0.6114 GB, free: 8.938 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.033e-05/0.8258, allocations: 105 kB / 0.6115 GB, free: 8.828 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.386e-05/0.8259, allocations: 116 kB / 0.6116 GB, free: 8.703 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.416e-05/0.826, allocations: 180.2 kB / 0.6118 GB, free: 8.52 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.613e-05/0.8261, allocations: 176.8 kB / 0.612 GB, free: 8.34 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.179e-05/0.8262, allocations: 180.2 kB / 0.6122 GB, free: 8.156 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002903/0.8265, allocations: 413.8 kB / 0.6125 GB, free: 7.695 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-05/0.8265, allocations: 103.7 kB / 0.6126 GB, free: 7.59 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.678e-05/0.8266, allocations: 104.9 kB / 0.6127 GB, free: 7.48 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.655e-05/0.8267, allocations: 188.3 kB / 0.6129 GB, free: 7.289 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.695e-05/0.8268, allocations: 176.3 kB / 0.6131 GB, free: 7.109 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.329e-05/0.8268, allocations: 180.2 kB / 0.6133 GB, free: 6.926 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.028e-05/0.8269, allocations: 184.2 kB / 0.6134 GB, free: 6.738 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001659/0.8271, allocations: 307.7 kB / 0.6137 GB, free: 6.414 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.962e-05/0.8272, allocations: 186.1 kB / 0.6139 GB, free: 6.207 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.631e-05/0.8273, allocations: 176.3 kB / 0.6141 GB, free: 6.027 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.8274, allocations: 108.9 kB / 0.6142 GB, free: 5.914 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/0.8276, allocations: 176.3 kB / 0.6144 GB, free: 5.734 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.504e-05/0.8276, allocations: 105 kB / 0.6145 GB, free: 5.625 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.244e-05/0.8277, allocations: 87.27 kB / 0.6145 GB, free: 5.539 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.81e-07/0.8277, allocations: 3.938 kB / 0.6145 GB, free: 5.535 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003841/0.8281, allocations: 27.92 kB / 0.6146 GB, free: 5.508 MB / 0.4948 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.0008657/0.829, allocations: 0.8759 MB / 0.6154 GB, free: 4.613 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 6.531e-05/0.8291, allocations: 0 / 0.6154 GB, free: 4.613 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.8291, allocations: 4 kB / 0.6154 GB, free: 4.609 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.87e-06/0.8291, allocations: 4.062 kB / 0.6154 GB, free: 4.605 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003605/0.8295, allocations: 0.5223 MB / 0.6159 GB, free: 4.078 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004972/0.8344, allocations: 1.071 MB / 0.617 GB, free: 2.973 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002799/0.8348, allocations: 0.6731 MB / 0.6176 GB, free: 2.273 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.765e-05/0.8348, allocations: 4 kB / 0.6176 GB, free: 2.27 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.749e-05/0.8349, allocations: 11.42 kB / 0.6177 GB, free: 2.258 MB / 0.4948 GB Notification: Performance of SimCode: time 1.413e-06/0.8349, allocations: 0 / 0.6177 GB, free: 2.258 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02084/0.8557, allocations: 1.335 MB / 0.619 GB, free: 1.102 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000409/0.8562, allocations: 271.5 kB / 0.6192 GB, free: 0.7656 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.611/3.467, allocations: 5.359 kB / 0.6192 GB, free: 0.7656 MB / 0.4948 GB