Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildingSystems): time 3.135/3.135, allocations: 343.8 MB / 355.9 MB, free: 9.383 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.898e-05/5.908e-05, allocations: 4 kB / 436.7 MB, free: 2.332 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1874/0.1875, allocations: 77.73 MB / 0.5024 GB, free: 4.445 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6786/0.8661, allocations: 125 MB / 0.6244 GB, free: 11.88 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000471/0.8667, allocations: 119.9 kB / 0.6245 GB, free: 11.76 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.1821/1.049, allocations: 29.65 MB / 0.6535 GB, free: 14.02 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.863e-06/1.049, allocations: 0 / 0.6535 GB, free: 14.02 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 4.926e-05/1.049, allocations: 12 kB / 0.6535 GB, free: 14.01 MB / 0.5417 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.003243/1.052, allocations: 1.052 MB / 0.6545 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.761e-05/1.052, allocations: 8.031 kB / 0.6545 GB, free: 12.9 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.223e-05/1.052, allocations: 46.5 kB / 0.6545 GB, free: 12.85 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006021/1.053, allocations: 98.66 kB / 0.6546 GB, free: 12.75 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001129/1.054, allocations: 472.7 kB / 0.6551 GB, free: 12.24 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.751e-05/1.054, allocations: 24 kB / 0.6551 GB, free: 12.21 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001408/1.054, allocations: 40 kB / 0.6552 GB, free: 12.18 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005926/1.055, allocations: 379.2 kB / 0.6555 GB, free: 11.79 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/1.055, allocations: 0 / 0.6555 GB, free: 11.79 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.744e-05/1.055, allocations: 0 / 0.6555 GB, free: 11.79 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/1.055, allocations: 7.953 kB / 0.6555 GB, free: 11.79 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006056/1.056, allocations: 423.7 kB / 0.6559 GB, free: 11.37 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001358/1.057, allocations: 0.7704 MB / 0.6567 GB, free: 10.55 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007887/1.058, allocations: 0.5555 MB / 0.6572 GB, free: 9.977 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000446/1.058, allocations: 329.7 kB / 0.6575 GB, free: 9.648 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001576/1.06, allocations: 1.033 MB / 0.6585 GB, free: 8.395 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006232/1.061, allocations: 404.8 kB / 0.6589 GB, free: 7.98 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=8): time 3.377e-06/1.061, allocations: 0 / 0.6589 GB, free: 7.98 MB / 0.5417 GB Notification: Performance of matching and sorting (n=8): time 0.001752/1.062, allocations: 0.9686 MB / 0.6599 GB, free: 7.004 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.437e-05/1.062, allocations: 89 kB / 0.66 GB, free: 6.898 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002089/1.065, allocations: 1.12 MB / 0.6611 GB, free: 5.766 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001536/1.065, allocations: 41.7 kB / 0.6611 GB, free: 5.719 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003598/1.065, allocations: 302 kB / 0.6614 GB, free: 5.418 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 5.584e-05/1.065, allocations: 19.72 kB / 0.6614 GB, free: 5.398 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.809e-05/1.065, allocations: 12 kB / 0.6614 GB, free: 5.387 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002616/1.066, allocations: 427.8 kB / 0.6618 GB, free: 4.961 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002218/1.068, allocations: 1.198 MB / 0.663 GB, free: 3.762 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002388/1.07, allocations: 1.343 MB / 0.6643 GB, free: 2.402 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002734/1.073, allocations: 1.6 MB / 0.6659 GB, free: 0.7852 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/1.073, allocations: 4 kB / 0.6659 GB, free: 0.7812 MB / 0.5417 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.006887/1.08, allocations: 3.426 MB / 0.6692 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 3.241e-05/1.08, allocations: 11.94 kB / 0.6692 GB, free: 13.31 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.732e-05/1.08, allocations: 0 / 0.6692 GB, free: 13.31 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.882e-05/1.08, allocations: 4 kB / 0.6692 GB, free: 13.3 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001466/1.082, allocations: 143.8 kB / 0.6694 GB, free: 13.16 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.023e-05/1.082, allocations: 4 kB / 0.6694 GB, free: 13.16 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00113/1.083, allocations: 244.2 kB / 0.6696 GB, free: 12.92 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001626/1.083, allocations: 60.05 kB / 0.6697 GB, free: 12.86 MB / 0.5573 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.0001982/1.083, allocations: 136.8 kB / 0.6698 GB, free: 12.72 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.49e-05/1.083, allocations: 70.69 kB / 0.6699 GB, free: 12.65 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001541/1.085, allocations: 0.9407 MB / 0.6708 GB, free: 11.7 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.215e-06/1.085, allocations: 4 kB / 0.6708 GB, free: 11.7 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/1.085, allocations: 3.984 kB / 0.6708 GB, free: 11.69 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/1.085, allocations: 3.984 kB / 0.6708 GB, free: 11.69 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007854/1.086, allocations: 0.5138 MB / 0.6713 GB, free: 11.13 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/1.086, allocations: 8.031 kB / 0.6713 GB, free: 11.12 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001281/1.086, allocations: 4 kB / 0.6713 GB, free: 11.12 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/1.086, allocations: 0 / 0.6713 GB, free: 11.12 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.377e-05/1.086, allocations: 7.984 kB / 0.6713 GB, free: 11.11 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.544e-06/1.086, allocations: 7.938 kB / 0.6713 GB, free: 11.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/1.086, allocations: 0 / 0.6713 GB, free: 11.1 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001387/1.087, allocations: 1.013 MB / 0.6723 GB, free: 10.06 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002119/1.087, allocations: 159.8 kB / 0.6725 GB, free: 9.887 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001052/1.088, allocations: 0 / 0.6725 GB, free: 9.887 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002846/1.088, allocations: 4 kB / 0.6725 GB, free: 9.883 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.298e-05/1.088, allocations: 11.98 kB / 0.6725 GB, free: 9.871 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.7e-05/1.088, allocations: 15.94 kB / 0.6725 GB, free: 9.855 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001379/1.089, allocations: 0.696 MB / 0.6732 GB, free: 9.152 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.565e-06/1.089, allocations: 0 / 0.6732 GB, free: 9.152 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002161/1.092, allocations: 0.5032 MB / 0.6737 GB, free: 8.648 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.096, allocations: 2.18 MB / 0.6758 GB, free: 6.441 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.003817/1.1, allocations: 2.341 MB / 0.6781 GB, free: 4.094 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.922e-06/1.1, allocations: 0 / 0.6781 GB, free: 4.094 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0004907/1.101, allocations: 339.8 kB / 0.6784 GB, free: 3.762 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000533/1.101, allocations: 52.67 kB / 0.6784 GB, free: 3.711 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004678/1.106, allocations: 1.857 MB / 0.6803 GB, free: 1.809 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008544/1.107, allocations: 1.009 MB / 0.6812 GB, free: 0.7773 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0003928/1.107, allocations: 62.95 kB / 0.6813 GB, free: 0.7109 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005762/1.108, allocations: 295.3 kB / 0.6816 GB, free: 432 kB / 0.5573 GB Notification: Performance of SimCode: time 1.603e-06/1.108, allocations: 0 / 0.6816 GB, free: 432 kB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07624/1.184, allocations: 19.68 MB / 0.7008 GB, free: 12.95 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004041/1.185, allocations: 247.2 kB / 0.701 GB, free: 12.62 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.713/4.897, allocations: 0 / 0.701 GB, free: 12.62 MB / 0.5886 GB