Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.744/3.744, allocations: 403.3 MB / 415.4 MB, free: 12.95 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.327e-05/4.329e-05, allocations: 7.984 kB / 0.4991 GB, free: 13.29 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5903/0.5903, allocations: 92.68 MB / 0.5896 GB, free: 14.48 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.353/7.943, allocations: 2.401 GB / 2.99 GB, free: 151 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002952/7.943, allocations: 83.39 kB / 2.99 GB, free: 151 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.187/11.13, allocations: 0.6246 GB / 3.615 GB, free: 122.6 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.823e-06/11.13, allocations: 4 kB / 3.615 GB, free: 122.6 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0001544/11.13, allocations: 38.61 kB / 3.615 GB, free: 122.6 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: 278 * Number of variables: 278 Notification: Performance of Generate backend data structure: time 0.007116/11.14, allocations: 1.617 MB / 3.617 GB, free: 120.9 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/11.14, allocations: 8.031 kB / 3.617 GB, free: 120.9 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005151/11.14, allocations: 172.9 kB / 3.617 GB, free: 120.7 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005057/11.14, allocations: 0.5497 MB / 3.617 GB, free: 120.2 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03789/11.18, allocations: 12.44 MB / 3.629 GB, free: 107.6 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002192/11.18, allocations: 345.8 kB / 3.63 GB, free: 107.3 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002539/11.18, allocations: 104 kB / 3.63 GB, free: 107.2 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003307/11.19, allocations: 1.518 MB / 3.631 GB, free: 105.5 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.722e-05/11.19, allocations: 3.938 kB / 3.631 GB, free: 105.5 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002272/11.19, allocations: 59.98 kB / 3.631 GB, free: 105.5 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.334e-05/11.19, allocations: 53.98 kB / 3.631 GB, free: 105.4 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002901/11.19, allocations: 1.21 MB / 3.633 GB, free: 104.2 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0137/11.2, allocations: 6.775 MB / 3.639 GB, free: 97.18 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001879/11.21, allocations: 0.7289 MB / 3.64 GB, free: 96.36 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001039/11.21, allocations: 441.8 kB / 3.64 GB, free: 95.9 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 9.293e-05/11.21, allocations: 20.42 kB / 3.64 GB, free: 95.88 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001958/11.21, allocations: 0.7672 MB / 3.641 GB, free: 94.97 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=63): time 6.152e-06/11.21, allocations: 0 / 3.641 GB, free: 94.97 MB / 0.7761 GB Notification: Performance of matching and sorting (n=63): time 0.003474/11.21, allocations: 0.868 MB / 3.642 GB, free: 94.09 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003485/11.21, allocations: 1.09 MB / 3.643 GB, free: 92.74 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003883/11.22, allocations: 1.268 MB / 3.644 GB, free: 91.46 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0003792/11.22, allocations: 41.7 kB / 3.644 GB, free: 91.42 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009222/11.22, allocations: 0.6283 MB / 3.645 GB, free: 90.79 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003962/11.22, allocations: 216.9 kB / 3.645 GB, free: 90.57 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000155/11.22, allocations: 20 kB / 3.645 GB, free: 90.55 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001329/11.22, allocations: 345.9 kB / 3.645 GB, free: 90.21 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001495/11.22, allocations: 381.9 kB / 3.646 GB, free: 89.84 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002226/11.22, allocations: 0.9147 MB / 3.647 GB, free: 88.71 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001462/11.22, allocations: 0.5165 MB / 3.647 GB, free: 88.19 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.117e-05/11.22, allocations: 7.984 kB / 3.647 GB, free: 88.18 MB / 0.7761 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.003129/11.23, allocations: 1.296 MB / 3.649 GB, free: 86.88 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 5.601e-05/11.23, allocations: 41.69 kB / 3.649 GB, free: 86.83 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.827e-05/11.23, allocations: 12.06 kB / 3.649 GB, free: 86.82 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.76e-05/11.23, allocations: 20 kB / 3.649 GB, free: 86.8 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00244/11.23, allocations: 300 kB / 3.649 GB, free: 86.5 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.37e-05/11.23, allocations: 23.92 kB / 3.649 GB, free: 86.48 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004388/11.24, allocations: 390 kB / 3.649 GB, free: 86.1 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00038/11.24, allocations: 70.59 kB / 3.649 GB, free: 86.03 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,$PRE.QSen_flow.nextEvent,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (116): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 1 * 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.0004673/11.24, allocations: 225 kB / 3.65 GB, free: 85.8 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005275/11.24, allocations: 170.2 kB / 3.65 GB, free: 85.64 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004986/11.24, allocations: 149 kB / 3.65 GB, free: 85.48 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.239e-05/11.24, allocations: 12 kB / 3.65 GB, free: 85.47 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.169e-05/11.24, allocations: 4 kB / 3.65 GB, free: 85.47 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.396e-05/11.24, allocations: 11.98 kB / 3.65 GB, free: 85.46 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007718/11.24, allocations: 5.006 MB / 3.655 GB, free: 80.24 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.315e-05/11.24, allocations: 12 kB / 3.655 GB, free: 80.23 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001201/11.25, allocations: 135.7 kB / 3.655 GB, free: 80.1 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.383e-05/11.25, allocations: 20.11 kB / 3.655 GB, free: 80.08 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.531e-05/11.25, allocations: 24 kB / 3.655 GB, free: 80.05 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.626e-05/11.25, allocations: 19.92 kB / 3.655 GB, free: 80.04 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.129e-05/11.25, allocations: 15.94 kB / 3.655 GB, free: 80.02 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002505/11.25, allocations: 1.833 MB / 3.657 GB, free: 77.73 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009961/11.25, allocations: 405.2 kB / 3.657 GB, free: 77.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000411/11.25, allocations: 28 kB / 3.657 GB, free: 77.29 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002698/11.25, allocations: 147.8 kB / 3.657 GB, free: 77.14 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001662/11.25, allocations: 71.72 kB / 3.657 GB, free: 77.07 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001143/11.25, allocations: 39.98 kB / 3.657 GB, free: 77.04 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.002057/11.26, allocations: 0.9519 MB / 3.658 GB, free: 76.08 MB / 0.7761 GB Notification: Performance of sort global known variables: time 2.355e-06/11.26, allocations: 0 / 3.658 GB, free: 76.08 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.002961/11.26, allocations: 0.5116 MB / 3.659 GB, free: 75.57 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.005966/11.26, allocations: 6.508 MB / 3.665 GB, free: 68.68 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.002539/11.27, allocations: 0.9885 MB / 3.666 GB, free: 67.68 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.612e-05/11.27, allocations: 3.656 kB / 3.666 GB, free: 67.68 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0009323/11.27, allocations: 477.9 kB / 3.667 GB, free: 67.21 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00633/11.27, allocations: 0.7428 MB / 3.667 GB, free: 66.47 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005909/11.28, allocations: 2.097 MB / 3.669 GB, free: 64.2 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007818/11.28, allocations: 1.188 MB / 3.671 GB, free: 62.99 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.002649/11.28, allocations: 379.1 kB / 3.671 GB, free: 62.61 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009543/11.28, allocations: 471.3 kB / 3.671 GB, free: 62.15 MB / 0.7761 GB Notification: Performance of SimCode: time 1.152e-06/11.28, allocations: 4 kB / 3.671 GB, free: 62.15 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1385/11.42, allocations: 64.88 MB / 3.735 GB, free: 13.49 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000313/11.42, allocations: 216.4 kB / 3.735 GB, free: 13.27 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.117/16.54, allocations: 3.938 kB / 3.735 GB, free: 13.27 MB / 0.7917 GB