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"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadModel(Buildings): time 4.358/4.358, allocations: 404 MB / 410.9 MB, free: 4.945 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2473/4.606, allocations: 95.03 MB / 0.4941 GB, free: 7.309 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5477/5.153, allocations: 92.69 MB / 0.5846 GB, free: 3.402 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.055/6.208, allocations: 406.3 MB / 0.9814 GB, free: 23.41 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004849/6.209, allocations: 111.6 kB / 0.9815 GB, free: 23.35 MB / 0.6823 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 3.439/9.648, allocations: 0.6156 GB / 1.597 GB, free: 112.7 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.12e-05/9.648, allocations: 12 kB / 1.597 GB, free: 112.7 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001815/9.65, allocations: 221.5 kB / 1.597 GB, free: 112.5 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0571/9.707, allocations: 13.27 MB / 1.61 GB, free: 99.4 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.107e-05/9.707, allocations: 36 kB / 1.61 GB, free: 99.36 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006799/9.708, allocations: 95.22 kB / 1.61 GB, free: 99.27 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003653/9.711, allocations: 0.8676 MB / 1.611 GB, free: 98.4 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00454/9.716, allocations: 1.149 MB / 1.612 GB, free: 97.17 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.459e-05/9.716, allocations: 4 kB / 1.612 GB, free: 97.17 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001958/9.716, allocations: 4 kB / 1.612 GB, free: 97.16 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.158e-05/9.716, allocations: 39.91 kB / 1.612 GB, free: 97.12 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01502/9.732, allocations: 7.305 MB / 1.62 GB, free: 89.53 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001509/9.733, allocations: 472.5 kB / 1.62 GB, free: 89.05 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001261/9.734, allocations: 451.5 kB / 1.62 GB, free: 88.61 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005876/9.735, allocations: 283 kB / 1.621 GB, free: 88.28 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001157/9.736, allocations: 0.4913 MB / 1.621 GB, free: 87.75 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=78): time 4.618e-06/9.736, allocations: 0 / 1.621 GB, free: 87.75 MB / 0.7761 GB Notification: Performance of matching and sorting (n=86): time 0.01912/9.755, allocations: 3.174 MB / 1.624 GB, free: 84.51 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001444/9.755, allocations: 269.7 kB / 1.625 GB, free: 84.18 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003857/9.759, allocations: 1.031 MB / 1.626 GB, free: 83.13 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0005937/9.76, allocations: 25.7 kB / 1.626 GB, free: 83.1 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.001159/9.761, allocations: 0.5311 MB / 1.626 GB, free: 82.56 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.001027/9.762, allocations: 314.7 kB / 1.626 GB, free: 82.25 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000306/9.763, allocations: 0 / 1.626 GB, free: 82.25 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002228/9.763, allocations: 357.9 kB / 1.627 GB, free: 81.89 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002922/9.766, allocations: 0.5428 MB / 1.627 GB, free: 81.35 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003392/9.769, allocations: 0.896 MB / 1.628 GB, free: 80.32 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004566/9.774, allocations: 0.7305 MB / 1.629 GB, free: 79.6 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.427e-05/9.774, allocations: 0 / 1.629 GB, free: 79.6 MB / 0.7761 GB Notification: Performance of matching and sorting (n=184) (initialization): time 0.009415/9.783, allocations: 1.784 MB / 1.631 GB, free: 77.81 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006654/9.784, allocations: 3.168 MB / 1.634 GB, free: 74.45 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.088e-05/9.784, allocations: 8 kB / 1.634 GB, free: 74.45 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001799/9.786, allocations: 272.1 kB / 1.634 GB, free: 74.18 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004661/9.791, allocations: 308.7 kB / 1.634 GB, free: 73.88 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003502/9.794, allocations: 1.727 MB / 1.636 GB, free: 72.11 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005714/9.8, allocations: 106.2 kB / 1.636 GB, free: 72.01 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003624/9.8, allocations: 67.72 kB / 1.636 GB, free: 71.95 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/9.8, allocations: 4 kB / 1.636 GB, free: 71.95 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005955/9.806, allocations: 1.596 MB / 1.638 GB, free: 70.35 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.354e-05/9.807, allocations: 12 kB / 1.638 GB, free: 70.34 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001325/9.808, allocations: 268.6 kB / 1.638 GB, free: 70.08 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003131/9.811, allocations: 263.6 kB / 1.638 GB, free: 69.82 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002277/9.813, allocations: 1.111 MB / 1.639 GB, free: 68.69 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00566/9.819, allocations: 97.61 kB / 1.639 GB, free: 68.6 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003328/9.819, allocations: 59.98 kB / 1.639 GB, free: 68.54 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.0006057/9.82, allocations: 199.1 kB / 1.64 GB, free: 68.35 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004513/9.821, allocations: 138.2 kB / 1.64 GB, free: 68.21 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003922/9.824, allocations: 1.03 MB / 1.641 GB, free: 67.18 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.469e-05/9.825, allocations: 19.64 kB / 1.641 GB, free: 67.16 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.574e-05/9.825, allocations: 4 kB / 1.641 GB, free: 67.16 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002964/9.828, allocations: 0.9261 MB / 1.642 GB, free: 66.2 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009099/9.837, allocations: 3.018 MB / 1.645 GB, free: 63.11 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.408e-05/9.837, allocations: 11.3 kB / 1.645 GB, free: 63.1 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003648/9.84, allocations: 199.7 kB / 1.645 GB, free: 62.9 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005702/9.841, allocations: 113.8 kB / 1.645 GB, free: 62.79 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001647/9.841, allocations: 27.92 kB / 1.645 GB, free: 62.76 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00754/9.849, allocations: 5.752 MB / 1.651 GB, free: 56.57 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.027e-05/9.849, allocations: 7.938 kB / 1.651 GB, free: 56.56 MB / 0.7761 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005034/9.854, allocations: 1.715 MB / 1.652 GB, free: 54.73 MB / 0.7761 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006265/9.86, allocations: 2.635 MB / 1.655 GB, free: 51.98 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001295/9.861, allocations: 347.2 kB / 1.655 GB, free: 51.62 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004199/9.862, allocations: 15.98 kB / 1.655 GB, free: 51.61 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003307/9.865, allocations: 71.77 kB / 1.655 GB, free: 51.54 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001753/9.865, allocations: 60.42 kB / 1.655 GB, free: 51.48 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001152/9.866, allocations: 31.98 kB / 1.655 GB, free: 51.45 MB / 0.7761 GB Notification: Performance of sort global known variables: time 0.001829/9.867, allocations: 0.7405 MB / 1.656 GB, free: 50.71 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.009473/9.877, allocations: 1.273 MB / 1.657 GB, free: 49.43 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.002488/9.879, allocations: 0.8002 MB / 1.658 GB, free: 48.73 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.009926/9.889, allocations: 2.242 MB / 1.66 GB, free: 46.46 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.033e-05/9.889, allocations: 0 / 1.66 GB, free: 46.46 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.004496/9.894, allocations: 0.8686 MB / 1.661 GB, free: 45.56 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006684/9.901, allocations: 0.5801 MB / 1.662 GB, free: 45 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01087/9.912, allocations: 3.087 MB / 1.665 GB, free: 41.95 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002228/9.914, allocations: 1.486 MB / 1.666 GB, free: 40.43 MB / 0.7761 GB Notification: Performance of SimCode: time 1.713e-06/9.914, allocations: 3.938 kB / 1.666 GB, free: 40.43 MB / 0.7761 GB