Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.973/3.973, allocations: 432.7 MB / 444.9 MB, free: 15.71 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.83e-05/3.844e-05, allocations: 4.188 kB / 0.5338 GB, free: 12.23 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2181/0.2182, allocations: 98.73 MB / 0.6302 GB, free: 6.133 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.919/8.137, allocations: 2.426 GB / 3.056 GB, free: 189.3 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002602/8.137, allocations: 80.06 kB / 3.056 GB, free: 189.3 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.417/11.55, allocations: 0.631 GB / 3.687 GB, free: 158.4 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.525e-06/11.55, allocations: 0 / 3.687 GB, free: 158.4 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001657/11.55, allocations: 40 kB / 3.687 GB, free: 158.4 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.006481/11.56, allocations: 1.41 MB / 3.689 GB, free: 157.7 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/11.56, allocations: 13.12 kB / 3.689 GB, free: 157.7 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004083/11.56, allocations: 110.3 kB / 3.689 GB, free: 157.7 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004976/11.57, allocations: 0.5383 MB / 3.689 GB, free: 157.6 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04166/11.61, allocations: 12.53 MB / 3.701 GB, free: 156.7 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002247/11.61, allocations: 324.7 kB / 3.702 GB, free: 156.7 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004084/11.61, allocations: 69.34 kB / 3.702 GB, free: 156.7 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00274/11.61, allocations: 0.9454 MB / 3.703 GB, free: 156.5 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.083e-05/11.61, allocations: 0 / 3.703 GB, free: 156.5 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001705/11.61, allocations: 26.75 kB / 3.703 GB, free: 156.5 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.929e-05/11.61, allocations: 31.53 kB / 3.703 GB, free: 156.5 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002522/11.62, allocations: 0.8521 MB / 3.704 GB, free: 156.5 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01027/11.63, allocations: 3.244 MB / 3.707 GB, free: 155.5 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002033/11.63, allocations: 0.5761 MB / 3.707 GB, free: 155.5 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008532/11.63, allocations: 344.6 kB / 3.708 GB, free: 155.5 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001162/11.63, allocations: 1.028 MB / 3.709 GB, free: 154.4 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001258/11.63, allocations: 458.8 kB / 3.709 GB, free: 154.2 MB / 0.823 GB Notification: Performance of pre-optimization done (n=55): time 4.117e-06/11.63, allocations: 0 / 3.709 GB, free: 154.2 MB / 0.823 GB Notification: Performance of matching and sorting (n=55): time 0.00285/11.64, allocations: 0.7676 MB / 3.71 GB, free: 154 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.647e-05/11.64, allocations: 163.5 kB / 3.71 GB, free: 153.8 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002264/11.64, allocations: 0.96 MB / 3.711 GB, free: 153.4 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002952/11.64, allocations: 45.02 kB / 3.711 GB, free: 153.4 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004957/11.64, allocations: 442.7 kB / 3.711 GB, free: 153 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003071/11.64, allocations: 187.2 kB / 3.712 GB, free: 152.9 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/11.64, allocations: 11.88 kB / 3.712 GB, free: 152.9 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.897e-05/11.64, allocations: 334.9 kB / 3.712 GB, free: 152.5 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008651/11.64, allocations: 297.5 kB / 3.712 GB, free: 152.4 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001067/11.64, allocations: 496.1 kB / 3.713 GB, free: 152.1 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008617/11.64, allocations: 368.5 kB / 3.713 GB, free: 151.9 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/11.64, allocations: 2.875 kB / 3.713 GB, free: 151.9 MB / 0.823 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002379/11.64, allocations: 0.8853 MB / 3.714 GB, free: 151.5 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 5.064e-05/11.64, allocations: 40.14 kB / 3.714 GB, free: 151.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/11.64, allocations: 3.938 kB / 3.714 GB, free: 151.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.54e-05/11.64, allocations: 6.188 kB / 3.714 GB, free: 151.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002415/11.65, allocations: 216.6 kB / 3.714 GB, free: 151.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.426e-05/11.65, allocations: 7.734 kB / 3.714 GB, free: 151.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004473/11.65, allocations: 312.7 kB / 3.714 GB, free: 151.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003431/11.65, allocations: 44.3 kB / 3.715 GB, free: 151.4 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (68): * Single equations (assignments): 67 * 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.000504/11.65, allocations: 193.5 kB / 3.715 GB, free: 151.2 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004874/11.65, allocations: 108.9 kB / 3.715 GB, free: 151.2 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003535/11.66, allocations: 0.8397 MB / 3.716 GB, free: 150.8 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.319e-05/11.66, allocations: 7.094 kB / 3.716 GB, free: 150.8 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-05/11.66, allocations: 3.75 kB / 3.716 GB, free: 150.8 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.38e-05/11.66, allocations: 6.391 kB / 3.716 GB, free: 150.8 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009222/11.67, allocations: 2.906 MB / 3.719 GB, free: 149.2 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-05/11.67, allocations: 10.12 kB / 3.719 GB, free: 149.2 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001629/11.67, allocations: 118.8 kB / 3.719 GB, free: 149.2 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.002e-05/11.67, allocations: 9.906 kB / 3.719 GB, free: 149.2 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001659/11.67, allocations: 22.61 kB / 3.719 GB, free: 149.2 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.967e-05/11.67, allocations: 11.25 kB / 3.719 GB, free: 149.1 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.455e-05/11.67, allocations: 14.77 kB / 3.719 GB, free: 149.1 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003604/11.67, allocations: 1.522 MB / 3.72 GB, free: 147.8 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001436/11.67, allocations: 338.3 kB / 3.72 GB, free: 147.6 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000567/11.67, allocations: 25.83 kB / 3.721 GB, free: 147.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00346/11.68, allocations: 119.8 kB / 3.721 GB, free: 147.6 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00027/11.68, allocations: 60.33 kB / 3.721 GB, free: 147.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002344/11.68, allocations: 37.72 kB / 3.721 GB, free: 147.6 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.002344/11.68, allocations: 0.7785 MB / 3.721 GB, free: 147.2 MB / 0.823 GB Notification: Performance of sort global known variables: time 7.31e-07/11.68, allocations: 0 / 3.721 GB, free: 147.2 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.003467/11.68, allocations: 440.1 kB / 3.722 GB, free: 147.1 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * 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 (49): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * 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.008133/11.69, allocations: 5.616 MB / 3.727 GB, free: 142.8 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.002873/11.69, allocations: 0.762 MB / 3.728 GB, free: 142.4 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.682e-05/11.69, allocations: 3.656 kB / 3.728 GB, free: 142.4 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.00124/11.7, allocations: 423 kB / 3.729 GB, free: 142.2 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006466/11.7, allocations: 0.5144 MB / 3.729 GB, free: 142.1 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008208/11.71, allocations: 1.717 MB / 3.731 GB, free: 140.9 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000984/11.71, allocations: 1.088 MB / 3.732 GB, free: 140 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.002995/11.71, allocations: 267.1 kB / 3.732 GB, free: 139.8 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001379/11.72, allocations: 360.1 kB / 3.732 GB, free: 139.5 MB / 0.823 GB Notification: Performance of SimCode: time 1.743e-06/11.72, allocations: 0 / 3.732 GB, free: 139.5 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1288/11.85, allocations: 55 MB / 3.786 GB, free: 85.45 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002921/11.85, allocations: 224.3 kB / 3.786 GB, free: 85.22 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.851/16.7, allocations: 2.625 kB / 3.786 GB, free: 85.22 MB / 0.823 GB