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"}) Notification: Performance of loadModel(Buildings): time 4.673/4.673, allocations: 404.1 MB / 411.3 MB, free: 360 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.504e-05/3.51e-05, allocations: 4 kB / 0.4946 GB, free: 1.281 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7065/0.7066, allocations: 92.69 MB / 0.5851 GB, free: 2.301 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2554/0.962, allocations: 124.9 MB / 0.7071 GB, free: 5.219 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004225/0.9625, allocations: 103.9 kB / 0.7072 GB, free: 5.117 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.02977/0.9923, allocations: 5.284 MB / 0.7123 GB, free: 15.8 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.844e-06/0.9923, allocations: 4 kB / 0.7123 GB, free: 15.79 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.423e-05/0.9923, allocations: 4 kB / 0.7123 GB, free: 15.79 MB / 0.6042 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.001279/0.9936, allocations: 0.5906 MB / 0.7129 GB, free: 15.13 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.539e-05/0.9937, allocations: 8.031 kB / 0.7129 GB, free: 15.12 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001469/0.9939, allocations: 43.5 kB / 0.713 GB, free: 15.08 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007219/0.9946, allocations: 293.5 kB / 0.7132 GB, free: 14.75 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.764e-05/0.9946, allocations: 4 kB / 0.7132 GB, free: 14.75 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.802e-05/0.9947, allocations: 16 kB / 0.7133 GB, free: 14.73 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003034/0.9951, allocations: 60.16 kB / 0.7133 GB, free: 14.67 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004168/0.9955, allocations: 155.5 kB / 0.7135 GB, free: 14.5 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.9955, allocations: 0 / 0.7135 GB, free: 14.5 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.351e-05/0.9956, allocations: 3.953 kB / 0.7135 GB, free: 14.49 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/0.9956, allocations: 4 kB / 0.7135 GB, free: 14.49 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002024/0.9976, allocations: 0.8532 MB / 0.7143 GB, free: 13.58 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000335/0.998, allocations: 131.9 kB / 0.7144 GB, free: 13.42 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002047/0.9982, allocations: 74.64 kB / 0.7145 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.192e-05/0.9983, allocations: 7.938 kB / 0.7145 GB, free: 13.33 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005547/0.9988, allocations: 251.5 kB / 0.7147 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=23): time 3.306e-06/0.9989, allocations: 0 / 0.7147 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of matching and sorting (n=23): time 0.001187/1, allocations: 253.6 kB / 0.715 GB, free: 12.79 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002121/1, allocations: 281 kB / 0.7153 GB, free: 12.46 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003648/1.001, allocations: 196.4 kB / 0.7154 GB, free: 12.26 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.74e-05/1.001, allocations: 37.69 kB / 0.7155 GB, free: 12.22 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001644/1.001, allocations: 140.7 kB / 0.7156 GB, free: 12.08 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/1.001, allocations: 63.19 kB / 0.7157 GB, free: 12.02 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.577e-05/1.001, allocations: 4 kB / 0.7157 GB, free: 12.01 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0002119/1.001, allocations: 342.8 kB / 0.716 GB, free: 11.67 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002004/1.002, allocations: 48.81 kB / 0.7161 GB, free: 11.62 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003783/1.002, allocations: 227.7 kB / 0.7163 GB, free: 11.31 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002893/1.002, allocations: 83.89 kB / 0.7163 GB, free: 11.23 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/1.002, allocations: 0 / 0.7163 GB, free: 11.23 MB / 0.6042 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009535/1.003, allocations: 293.5 kB / 0.7166 GB, free: 10.94 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.000123/1.003, allocations: 114.8 kB / 0.7167 GB, free: 10.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.234e-05/1.003, allocations: 8 kB / 0.7167 GB, free: 10.79 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.473e-05/1.003, allocations: 8 kB / 0.7168 GB, free: 10.79 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005357/1.004, allocations: 75.78 kB / 0.7168 GB, free: 10.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.201e-05/1.004, allocations: 11.98 kB / 0.7168 GB, free: 10.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005107/1.005, allocations: 39.67 kB / 0.7169 GB, free: 10.66 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.145e-05/1.005, allocations: 24.09 kB / 0.7169 GB, free: 10.64 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.0003333/1.005, allocations: 228.9 kB / 0.7171 GB, free: 10.39 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001234/1.006, allocations: 305.3 kB / 0.7174 GB, free: 10.09 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.46e-05/1.006, allocations: 27.72 kB / 0.7174 GB, free: 10.06 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001076/1.006, allocations: 25.83 kB / 0.7175 GB, free: 10.04 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/1.007, allocations: 0 / 0.7175 GB, free: 10.04 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/1.007, allocations: 3.984 kB / 0.7175 GB, free: 10.03 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.097e-05/1.007, allocations: 8 kB / 0.7175 GB, free: 10.02 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000523/1.007, allocations: 241.9 kB / 0.7177 GB, free: 9.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/1.007, allocations: 4 kB / 0.7177 GB, free: 9.746 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002664/1.007, allocations: 23.97 kB / 0.7177 GB, free: 9.723 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.356e-06/1.007, allocations: 0 / 0.7177 GB, free: 9.723 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.272e-05/1.007, allocations: 12.08 kB / 0.7177 GB, free: 9.711 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/1.007, allocations: 0 / 0.7177 GB, free: 9.711 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.354e-06/1.008, allocations: 4 kB / 0.7177 GB, free: 9.707 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001519/1.009, allocations: 450.9 kB / 0.7182 GB, free: 9.23 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001524/1.009, allocations: 100.8 kB / 0.7183 GB, free: 9.113 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001209/1.009, allocations: 15.98 kB / 0.7183 GB, free: 9.098 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003864/1.01, allocations: 23.98 kB / 0.7183 GB, free: 9.074 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001441/1.01, allocations: 19.97 kB / 0.7183 GB, free: 9.055 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.547e-05/1.01, allocations: 8 kB / 0.7183 GB, free: 9.047 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002498/1.01, allocations: 152.5 kB / 0.7185 GB, free: 8.898 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.31e-07/1.01, allocations: 0 / 0.7185 GB, free: 8.898 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0008079/1.011, allocations: 95.83 kB / 0.7186 GB, free: 8.805 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.002401/1.013, allocations: 1.21 MB / 0.7198 GB, free: 7.562 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000816/1.014, allocations: 400.8 kB / 0.7201 GB, free: 7.125 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/1.014, allocations: 3.938 kB / 0.7201 GB, free: 7.121 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004929/1.015, allocations: 306.5 kB / 0.7204 GB, free: 6.785 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006231/1.016, allocations: 60.7 kB / 0.7205 GB, free: 6.727 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002987/1.019, allocations: 0.6778 MB / 0.7212 GB, free: 6.004 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004971/1.019, allocations: 0.7446 MB / 0.7219 GB, free: 5.23 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002844/1.019, allocations: 42.05 kB / 0.7219 GB, free: 5.188 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001689/1.02, allocations: 67.41 kB / 0.722 GB, free: 5.121 MB / 0.6042 GB Notification: Performance of SimCode: time 1.904e-06/1.02, allocations: 0 / 0.722 GB, free: 5.121 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05396/1.074, allocations: 5.582 MB / 0.7274 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0004163/1.074, allocations: 205.3 kB / 0.7276 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.306/4.38, allocations: 5.125 kB / 0.7276 GB, free: 15.31 MB / 0.6198 GB