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.971/3.971, allocations: 403.3 MB / 415.4 MB, free: 12.88 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.072e-05/4.072e-05, allocations: 4 kB / 0.4991 GB, free: 13.27 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6516/0.6517, allocations: 92.68 MB / 0.5896 GB, free: 14.47 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.407/8.059, allocations: 2.401 GB / 2.99 GB, free: 150.8 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003646/8.06, allocations: 86.69 kB / 2.99 GB, free: 150.7 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.381/11.44, allocations: 0.6246 GB / 3.615 GB, free: 122.3 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.974e-06/11.44, allocations: 3.938 kB / 3.615 GB, free: 122.3 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0001499/11.44, allocations: 38.06 kB / 3.615 GB, free: 122.2 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.0076/11.45, allocations: 1.621 MB / 3.617 GB, free: 120.6 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.301e-05/11.45, allocations: 8.031 kB / 3.617 GB, free: 120.6 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000477/11.45, allocations: 175.9 kB / 3.617 GB, free: 120.4 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005132/11.45, allocations: 0.5497 MB / 3.617 GB, free: 119.8 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03849/11.49, allocations: 12.43 MB / 3.629 GB, free: 107.3 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002214/11.5, allocations: 337.9 kB / 3.63 GB, free: 107 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003782/11.5, allocations: 104 kB / 3.63 GB, free: 106.9 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003492/11.5, allocations: 1.514 MB / 3.631 GB, free: 105.2 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.093e-05/11.5, allocations: 3.938 kB / 3.631 GB, free: 105.2 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002431/11.5, allocations: 48 kB / 3.631 GB, free: 105.2 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.697e-05/11.5, allocations: 57.92 kB / 3.631 GB, free: 105.1 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004231/11.5, allocations: 1.191 MB / 3.633 GB, free: 103.9 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02027/11.52, allocations: 6.775 MB / 3.639 GB, free: 96.88 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00273/11.53, allocations: 0.7147 MB / 3.64 GB, free: 96.07 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001371/11.53, allocations: 449 kB / 3.64 GB, free: 95.61 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 9.421e-05/11.53, allocations: 12.42 kB / 3.64 GB, free: 95.59 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001977/11.53, allocations: 0.7668 MB / 3.641 GB, free: 94.69 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=63): time 7.053e-06/11.53, allocations: 0 / 3.641 GB, free: 94.69 MB / 0.7761 GB Notification: Performance of matching and sorting (n=63): time 0.003517/11.53, allocations: 0.8546 MB / 3.642 GB, free: 93.82 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003332/11.53, allocations: 1.09 MB / 3.643 GB, free: 92.47 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003586/11.54, allocations: 1.256 MB / 3.644 GB, free: 91.21 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0003644/11.54, allocations: 41.7 kB / 3.644 GB, free: 91.16 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009095/11.54, allocations: 0.636 MB / 3.645 GB, free: 90.52 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004386/11.54, allocations: 224.9 kB / 3.645 GB, free: 90.3 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001695/11.54, allocations: 16 kB / 3.645 GB, free: 90.29 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001365/11.54, allocations: 345.9 kB / 3.645 GB, free: 89.94 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001437/11.54, allocations: 385.9 kB / 3.646 GB, free: 89.57 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002135/11.54, allocations: 0.901 MB / 3.647 GB, free: 88.45 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00168/11.55, allocations: 0.524 MB / 3.647 GB, free: 87.92 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.486e-05/11.55, allocations: 4 kB / 3.647 GB, free: 87.92 MB / 0.7761 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.004783/11.55, allocations: 1.264 MB / 3.648 GB, free: 86.64 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 8.251e-05/11.55, allocations: 41.69 kB / 3.648 GB, free: 86.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.828e-05/11.55, allocations: 12.84 kB / 3.648 GB, free: 86.58 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.101e-05/11.55, allocations: 23.17 kB / 3.649 GB, free: 86.56 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003238/11.55, allocations: 299.6 kB / 3.649 GB, free: 86.27 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.782e-05/11.55, allocations: 27.92 kB / 3.649 GB, free: 86.24 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005791/11.56, allocations: 378.1 kB / 3.649 GB, free: 85.87 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004898/11.56, allocations: 75.91 kB / 3.649 GB, free: 85.8 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.0006459/11.56, allocations: 224.4 kB / 3.649 GB, free: 85.57 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006854/11.56, allocations: 162.2 kB / 3.65 GB, free: 85.41 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006512/11.56, allocations: 156.9 kB / 3.65 GB, free: 85.25 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.791e-05/11.56, allocations: 12 kB / 3.65 GB, free: 85.24 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.606e-05/11.56, allocations: 4 kB / 3.65 GB, free: 85.23 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.152e-05/11.56, allocations: 7.984 kB / 3.65 GB, free: 85.23 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01127/11.57, allocations: 4.985 MB / 3.655 GB, free: 80.03 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.313e-05/11.57, allocations: 12 kB / 3.655 GB, free: 80.02 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001408/11.58, allocations: 136.2 kB / 3.655 GB, free: 79.89 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.679e-05/11.58, allocations: 16 kB / 3.655 GB, free: 79.87 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000117/11.58, allocations: 27.98 kB / 3.655 GB, free: 79.84 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.956e-05/11.58, allocations: 19.92 kB / 3.655 GB, free: 79.82 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.387e-05/11.58, allocations: 15.94 kB / 3.655 GB, free: 79.81 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002674/11.58, allocations: 1.841 MB / 3.657 GB, free: 77.52 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001091/11.58, allocations: 397.3 kB / 3.657 GB, free: 77.11 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004579/11.58, allocations: 28 kB / 3.657 GB, free: 77.08 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003618/11.58, allocations: 151.8 kB / 3.657 GB, free: 76.93 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001936/11.58, allocations: 67.73 kB / 3.657 GB, free: 76.87 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000125/11.58, allocations: 43.95 kB / 3.657 GB, free: 76.82 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001968/11.59, allocations: 0.9519 MB / 3.658 GB, free: 75.87 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6.32e-07/11.59, allocations: 0 / 3.658 GB, free: 75.87 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.003123/11.59, allocations: 0.5039 MB / 3.659 GB, free: 75.37 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.005715/11.59, allocations: 6.57 MB / 3.665 GB, free: 68.47 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.002404/11.6, allocations: 0.9533 MB / 3.666 GB, free: 67.51 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.46e-05/11.6, allocations: 4.844 kB / 3.666 GB, free: 67.51 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.000877/11.6, allocations: 467.8 kB / 3.667 GB, free: 67.04 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006441/11.6, allocations: 0.7506 MB / 3.667 GB, free: 66.29 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006189/11.61, allocations: 2.078 MB / 3.669 GB, free: 64.04 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007819/11.61, allocations: 1.188 MB / 3.67 GB, free: 62.83 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.002657/11.61, allocations: 379 kB / 3.671 GB, free: 62.45 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009225/11.62, allocations: 467.3 kB / 3.671 GB, free: 62 MB / 0.7761 GB Notification: Performance of SimCode: time 2.214e-06/11.62, allocations: 0 / 3.671 GB, free: 62 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1352/11.75, allocations: 64.93 MB / 3.735 GB, free: 13.38 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002791/11.75, allocations: 212.4 kB / 3.735 GB, free: 13.16 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.533/17.28, allocations: 3.938 kB / 3.735 GB, free: 13.15 MB / 0.7917 GB