Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Ground.Boreholes.BaseClasses.Examples.BoreholeSegment,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_HeatExchangers_Ground_Boreholes_BaseClasses_Examples_BoreholeSegment",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.759/4.759, allocations: 404.1 MB / 411.3 MB, free: 424 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.604e-05/3.618e-05, allocations: 11.98 kB / 0.4946 GB, free: 1.281 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7021/0.7022, allocations: 92.68 MB / 0.5851 GB, free: 2.398 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.349/2.051, allocations: 406.3 MB / 0.9819 GB, free: 7.293 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005611/2.051, allocations: 125.8 kB / 0.982 GB, free: 7.219 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.887/5.939, allocations: 0.6101 GB / 1.592 GB, free: 89.35 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.154e-06/5.939, allocations: 4 kB / 1.592 GB, free: 89.35 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0002884/5.939, allocations: 42.98 kB / 1.592 GB, free: 89.31 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.009317/5.948, allocations: 2.068 MB / 1.594 GB, free: 87.2 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.189e-05/5.948, allocations: 16.02 kB / 1.594 GB, free: 87.18 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001553/5.95, allocations: 225.5 kB / 1.594 GB, free: 86.96 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05682/6.007, allocations: 13.13 MB / 1.607 GB, free: 73.81 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.788e-05/6.007, allocations: 36 kB / 1.607 GB, free: 73.78 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006549/6.008, allocations: 84 kB / 1.607 GB, free: 73.7 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004088/6.012, allocations: 0.8598 MB / 1.608 GB, free: 72.83 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004592/6.016, allocations: 1.137 MB / 1.609 GB, free: 71.6 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.694e-05/6.017, allocations: 15.83 kB / 1.609 GB, free: 71.59 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002418/6.017, allocations: 0 / 1.609 GB, free: 71.59 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.694e-05/6.017, allocations: 32 kB / 1.609 GB, free: 71.55 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.02833/6.045, allocations: 7.616 MB / 1.617 GB, free: 63.58 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005438/6.051, allocations: 1.047 MB / 1.618 GB, free: 62.51 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001394/6.052, allocations: 447.1 kB / 1.618 GB, free: 62.07 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005974/6.053, allocations: 276.1 kB / 1.618 GB, free: 61.75 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001251/6.054, allocations: 0.4899 MB / 1.619 GB, free: 61.21 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=78): time 4.338e-06/6.054, allocations: 0 / 1.619 GB, free: 61.21 MB / 0.7761 GB Notification: Performance of matching and sorting (n=86): time 0.01368/6.068, allocations: 3.174 MB / 1.622 GB, free: 57.97 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001106/6.068, allocations: 277.8 kB / 1.622 GB, free: 57.63 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002338/6.07, allocations: 1.031 MB / 1.623 GB, free: 56.58 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0004567/6.071, allocations: 29.7 kB / 1.623 GB, free: 56.55 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.001115/6.072, allocations: 0.7186 MB / 1.624 GB, free: 55.82 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006052/6.073, allocations: 303.5 kB / 1.624 GB, free: 55.52 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001813/6.073, allocations: 0 / 1.624 GB, free: 55.52 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001395/6.073, allocations: 361.9 kB / 1.625 GB, free: 55.16 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00165/6.075, allocations: 0.5311 MB / 1.625 GB, free: 54.62 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001999/6.077, allocations: 0.8859 MB / 1.626 GB, free: 53.59 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002779/6.079, allocations: 0.7111 MB / 1.627 GB, free: 52.89 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.318e-05/6.079, allocations: 0 / 1.627 GB, free: 52.89 MB / 0.7761 GB Notification: Performance of matching and sorting (n=184) (initialization): time 0.006599/6.086, allocations: 1.738 MB / 1.628 GB, free: 51.14 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006947/6.087, allocations: 3.195 MB / 1.632 GB, free: 47.71 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.367e-05/6.087, allocations: 12 kB / 1.632 GB, free: 47.7 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001554/6.088, allocations: 264.6 kB / 1.632 GB, free: 47.44 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004686/6.093, allocations: 319.5 kB / 1.632 GB, free: 47.12 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003274/6.097, allocations: 1.697 MB / 1.634 GB, free: 45.38 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005621/6.102, allocations: 111.6 kB / 1.634 GB, free: 45.27 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005729/6.103, allocations: 63.98 kB / 1.634 GB, free: 45.21 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/6.103, allocations: 0 / 1.634 GB, free: 45.21 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006248/6.109, allocations: 1.57 MB / 1.635 GB, free: 43.63 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.227e-05/6.109, allocations: 8.156 kB / 1.636 GB, free: 43.62 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001306/6.111, allocations: 269 kB / 1.636 GB, free: 43.36 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003105/6.114, allocations: 275.5 kB / 1.636 GB, free: 43.09 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002064/6.116, allocations: 1.087 MB / 1.637 GB, free: 41.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005154/6.121, allocations: 103.6 kB / 1.637 GB, free: 41.88 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004166/6.121, allocations: 67.98 kB / 1.637 GB, free: 41.81 MB / 0.7761 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: seg.pipFil.Rgg.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow rate from port_a -> port_b" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.seg.TBouCon.iSam,seg.TBouCon.iSam,$PRE.seg.TBouCon.UOld,seg.TBouCon.UOld,$PRE.seg.TBouCon.QAve_flow,seg.TBouCon.QAve_flow,$whenCondition1,$PRE.seg.TBouCon.port.T,seg.TBouCon.port.T) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 146 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 29} Notification: Performance of prepare postOptimizeDAE: time 0.0005571/6.122, allocations: 174.5 kB / 1.637 GB, free: 41.62 MB / 0.7761 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003375/6.125, allocations: 0.9637 MB / 1.638 GB, free: 40.65 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005329/6.126, allocations: 146.2 kB / 1.638 GB, free: 40.5 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00374/6.13, allocations: 1.027 MB / 1.639 GB, free: 39.46 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.223e-05/6.13, allocations: 8 kB / 1.64 GB, free: 39.45 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-05/6.13, allocations: 4 kB / 1.64 GB, free: 39.45 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002712/6.133, allocations: 0.9349 MB / 1.64 GB, free: 38.47 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008528/6.141, allocations: 3.031 MB / 1.643 GB, free: 35.36 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.067e-05/6.141, allocations: 4.25 kB / 1.643 GB, free: 35.36 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003215/6.144, allocations: 203.3 kB / 1.644 GB, free: 35.16 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005492/6.145, allocations: 114.5 kB / 1.644 GB, free: 35.04 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001666/6.145, allocations: 23.98 kB / 1.644 GB, free: 35.02 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006895/6.152, allocations: 5.825 MB / 1.649 GB, free: 28.73 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.646e-06/6.152, allocations: 4 kB / 1.649 GB, free: 28.73 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004556/6.157, allocations: 1.706 MB / 1.651 GB, free: 26.91 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001244/6.158, allocations: 347.1 kB / 1.651 GB, free: 26.55 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004738/6.159, allocations: 23.86 kB / 1.651 GB, free: 26.53 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003015/6.162, allocations: 83.69 kB / 1.652 GB, free: 26.45 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002575/6.162, allocations: 64.64 kB / 1.652 GB, free: 26.38 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000115/6.162, allocations: 31.98 kB / 1.652 GB, free: 26.35 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001697/6.164, allocations: 0.7405 MB / 1.652 GB, free: 25.61 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.092e-06/6.164, allocations: 0 / 1.652 GB, free: 25.61 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.007057/6.171, allocations: 1.074 MB / 1.653 GB, free: 24.54 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 14 (seg.pipFil.vol1.dynBal.medium.T,seg.pipFil.vol2.dynBal.medium.T,seg.pipFil.capFil1.T,seg.pipFil.capFil2.T,seg.soi.T[1],seg.soi.T[2],seg.soi.T[3],seg.soi.T[4],seg.soi.T[5],seg.soi.T[6],seg.soi.T[7],seg.soi.T[8],seg.soi.T[9],seg.TBouCon.U) * Number of discrete variables: 5 ($whenCondition1,seg.TBouCon.QAve_flow,seg.TBouCon.port.T,seg.TBouCon.UOld,seg.TBouCon.iSam) * Number of discrete states: 5 (seg.TBouCon.iSam,seg.TBouCon.port.T,seg.TBouCon.UOld,seg.TBouCon.QAve_flow,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 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,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00735/6.178, allocations: 3.505 MB / 1.657 GB, free: 21 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.008187/6.186, allocations: 2.223 MB / 1.659 GB, free: 18.75 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 9.398e-06/6.187, allocations: 0 / 1.659 GB, free: 18.75 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.003154/6.19, allocations: 0.8867 MB / 1.66 GB, free: 17.82 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006037/6.196, allocations: 0.6043 MB / 1.66 GB, free: 17.22 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01157/6.207, allocations: 3.38 MB / 1.664 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001116/6.209, allocations: 1.331 MB / 1.665 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.004145/6.213, allocations: 0.5075 MB / 1.666 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001649/6.214, allocations: 0.6086 MB / 1.666 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of SimCode: time 1.393e-06/6.214, allocations: 4 kB / 1.666 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.866/7.08, allocations: 48.94 MB / 1.714 GB, free: 119.4 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002852/7.081, allocations: 222.3 kB / 1.714 GB, free: 119.1 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 5.48/12.56, allocations: 0 / 1.714 GB, free: 119.1 MB / 0.7761 GB