Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Ground.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_HeatExchangers_Ground_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition",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.743/4.743, allocations: 403.9 MB / 410.9 MB, free: 4.938 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2809/5.024, allocations: 95.03 MB / 0.4941 GB, free: 7.336 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5744/5.598, allocations: 92.68 MB / 0.5846 GB, free: 3.422 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2637/5.862, allocations: 124.9 MB / 0.7065 GB, free: 8.855 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004343/5.862, allocations: 99.92 kB / 0.7066 GB, free: 8.758 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.03529/5.897, allocations: 5.67 MB / 0.7122 GB, free: 2.984 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.545e-05/5.898, allocations: 16 kB / 0.7122 GB, free: 2.969 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001231/5.898, allocations: 31.61 kB / 0.7122 GB, free: 2.938 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008592/5.899, allocations: 305.5 kB / 0.7125 GB, free: 2.602 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.598e-05/5.899, allocations: 4 kB / 0.7125 GB, free: 2.598 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.754e-05/5.899, allocations: 12 kB / 0.7125 GB, free: 2.586 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003169/5.899, allocations: 60.22 kB / 0.7126 GB, free: 2.523 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000411/5.9, allocations: 163.3 kB / 0.7127 GB, free: 2.34 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.031e-05/5.9, allocations: 0 / 0.7127 GB, free: 2.34 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.636e-05/5.9, allocations: 4 kB / 0.7127 GB, free: 2.336 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.504e-05/5.9, allocations: 0 / 0.7127 GB, free: 2.336 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001797/5.901, allocations: 0.8532 MB / 0.7136 GB, free: 1.426 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003961/5.902, allocations: 127.8 kB / 0.7137 GB, free: 1.273 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002271/5.902, allocations: 74.64 kB / 0.7138 GB, free: 1.191 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.489e-05/5.902, allocations: 0 / 0.7138 GB, free: 1.191 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004194/5.903, allocations: 228.1 kB / 0.714 GB, free: 0.9297 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=23): time 2.665e-06/5.903, allocations: 3.938 kB / 0.714 GB, free: 0.9258 MB / 0.5886 GB Notification: Performance of matching and sorting (n=23): time 0.0009379/5.904, allocations: 197.4 kB / 0.7142 GB, free: 0.7266 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002103/5.904, allocations: 273 kB / 0.7144 GB, free: 408 kB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003561/5.904, allocations: 204.2 kB / 0.7146 GB, free: 196 kB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 6.794e-05/5.904, allocations: 29.7 kB / 0.7147 GB, free: 160 kB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 9.943e-05/5.904, allocations: 120.5 kB / 0.7148 GB, free: 36 kB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001701/5.905, allocations: 67.36 kB / 0.7148 GB, free: 15.96 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.296e-05/5.905, allocations: 0 / 0.7148 GB, free: 15.96 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001666/5.905, allocations: 338.8 kB / 0.7152 GB, free: 15.62 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002099/5.905, allocations: 44.81 kB / 0.7152 GB, free: 15.58 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003667/5.905, allocations: 230.8 kB / 0.7154 GB, free: 15.27 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00029/5.906, allocations: 83.91 kB / 0.7155 GB, free: 15.19 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-05/5.906, allocations: 4 kB / 0.7155 GB, free: 15.18 MB / 0.6042 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008899/5.907, allocations: 277.3 kB / 0.7158 GB, free: 14.91 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/5.907, allocations: 4 kB / 0.7158 GB, free: 14.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.714e-05/5.907, allocations: 8 kB / 0.7158 GB, free: 14.89 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.113e-05/5.907, allocations: 8 kB / 0.7158 GB, free: 14.89 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005423/5.907, allocations: 76.17 kB / 0.7159 GB, free: 14.81 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.034e-05/5.907, allocations: 15.84 kB / 0.7159 GB, free: 14.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005846/5.908, allocations: 35.73 kB / 0.7159 GB, free: 14.76 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-05/5.908, allocations: 20 kB / 0.7159 GB, free: 14.74 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 32 ($PRE.TBouPul.iSam,TBouPul.iSam,$PRE.TBouPul.port.T,TBouPul.port.T,$PRE.TBouPul.UOld,TBouPul.UOld,$PRE.TBouPul.QAve_flow,TBouPul.QAve_flow,$whenCondition4,$PRE.TBouSte.iSam,TBouSte.iSam,$PRE.TBouSte.port.T,TBouSte.port.T,$PRE.TBouSte.UOld,TBouSte.UOld,$PRE.TBouSte.QAve_flow,TBouSte.QAve_flow,$whenCondition2,$PRE.TBouCon.iSam,TBouCon.iSam,$PRE.TBouCon.port.T,TBouCon.port.T,$PRE.TBouCon.UOld,TBouCon.UOld,$PRE.TBouCon.QAve_flow,TBouCon.QAve_flow,$whenCondition1,$whenCondition3,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 4 * 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.0002893/5.908, allocations: 228.6 kB / 0.7162 GB, free: 14.49 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.374e-05/5.908, allocations: 27.77 kB / 0.7162 GB, free: 14.46 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.326e-05/5.909, allocations: 29.59 kB / 0.7162 GB, free: 14.44 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/5.909, allocations: 0 / 0.7162 GB, free: 14.44 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/5.909, allocations: 7.875 kB / 0.7162 GB, free: 14.43 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.357e-06/5.909, allocations: 4 kB / 0.7162 GB, free: 14.43 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004727/5.909, allocations: 249.9 kB / 0.7165 GB, free: 14.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/5.909, allocations: 11.98 kB / 0.7165 GB, free: 14.13 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002865/5.909, allocations: 27.98 kB / 0.7165 GB, free: 14.11 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.695e-06/5.909, allocations: 0 / 0.7165 GB, free: 14.11 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.959e-05/5.909, allocations: 8 kB / 0.7165 GB, free: 14.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.594e-06/5.909, allocations: 4 kB / 0.7165 GB, free: 14.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.349e-06/5.909, allocations: 0 / 0.7165 GB, free: 14.09 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001536/5.911, allocations: 373.6 kB / 0.7169 GB, free: 13.69 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001723/5.913, allocations: 0.8134 MB / 0.7177 GB, free: 12.84 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001773/5.913, allocations: 105.1 kB / 0.7178 GB, free: 12.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000119/5.913, allocations: 4 kB / 0.7178 GB, free: 12.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004293/5.914, allocations: 19.98 kB / 0.7178 GB, free: 12.7 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/5.914, allocations: 27.91 kB / 0.7178 GB, free: 12.67 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.405e-05/5.914, allocations: 19.98 kB / 0.7178 GB, free: 12.65 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.000237/5.914, allocations: 148.5 kB / 0.718 GB, free: 12.51 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001963/5.916, allocations: 91.84 kB / 0.7181 GB, free: 12.42 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (TBouPul.U,TBouSte.U,TBouCon.U) * Number of discrete variables: 18 ($whenCondition3,$whenCondition4,TBouPul.QAve_flow,TBouPul.port.T,TBouPul.UOld,TBouPul.iSam,pulse.T_start,pulse.count,$whenCondition2,TBouSte.QAve_flow,TBouSte.port.T,TBouSte.UOld,TBouSte.iSam,$whenCondition1,TBouCon.QAve_flow,TBouCon.port.T,TBouCon.UOld,TBouCon.iSam) * Number of discrete states: 16 (TBouCon.iSam,TBouCon.port.T,TBouCon.UOld,TBouCon.QAve_flow,$whenCondition1,TBouSte.iSam,TBouSte.port.T,TBouSte.UOld,TBouSte.QAve_flow,$whenCondition2,pulse.count,TBouPul.iSam,TBouPul.port.T,TBouPul.UOld,TBouPul.QAve_flow,$whenCondition4) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 2 * 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.0006678/5.917, allocations: 196.6 kB / 0.7182 GB, free: 12.22 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007977/5.918, allocations: 291.6 kB / 0.7185 GB, free: 11.91 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/5.918, allocations: 0.5 kB / 0.7185 GB, free: 11.91 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004814/5.918, allocations: 233 kB / 0.7187 GB, free: 11.67 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006532/5.919, allocations: 48.41 kB / 0.7188 GB, free: 11.62 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002622/5.921, allocations: 0.5951 MB / 0.7194 GB, free: 11 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005146/5.922, allocations: 0.7704 MB / 0.7201 GB, free: 10.2 MB / 0.6042 GB Notification: Performance of SimCode: time 1.463e-06/5.922, allocations: 0 / 0.7201 GB, free: 10.2 MB / 0.6042 GB