Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Ground.Boreholes.BaseClasses.Examples.HexInternalElement,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_HeatExchangers_Ground_Boreholes_BaseClasses_Examples_HexInternalElement",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.872/3.872, allocations: 403.3 MB / 415.4 MB, free: 13 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.074e-05/4.092e-05, allocations: 7.938 kB / 0.4991 GB, free: 13.33 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6085/0.6086, allocations: 92.68 MB / 0.5896 GB, free: 14.37 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.201/1.81, allocations: 398 MB / 0.9783 GB, free: 8.02 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004155/1.81, allocations: 108.9 kB / 0.9784 GB, free: 7.957 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.902/4.713, allocations: 0.5225 GB / 1.501 GB, free: 172.8 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.984e-06/4.713, allocations: 0 / 1.501 GB, free: 172.8 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0001603/4.713, allocations: 35.86 kB / 1.501 GB, free: 172.8 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 236 * Number of variables: 236 Notification: Performance of Generate backend data structure: time 0.00411/4.717, allocations: 1.432 MB / 1.502 GB, free: 171.8 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.346e-05/4.717, allocations: 11.25 kB / 1.502 GB, free: 171.8 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000358/4.717, allocations: 139.8 kB / 1.503 GB, free: 171.6 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008924/4.718, allocations: 161.8 kB / 1.503 GB, free: 171.6 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03879/4.757, allocations: 12.44 MB / 1.515 GB, free: 161.9 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.934e-05/4.757, allocations: 77.94 kB / 1.515 GB, free: 161.9 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002014/4.757, allocations: 99.91 kB / 1.515 GB, free: 161.8 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003004/4.76, allocations: 1.014 MB / 1.516 GB, free: 160.7 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.909e-05/4.761, allocations: 3.984 kB / 1.516 GB, free: 160.7 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00013/4.761, allocations: 43.88 kB / 1.516 GB, free: 160.6 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.505e-05/4.761, allocations: 31.94 kB / 1.516 GB, free: 160.6 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002487/4.763, allocations: 0.6859 MB / 1.517 GB, free: 159.9 MB / 0.7761 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008417/4.772, allocations: 5.308 MB / 1.522 GB, free: 154.4 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001949/4.774, allocations: 0.5866 MB / 1.522 GB, free: 153.8 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000726/4.775, allocations: 329.8 kB / 1.523 GB, free: 153.5 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004927/4.775, allocations: 278.1 kB / 1.523 GB, free: 153.1 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.426e-05/4.775, allocations: 43.06 kB / 1.523 GB, free: 153.1 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=57): time 3.617e-06/4.775, allocations: 0 / 1.523 GB, free: 153.1 MB / 0.7761 GB Notification: Performance of matching and sorting (n=59): time 0.006169/4.781, allocations: 1.891 MB / 1.525 GB, free: 151.1 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.58e-05/4.781, allocations: 107.4 kB / 1.525 GB, free: 151 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001507/4.783, allocations: 0.7971 MB / 1.526 GB, free: 150.2 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0001475/4.783, allocations: 37.7 kB / 1.526 GB, free: 150.1 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004771/4.784, allocations: 0.5562 MB / 1.526 GB, free: 149.6 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002525/4.784, allocations: 206.4 kB / 1.527 GB, free: 149.4 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.493e-05/4.784, allocations: 16 kB / 1.527 GB, free: 149.4 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001195/4.784, allocations: 344 kB / 1.527 GB, free: 149 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005411/4.785, allocations: 209.8 kB / 1.527 GB, free: 148.8 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006761/4.785, allocations: 454 kB / 1.528 GB, free: 148.3 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000682/4.786, allocations: 302.9 kB / 1.528 GB, free: 148 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.253e-06/4.786, allocations: 3.953 kB / 1.528 GB, free: 148 MB / 0.7761 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002188/4.788, allocations: 0.8624 MB / 1.529 GB, free: 147.1 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005136/4.789, allocations: 2.18 MB / 1.531 GB, free: 144.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.94e-05/4.789, allocations: 8 kB / 1.531 GB, free: 144.8 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004345/4.789, allocations: 89.45 kB / 1.531 GB, free: 144.7 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003748/4.793, allocations: 257.5 kB / 1.531 GB, free: 144.4 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005385/4.798, allocations: 6.062 MB / 1.537 GB, free: 137.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001777/4.8, allocations: 77.64 kB / 1.537 GB, free: 137.8 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001737/4.8, allocations: 39.98 kB / 1.537 GB, free: 137.8 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/4.801, allocations: 0 / 1.537 GB, free: 137.8 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001873/4.802, allocations: 0.7322 MB / 1.538 GB, free: 137.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.654e-05/4.802, allocations: 11.94 kB / 1.538 GB, free: 137.1 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003143/4.803, allocations: 93.19 kB / 1.538 GB, free: 137 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001261/4.804, allocations: 171.8 kB / 1.538 GB, free: 136.8 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003489/4.808, allocations: 4.847 MB / 1.543 GB, free: 131.6 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001501/4.809, allocations: 70.83 kB / 1.543 GB, free: 131.5 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001022/4.809, allocations: 34.12 kB / 1.543 GB, free: 131.5 MB / 0.7761 GB Warning: Assuming fixed start value for the following 1 variables: hex.vol1.dynBal.m:VARIABLE(min = max(0.0, 0.0) start = 0.02513274122871835 * hex.vol1.rho_start unit = "kg" stateSelect=StateSelect.prefer protected = true ) "Mass of fluid" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003841/4.81, allocations: 160.1 kB / 1.543 GB, free: 131.3 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002945/4.81, allocations: 110.6 kB / 1.543 GB, free: 131.2 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002013/4.812, allocations: 0.7211 MB / 1.544 GB, free: 130.5 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.609e-05/4.812, allocations: 8 kB / 1.544 GB, free: 130.5 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/4.812, allocations: 4 kB / 1.544 GB, free: 130.4 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001305/4.813, allocations: 0.6564 MB / 1.545 GB, free: 129.8 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004465/4.818, allocations: 1.966 MB / 1.547 GB, free: 127.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.927e-06/4.818, allocations: 0 / 1.547 GB, free: 127.7 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003442/4.821, allocations: 218.5 kB / 1.547 GB, free: 127.5 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004687/4.822, allocations: 114 kB / 1.547 GB, free: 127.4 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.901e-05/4.822, allocations: 20 kB / 1.547 GB, free: 127.4 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007788/4.83, allocations: 7.483 MB / 1.554 GB, free: 119.2 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.914e-06/4.83, allocations: 7.984 kB / 1.554 GB, free: 119.2 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002482/4.832, allocations: 1.151 MB / 1.555 GB, free: 118 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007538/4.833, allocations: 251.8 kB / 1.556 GB, free: 117.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002046/4.833, allocations: 12 kB / 1.556 GB, free: 117.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001161/4.835, allocations: 60.73 kB / 1.556 GB, free: 117.7 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001793/4.835, allocations: 62.8 kB / 1.556 GB, free: 117.6 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.622e-05/4.835, allocations: 27.92 kB / 1.556 GB, free: 117.6 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001237/4.836, allocations: 0.6115 MB / 1.556 GB, free: 117 MB / 0.7761 GB Notification: Performance of sort global known variables: time 4.41e-07/4.836, allocations: 7.938 kB / 1.556 GB, free: 117 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.003348/4.839, allocations: 0.6637 MB / 1.557 GB, free: 116.3 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 5 (hex.vol1.dynBal.U,hex.vol1.dynBal.m,hex.vol2.ports[1].h_outflow,hex.capFil1.T,hex.capFil2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 2,(1,100.0%) 3} * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0043/4.844, allocations: 2.636 MB / 1.56 GB, free: 113.7 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.006091/4.85, allocations: 1.819 MB / 1.561 GB, free: 111.7 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 8.496e-06/4.85, allocations: 3.938 kB / 1.561 GB, free: 111.7 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.003387/4.853, allocations: 0.7258 MB / 1.562 GB, free: 111 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004668/4.858, allocations: 0.5523 MB / 1.563 GB, free: 110.4 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005596/4.864, allocations: 1.99 MB / 1.565 GB, free: 108.4 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007486/4.865, allocations: 1.134 MB / 1.566 GB, free: 107.3 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.002133/4.867, allocations: 314.5 kB / 1.566 GB, free: 107 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007237/4.868, allocations: 439.3 kB / 1.566 GB, free: 106.6 MB / 0.7761 GB Notification: Performance of SimCode: time 1.082e-06/4.868, allocations: 0 / 1.566 GB, free: 106.6 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1007/4.968, allocations: 38.67 MB / 1.604 GB, free: 68.87 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002283/4.969, allocations: 266.1 kB / 1.604 GB, free: 68.54 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.119/9.087, allocations: 0 / 1.604 GB, free: 68.54 MB / 0.7761 GB