Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.167/4.167, allocations: 464.6 MB / 476.8 MB, free: 2.203 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.326e-05/4.332e-05, allocations: 4 kB / 0.5732 GB, free: 5.637 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2538/0.2539, allocations: 107.1 MB / 0.6778 GB, free: 10.3 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.941/8.195, allocations: 2.431 GB / 3.109 GB, free: 25.61 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003232/8.195, allocations: 83.02 kB / 3.109 GB, free: 25.57 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.556/11.75, allocations: 0.6323 GB / 3.741 GB, free: 78.89 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.285e-06/11.75, allocations: 4 kB / 3.741 GB, free: 78.88 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001829/11.75, allocations: 35.98 kB / 3.741 GB, free: 78.85 MB / 0.8855 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.0066/11.76, allocations: 1.413 MB / 3.743 GB, free: 77.38 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.363e-05/11.76, allocations: 8.031 kB / 3.743 GB, free: 77.38 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004416/11.76, allocations: 110.5 kB / 3.743 GB, free: 77.26 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005091/11.76, allocations: 0.541 MB / 3.743 GB, free: 76.71 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04273/11.81, allocations: 12.68 MB / 3.756 GB, free: 63.86 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0023/11.81, allocations: 317.2 kB / 3.756 GB, free: 63.55 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004313/11.81, allocations: 75.98 kB / 3.756 GB, free: 63.47 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002866/11.81, allocations: 0.9574 MB / 3.757 GB, free: 62.47 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.346e-05/11.81, allocations: 3.938 kB / 3.757 GB, free: 62.47 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001866/11.81, allocations: 28 kB / 3.757 GB, free: 62.44 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.029e-05/11.81, allocations: 37.23 kB / 3.757 GB, free: 62.41 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002785/11.82, allocations: 0.8499 MB / 3.758 GB, free: 61.55 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01122/11.83, allocations: 3.245 MB / 3.761 GB, free: 58.23 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002175/11.83, allocations: 0.5897 MB / 3.762 GB, free: 57.64 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009196/11.83, allocations: 377.3 kB / 3.762 GB, free: 57.27 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001174/11.83, allocations: 1.033 MB / 3.763 GB, free: 56.02 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001244/11.83, allocations: 494.6 kB / 3.764 GB, free: 55.5 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=59): time 4.99e-06/11.83, allocations: 0 / 3.764 GB, free: 55.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=59): time 0.003012/11.84, allocations: 0.8275 MB / 3.764 GB, free: 54.66 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.692e-05/11.84, allocations: 166.6 kB / 3.764 GB, free: 54.46 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002157/11.84, allocations: 0.9489 MB / 3.765 GB, free: 53.49 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002976/11.84, allocations: 41.7 kB / 3.765 GB, free: 53.45 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005347/11.84, allocations: 429.9 kB / 3.766 GB, free: 53.02 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003345/11.84, allocations: 201.1 kB / 3.766 GB, free: 52.82 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/11.84, allocations: 8 kB / 3.766 GB, free: 52.81 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.076e-05/11.84, allocations: 334 kB / 3.766 GB, free: 52.48 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008844/11.84, allocations: 309.2 kB / 3.767 GB, free: 52.18 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001097/11.84, allocations: 0.4989 MB / 3.767 GB, free: 51.61 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009774/11.84, allocations: 375.2 kB / 3.768 GB, free: 51.24 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.448e-06/11.84, allocations: 3.938 kB / 3.768 GB, free: 51.24 MB / 0.8855 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002862/11.85, allocations: 0.9478 MB / 3.768 GB, free: 50.27 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 6.562e-05/11.85, allocations: 45.73 kB / 3.769 GB, free: 50.22 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/11.85, allocations: 0 / 3.769 GB, free: 50.22 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.441e-05/11.85, allocations: 11.98 kB / 3.769 GB, free: 50.21 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00207/11.85, allocations: 211.7 kB / 3.769 GB, free: 50 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.638e-05/11.85, allocations: 8 kB / 3.769 GB, free: 50 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003453/11.85, allocations: 314.7 kB / 3.769 GB, free: 49.69 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003633/11.85, allocations: 51.97 kB / 3.769 GB, free: 49.64 MB / 0.8855 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 (69): * Single equations (assignments): 68 * 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.0003655/11.85, allocations: 184.5 kB / 3.769 GB, free: 49.45 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004221/11.85, allocations: 118.6 kB / 3.769 GB, free: 49.33 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002697/11.86, allocations: 0.9129 MB / 3.77 GB, free: 48.4 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.682e-05/11.86, allocations: 7.984 kB / 3.77 GB, free: 48.39 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.084e-05/11.86, allocations: 7.938 kB / 3.77 GB, free: 48.39 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.242e-05/11.86, allocations: 0 / 3.77 GB, free: 48.39 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007581/11.86, allocations: 3.22 MB / 3.773 GB, free: 45.01 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.728e-05/11.86, allocations: 8 kB / 3.773 GB, free: 45 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00127/11.86, allocations: 128 kB / 3.774 GB, free: 44.88 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-05/11.86, allocations: 16 kB / 3.774 GB, free: 44.86 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000166/11.86, allocations: 27.98 kB / 3.774 GB, free: 44.83 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.569e-05/11.86, allocations: 15.94 kB / 3.774 GB, free: 44.82 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.746e-06/11.86, allocations: 8 kB / 3.774 GB, free: 44.81 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002852/11.87, allocations: 1.723 MB / 3.775 GB, free: 42.79 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00107/11.87, allocations: 335.3 kB / 3.776 GB, free: 42.45 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000459/11.87, allocations: 27.98 kB / 3.776 GB, free: 42.42 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002596/11.87, allocations: 127.9 kB / 3.776 GB, free: 42.29 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002485/11.87, allocations: 67.72 kB / 3.776 GB, free: 42.23 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001921/11.87, allocations: 39.97 kB / 3.776 GB, free: 42.19 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001653/11.87, allocations: 0.736 MB / 3.777 GB, free: 41.44 MB / 0.8855 GB Notification: Performance of sort global known variables: time 8.61e-07/11.87, allocations: 0 / 3.777 GB, free: 41.44 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002739/11.88, allocations: 447.7 kB / 3.777 GB, free: 41 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * 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 (58): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * 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.00665/11.88, allocations: 6.008 MB / 3.783 GB, free: 34.73 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002363/11.89, allocations: 0.8095 MB / 3.784 GB, free: 33.91 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.485e-05/11.89, allocations: 4 kB / 3.784 GB, free: 33.91 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001104/11.89, allocations: 465.5 kB / 3.784 GB, free: 33.44 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00521/11.89, allocations: 0.527 MB / 3.785 GB, free: 32.91 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00684/11.9, allocations: 1.828 MB / 3.786 GB, free: 30.94 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007179/11.9, allocations: 1.1 MB / 3.787 GB, free: 29.81 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002236/11.9, allocations: 276 kB / 3.788 GB, free: 29.54 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009811/11.9, allocations: 367.3 kB / 3.788 GB, free: 29.18 MB / 0.8855 GB Notification: Performance of SimCode: time 1.723e-06/11.9, allocations: 3.938 kB / 3.788 GB, free: 29.18 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9156/12.82, allocations: 55.28 MB / 3.842 GB, free: 153.9 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002521/12.82, allocations: 221 kB / 3.842 GB, free: 153.7 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.348/18.17, allocations: 0 / 3.842 GB, free: 153.7 MB / 0.8855 GB