Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildingSystems): time 3.119/3.119, allocations: 343.8 MB / 355.9 MB, free: 9.391 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.081e-05/5.088e-05, allocations: 8 kB / 436.7 MB, free: 2.344 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1647/0.1648, allocations: 77.73 MB / 0.5024 GB, free: 4.457 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6255/0.7904, allocations: 116.3 MB / 0.6159 GB, free: 4.668 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004154/0.7909, allocations: 107.9 kB / 0.6161 GB, free: 4.562 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.09755/0.8884, allocations: 22.17 MB / 0.6377 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.693e-06/0.8885, allocations: 0 / 0.6377 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.654e-05/0.8885, allocations: 12 kB / 0.6377 GB, free: 14.3 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001701/0.8902, allocations: 0.7614 MB / 0.6385 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.8903, allocations: 8.031 kB / 0.6385 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001932/0.8905, allocations: 86.52 kB / 0.6385 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001889/0.8907, allocations: 71.16 kB / 0.6386 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008791/0.8916, allocations: 432.8 kB / 0.639 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.628e-05/0.8917, allocations: 33 kB / 0.6391 GB, free: 12.83 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000115/0.8918, allocations: 51.95 kB / 0.6391 GB, free: 12.78 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001125/0.8929, allocations: 400.5 kB / 0.6395 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.955e-05/0.893, allocations: 0 / 0.6395 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.944e-05/0.8931, allocations: 20 kB / 0.6395 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.813e-05/0.8931, allocations: 19.94 kB / 0.6395 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001051/0.8942, allocations: 322 kB / 0.6398 GB, free: 12.03 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003638/0.8978, allocations: 1.543 MB / 0.6413 GB, free: 10.41 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007401/0.8986, allocations: 315 kB / 0.6416 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006985/0.8993, allocations: 329.2 kB / 0.642 GB, free: 9.77 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 4.056e-05/0.8994, allocations: 4 kB / 0.642 GB, free: 9.766 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.888e-05/0.8994, allocations: 43.06 kB / 0.642 GB, free: 9.715 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=42): time 3.527e-06/0.8995, allocations: 4 kB / 0.642 GB, free: 9.711 MB / 0.5261 GB Notification: Performance of matching and sorting (n=42): time 0.0009565/0.9004, allocations: 340.5 kB / 0.6423 GB, free: 9.371 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.669e-05/0.9005, allocations: 59.41 kB / 0.6424 GB, free: 9.301 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008752/0.9014, allocations: 423.2 kB / 0.6428 GB, free: 8.879 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.953e-05/0.9015, allocations: 37.7 kB / 0.6428 GB, free: 8.836 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002883/0.9018, allocations: 276.3 kB / 0.6431 GB, free: 8.562 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001917/0.902, allocations: 145.8 kB / 0.6432 GB, free: 8.418 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.866e-05/0.902, allocations: 8 kB / 0.6432 GB, free: 8.41 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001831/0.9022, allocations: 358.8 kB / 0.6436 GB, free: 8.051 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003107/0.9025, allocations: 104.8 kB / 0.6437 GB, free: 7.945 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003029/0.9028, allocations: 120.8 kB / 0.6438 GB, free: 7.828 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003484/0.9032, allocations: 122.6 kB / 0.6439 GB, free: 7.711 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.9032, allocations: 4 kB / 0.6439 GB, free: 7.707 MB / 0.5261 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009434/0.9042, allocations: 364.2 kB / 0.6443 GB, free: 7.344 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/0.9042, allocations: 4 kB / 0.6443 GB, free: 7.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.9042, allocations: 0 / 0.6443 GB, free: 7.34 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.375e-05/0.9043, allocations: 3.953 kB / 0.6443 GB, free: 7.336 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001028/0.9053, allocations: 127.9 kB / 0.6444 GB, free: 7.211 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/0.9053, allocations: 4 kB / 0.6444 GB, free: 7.207 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005495/0.9059, allocations: 47.67 kB / 0.6444 GB, free: 7.16 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.553e-05/0.9059, allocations: 8 kB / 0.6444 GB, free: 7.152 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (46): * Single equations (assignments): 46 * 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.0001559/0.9061, allocations: 132.9 kB / 0.6446 GB, free: 7.016 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001339/0.9062, allocations: 51.34 kB / 0.6446 GB, free: 6.965 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000197/0.9065, allocations: 60.89 kB / 0.6447 GB, free: 6.906 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.751e-05/0.9065, allocations: 7.953 kB / 0.6447 GB, free: 6.898 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.9065, allocations: 0 / 0.6447 GB, free: 6.898 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.217e-05/0.9065, allocations: 3.984 kB / 0.6447 GB, free: 6.895 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001128/0.9077, allocations: 0.5674 MB / 0.6452 GB, free: 6.277 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.9077, allocations: 0 / 0.6452 GB, free: 6.277 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001087/0.9088, allocations: 131.9 kB / 0.6454 GB, free: 6.148 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.987e-06/0.9088, allocations: 0 / 0.6454 GB, free: 6.148 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.693e-05/0.9089, allocations: 12 kB / 0.6454 GB, free: 6.137 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.9089, allocations: 3.938 kB / 0.6454 GB, free: 6.133 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.74e-06/0.9089, allocations: 3.953 kB / 0.6454 GB, free: 6.129 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001433/0.9104, allocations: 0.6001 MB / 0.646 GB, free: 5.512 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003221/0.9107, allocations: 140.3 kB / 0.6461 GB, free: 5.355 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001166/0.9109, allocations: 12 kB / 0.6461 GB, free: 5.344 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004882/0.9114, allocations: 23.98 kB / 0.6461 GB, free: 5.32 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.397e-05/0.9115, allocations: 31.73 kB / 0.6462 GB, free: 5.289 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.402e-05/0.9115, allocations: 15.95 kB / 0.6462 GB, free: 5.273 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000669/0.9122, allocations: 341.2 kB / 0.6465 GB, free: 4.941 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.31e-07/0.9122, allocations: 0 / 0.6465 GB, free: 4.941 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0007334/0.9129, allocations: 155.6 kB / 0.6467 GB, free: 4.789 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 42 * 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.001983/0.9149, allocations: 1.312 MB / 0.6479 GB, free: 3.457 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0007667/0.9157, allocations: 287.9 kB / 0.6482 GB, free: 3.176 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.9158, allocations: 0 / 0.6482 GB, free: 3.176 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003789/0.9162, allocations: 163.9 kB / 0.6484 GB, free: 3.016 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001003/0.9172, allocations: 106.6 kB / 0.6485 GB, free: 2.914 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003048/0.9202, allocations: 1.016 MB / 0.6495 GB, free: 1.859 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005654/0.9209, allocations: 0.8863 MB / 0.6503 GB, free: 0.9492 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003735/0.9212, allocations: 64.27 kB / 0.6504 GB, free: 0.8828 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004055/0.9217, allocations: 195.4 kB / 0.6506 GB, free: 0.6914 MB / 0.5261 GB Notification: Performance of SimCode: time 3.356e-06/0.9217, allocations: 0 / 0.6506 GB, free: 0.6914 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04547/0.9672, allocations: 12.55 MB / 0.6628 GB, free: 4.387 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003154/0.9676, allocations: 229.6 kB / 0.663 GB, free: 4.164 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.752/3.719, allocations: 0 / 0.663 GB, free: 4.164 MB / 0.5417 GB