Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.349/4.349, allocations: 464.6 MB / 476.8 MB, free: 2.191 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.902e-05/4.906e-05, allocations: 4 kB / 0.5732 GB, free: 5.582 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2463/0.2464, allocations: 107.2 MB / 0.6779 GB, free: 10.23 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9459/1.192, allocations: 142.6 MB / 0.8171 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004014/1.193, allocations: 112 kB / 0.8172 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0898/1.283, allocations: 22.16 MB / 0.8388 GB, free: 5.086 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.903e-06/1.283, allocations: 0 / 0.8388 GB, free: 5.086 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.904e-05/1.283, allocations: 11.44 kB / 0.8389 GB, free: 5.086 MB / 0.6355 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.001459/1.284, allocations: 0.7575 MB / 0.8396 GB, free: 4.504 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/1.284, allocations: 11.53 kB / 0.8396 GB, free: 4.5 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001608/1.284, allocations: 91.2 kB / 0.8397 GB, free: 4.449 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001517/1.285, allocations: 73.03 kB / 0.8398 GB, free: 4.41 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007566/1.285, allocations: 435.1 kB / 0.8402 GB, free: 4.117 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.856e-05/1.285, allocations: 36.97 kB / 0.8402 GB, free: 4.113 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000102/1.286, allocations: 43.72 kB / 0.8403 GB, free: 4.113 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000961/1.287, allocations: 393.3 kB / 0.8406 GB, free: 4.043 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.795e-05/1.287, allocations: 3.953 kB / 0.8406 GB, free: 4.039 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.281e-05/1.287, allocations: 19.12 kB / 0.8407 GB, free: 4.039 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.609e-05/1.287, allocations: 27.39 kB / 0.8407 GB, free: 4.023 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008076/1.287, allocations: 323.8 kB / 0.841 GB, free: 4.008 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003051/1.291, allocations: 1.53 MB / 0.8425 GB, free: 2.922 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006217/1.291, allocations: 314 kB / 0.8428 GB, free: 2.719 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005841/1.292, allocations: 334.7 kB / 0.8431 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.803e-05/1.292, allocations: 4.688 kB / 0.8431 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/1.292, allocations: 34.56 kB / 0.8431 GB, free: 2.453 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=42): time 3.827e-06/1.292, allocations: 7.875 kB / 0.8431 GB, free: 2.445 MB / 0.6355 GB Notification: Performance of matching and sorting (n=42): time 0.0008451/1.293, allocations: 341.1 kB / 0.8435 GB, free: 2.195 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.344e-05/1.293, allocations: 67.34 kB / 0.8435 GB, free: 2.117 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007377/1.294, allocations: 428.8 kB / 0.8439 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.898e-05/1.294, allocations: 32.33 kB / 0.844 GB, free: 1.75 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001956/1.294, allocations: 272.6 kB / 0.8442 GB, free: 1.562 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001416/1.294, allocations: 147.8 kB / 0.8444 GB, free: 1.441 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.599e-05/1.294, allocations: 3.438 kB / 0.8444 GB, free: 1.441 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001082/1.294, allocations: 360.5 kB / 0.8447 GB, free: 1.102 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002619/1.294, allocations: 106.8 kB / 0.8448 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000253/1.295, allocations: 115 kB / 0.8449 GB, free: 0.9727 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002985/1.295, allocations: 124.3 kB / 0.8451 GB, free: 0.9023 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/1.295, allocations: 0 / 0.8451 GB, free: 0.9023 MB / 0.6355 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007736/1.296, allocations: 365.4 kB / 0.8454 GB, free: 0.6328 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/1.296, allocations: 4 kB / 0.8454 GB, free: 0.6289 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/1.296, allocations: 0 / 0.8454 GB, free: 0.6289 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.285e-05/1.296, allocations: 4 kB / 0.8454 GB, free: 0.625 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009952/1.297, allocations: 123.7 kB / 0.8455 GB, free: 0.5078 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.381e-05/1.297, allocations: 8 kB / 0.8455 GB, free: 0.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005242/1.297, allocations: 51.11 kB / 0.8456 GB, free: 464 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.04e-05/1.297, allocations: 11.25 kB / 0.8456 GB, free: 456 kB / 0.6355 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.0001181/1.298, allocations: 123.9 kB / 0.8457 GB, free: 336 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/1.298, allocations: 55.34 kB / 0.8458 GB, free: 280 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001834/1.298, allocations: 64.73 kB / 0.8458 GB, free: 248 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/1.298, allocations: 4 kB / 0.8458 GB, free: 244 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.864e-06/1.298, allocations: 0 / 0.8458 GB, free: 244 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/1.298, allocations: 0 / 0.8458 GB, free: 244 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009782/1.299, allocations: 0.5735 MB / 0.8464 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/1.299, allocations: 3.938 kB / 0.8464 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001095/1.3, allocations: 127.5 kB / 0.8465 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.568e-06/1.3, allocations: 4 kB / 0.8465 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.131e-05/1.3, allocations: 15.05 kB / 0.8465 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.484e-06/1.3, allocations: 4 kB / 0.8465 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/1.3, allocations: 0 / 0.8465 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001311/1.302, allocations: 0.6006 MB / 0.8471 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00025/1.302, allocations: 139.1 kB / 0.8473 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/1.302, allocations: 11.5 kB / 0.8473 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004843/1.302, allocations: 23.3 kB / 0.8473 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.188e-05/1.303, allocations: 23.53 kB / 0.8473 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.909e-05/1.303, allocations: 7.812 kB / 0.8473 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0006675/1.303, allocations: 345.7 kB / 0.8477 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.71e-07/1.303, allocations: 0 / 0.8477 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007418/1.304, allocations: 157.4 kB / 0.8478 GB, free: 14.59 MB / 0.6511 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/1.306, allocations: 1.314 MB / 0.8491 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000751/1.307, allocations: 300.1 kB / 0.8494 GB, free: 13.26 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.666e-06/1.307, allocations: 0 / 0.8494 GB, free: 13.26 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003649/1.307, allocations: 165.4 kB / 0.8495 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001059/1.308, allocations: 115.5 kB / 0.8496 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003096/1.311, allocations: 1.009 MB / 0.8506 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006595/1.312, allocations: 0.8933 MB / 0.8515 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003883/1.312, allocations: 52.36 kB / 0.8515 GB, free: 11.17 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003889/1.313, allocations: 201 kB / 0.8517 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of SimCode: time 1.473e-06/1.313, allocations: 0 / 0.8517 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04952/1.362, allocations: 12.49 MB / 0.8639 GB, free: 14.87 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003477/1.363, allocations: 235.4 kB / 0.8642 GB, free: 14.63 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.953/4.316, allocations: 0 / 0.8642 GB, free: 14.63 MB / 0.6667 GB