Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.349/4.349, allocations: 460.4 MB / 472.6 MB, free: 5.375 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.411e-05/3.416e-05, allocations: 4 kB / 0.5682 GB, free: 10.06 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2434/0.2435, allocations: 106.2 MB / 0.6719 GB, free: 15.64 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.749/7.992, allocations: 2.431 GB / 3.103 GB, free: 16.05 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003267/7.993, allocations: 86.44 kB / 3.103 GB, free: 16.01 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.456/11.45, allocations: 0.6327 GB / 3.735 GB, free: 77.77 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.835e-06/11.45, allocations: 4 kB / 3.735 GB, free: 77.77 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001841/11.45, allocations: 31.98 kB / 3.735 GB, free: 77.74 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.00639/11.46, allocations: 1.422 MB / 3.737 GB, free: 76.27 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/11.46, allocations: 8.031 kB / 3.737 GB, free: 76.26 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003054/11.46, allocations: 110.5 kB / 3.737 GB, free: 76.14 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004754/11.46, allocations: 0.541 MB / 3.737 GB, free: 75.6 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04002/11.5, allocations: 12.67 MB / 3.75 GB, free: 62.75 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002235/11.5, allocations: 313.2 kB / 3.75 GB, free: 62.44 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003854/11.5, allocations: 76 kB / 3.75 GB, free: 62.37 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00249/11.51, allocations: 0.9613 MB / 3.751 GB, free: 61.36 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.057e-05/11.51, allocations: 7.875 kB / 3.751 GB, free: 61.35 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001569/11.51, allocations: 35.95 kB / 3.751 GB, free: 61.32 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.883e-05/11.51, allocations: 29.31 kB / 3.751 GB, free: 61.29 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00227/11.51, allocations: 0.8499 MB / 3.752 GB, free: 60.44 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009751/11.52, allocations: 3.354 MB / 3.755 GB, free: 56.98 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001951/11.52, allocations: 0.5858 MB / 3.756 GB, free: 56.39 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008022/11.52, allocations: 377.9 kB / 3.756 GB, free: 56.02 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001061/11.52, allocations: 1.037 MB / 3.757 GB, free: 54.77 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001072/11.52, allocations: 486.7 kB / 3.758 GB, free: 54.27 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=59): time 3.566e-06/11.52, allocations: 0 / 3.758 GB, free: 54.27 MB / 0.8855 GB Notification: Performance of matching and sorting (n=59): time 0.002682/11.53, allocations: 0.8315 MB / 3.759 GB, free: 53.42 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.627e-05/11.53, allocations: 162.6 kB / 3.759 GB, free: 53.22 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001868/11.53, allocations: 0.9373 MB / 3.76 GB, free: 52.27 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002319/11.53, allocations: 45.7 kB / 3.76 GB, free: 52.22 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004289/11.53, allocations: 449.6 kB / 3.76 GB, free: 51.78 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.000255/11.53, allocations: 197.2 kB / 3.76 GB, free: 51.58 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.669e-05/11.53, allocations: 16.03 kB / 3.76 GB, free: 51.57 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.767e-05/11.53, allocations: 329.9 kB / 3.761 GB, free: 51.24 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008226/11.53, allocations: 309.2 kB / 3.761 GB, free: 50.94 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001041/11.53, allocations: 0.4911 MB / 3.761 GB, free: 50.37 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008776/11.53, allocations: 392.9 kB / 3.762 GB, free: 49.98 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.58e-06/11.53, allocations: 0 / 3.762 GB, free: 49.98 MB / 0.8855 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002619/11.53, allocations: 0.9397 MB / 3.763 GB, free: 49.03 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 6.047e-05/11.53, allocations: 37.7 kB / 3.763 GB, free: 48.98 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/11.53, allocations: 0 / 3.763 GB, free: 48.98 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.049e-05/11.53, allocations: 8 kB / 3.763 GB, free: 48.98 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001937/11.54, allocations: 216 kB / 3.763 GB, free: 48.77 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.079e-05/11.54, allocations: 15.94 kB / 3.763 GB, free: 48.75 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003293/11.54, allocations: 306.8 kB / 3.763 GB, free: 48.45 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003217/11.54, allocations: 47.97 kB / 3.763 GB, free: 48.4 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.000363/11.54, allocations: 182.7 kB / 3.763 GB, free: 48.21 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003618/11.54, allocations: 114.6 kB / 3.764 GB, free: 48.1 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002515/11.54, allocations: 0.9244 MB / 3.764 GB, free: 47.16 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-05/11.54, allocations: 12 kB / 3.764 GB, free: 47.14 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.11e-05/11.54, allocations: 3.938 kB / 3.764 GB, free: 47.14 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.347e-05/11.54, allocations: 3.984 kB / 3.765 GB, free: 47.14 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007055/11.55, allocations: 3.214 MB / 3.768 GB, free: 43.76 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.425e-05/11.55, allocations: 8.969 kB / 3.768 GB, free: 43.75 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001174/11.55, allocations: 131.8 kB / 3.768 GB, free: 43.62 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.996e-05/11.55, allocations: 12 kB / 3.768 GB, free: 43.61 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.936e-05/11.55, allocations: 31.94 kB / 3.768 GB, free: 43.58 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.327e-05/11.55, allocations: 11.94 kB / 3.768 GB, free: 43.57 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.071e-05/11.55, allocations: 11.94 kB / 3.768 GB, free: 43.56 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002663/11.56, allocations: 1.706 MB / 3.77 GB, free: 41.56 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008646/11.56, allocations: 339.4 kB / 3.77 GB, free: 41.21 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002985/11.56, allocations: 24 kB / 3.77 GB, free: 41.18 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002299/11.56, allocations: 131.9 kB / 3.77 GB, free: 41.05 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001772/11.56, allocations: 65.41 kB / 3.77 GB, free: 40.99 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001511/11.56, allocations: 39.97 kB / 3.77 GB, free: 40.95 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001511/11.56, allocations: 0.7438 MB / 3.771 GB, free: 40.2 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5.1e-07/11.56, allocations: 0 / 3.771 GB, free: 40.2 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002639/11.56, allocations: 431.7 kB / 3.771 GB, free: 39.78 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.008069/11.57, allocations: 6.019 MB / 3.777 GB, free: 33.5 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002872/11.57, allocations: 0.8062 MB / 3.778 GB, free: 32.68 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.755e-05/11.57, allocations: 0 / 3.778 GB, free: 32.68 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001345/11.58, allocations: 470.9 kB / 3.778 GB, free: 32.21 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006554/11.58, allocations: 0.5257 MB / 3.779 GB, free: 31.68 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008133/11.59, allocations: 1.824 MB / 3.781 GB, free: 29.72 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001019/11.59, allocations: 1.093 MB / 3.782 GB, free: 28.59 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.00299/11.59, allocations: 276 kB / 3.782 GB, free: 28.32 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001318/11.6, allocations: 367.3 kB / 3.782 GB, free: 27.96 MB / 0.8855 GB Notification: Performance of SimCode: time 1.573e-06/11.6, allocations: 3.938 kB / 3.782 GB, free: 27.96 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9195/12.52, allocations: 55.3 MB / 3.836 GB, free: 158.3 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002782/12.52, allocations: 216.1 kB / 3.837 GB, free: 158.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.295/17.81, allocations: 0 / 3.837 GB, free: 158.1 MB / 0.8855 GB