Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 5.003/5.003, allocations: 404.2 MB / 411.3 MB, free: 376 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.696e-05/2.688e-05, allocations: 4 kB / 0.4945 GB, free: 1.301 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.692/0.692, allocations: 92.7 MB / 0.585 GB, free: 2.352 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.274/9.966, allocations: 2.4 GB / 2.985 GB, free: 187.5 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003642/9.966, allocations: 79.7 kB / 2.985 GB, free: 187.5 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.988/13.95, allocations: 0.618 GB / 3.603 GB, free: 153.1 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.485e-06/13.95, allocations: 0 / 3.603 GB, free: 153.1 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0001785/13.95, allocations: 42.8 kB / 3.603 GB, free: 153.1 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.008294/13.96, allocations: 1.624 MB / 3.605 GB, free: 152.2 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.848e-05/13.96, allocations: 16.66 kB / 3.605 GB, free: 152.2 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006468/13.97, allocations: 0.5485 MB / 3.605 GB, free: 152.1 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04862/14.02, allocations: 12.4 MB / 3.617 GB, free: 149.4 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002922/14.02, allocations: 311.8 kB / 3.618 GB, free: 149.4 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005463/14.02, allocations: 62 kB / 3.618 GB, free: 149.4 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003958/14.03, allocations: 1.053 MB / 3.619 GB, free: 148.9 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004087/14.03, allocations: 1.367 MB / 3.62 GB, free: 148.2 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.122e-05/14.03, allocations: 3.938 kB / 3.62 GB, free: 148.2 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002787/14.03, allocations: 7.531 kB / 3.62 GB, free: 148.2 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000112/14.03, allocations: 51.95 kB / 3.62 GB, free: 148.2 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01729/14.05, allocations: 6.441 MB / 3.626 GB, free: 143.3 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001751/14.05, allocations: 0.6992 MB / 3.627 GB, free: 142.8 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009803/14.05, allocations: 424.1 kB / 3.628 GB, free: 142.6 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 9.239e-05/14.05, allocations: 16.98 kB / 3.628 GB, free: 142.5 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001508/14.05, allocations: 0.759 MB / 3.628 GB, free: 141.9 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=62): time 5.881e-06/14.05, allocations: 0 / 3.628 GB, free: 141.9 MB / 0.7761 GB Notification: Performance of matching and sorting (n=62): time 0.002754/14.05, allocations: 0.7788 MB / 3.629 GB, free: 141.3 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002885/14.06, allocations: 1.056 MB / 3.63 GB, free: 140 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001929/14.06, allocations: 0.8009 MB / 3.631 GB, free: 139.2 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0002804/14.06, allocations: 29.7 kB / 3.631 GB, free: 139.1 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007424/14.06, allocations: 0.6657 MB / 3.632 GB, free: 138.4 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003012/14.06, allocations: 213 kB / 3.632 GB, free: 138.2 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001365/14.06, allocations: 0 / 3.632 GB, free: 138.2 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001106/14.06, allocations: 353.7 kB / 3.632 GB, free: 137.9 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001089/14.06, allocations: 382.5 kB / 3.632 GB, free: 137.5 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001678/14.06, allocations: 0.9102 MB / 3.633 GB, free: 136.4 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001515/14.06, allocations: 0.5116 MB / 3.634 GB, free: 135.9 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.396e-05/14.06, allocations: 4 kB / 3.634 GB, free: 135.9 MB / 0.7761 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.003831/14.07, allocations: 1.186 MB / 3.635 GB, free: 134.7 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 6.79e-05/14.07, allocations: 41.7 kB / 3.635 GB, free: 134.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.183e-05/14.07, allocations: 12 kB / 3.635 GB, free: 134.7 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.521e-05/14.07, allocations: 20 kB / 3.635 GB, free: 134.6 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003152/14.07, allocations: 307.9 kB / 3.635 GB, free: 134.3 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.315e-05/14.07, allocations: 27.88 kB / 3.635 GB, free: 134.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004865/14.08, allocations: 322.7 kB / 3.636 GB, free: 134 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000286/14.08, allocations: 67.95 kB / 3.636 GB, free: 133.9 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * 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.0005185/14.08, allocations: 190.1 kB / 3.636 GB, free: 133.7 MB / 0.7761 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002502/14.08, allocations: 0.8049 MB / 3.637 GB, free: 132.9 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003446/14.08, allocations: 122.7 kB / 3.637 GB, free: 132.8 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004381/14.08, allocations: 122.1 kB / 3.637 GB, free: 132.7 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-05/14.08, allocations: 8 kB / 3.637 GB, free: 132.7 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.259e-05/14.08, allocations: 4 kB / 3.637 GB, free: 132.7 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.459e-05/14.08, allocations: 8 kB / 3.637 GB, free: 132.7 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008627/14.09, allocations: 4.72 MB / 3.642 GB, free: 127.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.6e-05/14.09, allocations: 8.969 kB / 3.642 GB, free: 127.8 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001619/14.09, allocations: 143.8 kB / 3.642 GB, free: 127.6 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.402e-05/14.09, allocations: 12 kB / 3.642 GB, free: 127.6 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001051/14.09, allocations: 28.05 kB / 3.642 GB, free: 127.6 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-05/14.09, allocations: 25.84 kB / 3.642 GB, free: 127.6 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.498e-05/14.09, allocations: 15.94 kB / 3.642 GB, free: 127.5 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002839/14.09, allocations: 1.648 MB / 3.643 GB, free: 125.5 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009814/14.09, allocations: 347.5 kB / 3.644 GB, free: 125.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000459/14.09, allocations: 19.98 kB / 3.644 GB, free: 125.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003221/14.1, allocations: 131.9 kB / 3.644 GB, free: 125 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001861/14.1, allocations: 71.72 kB / 3.644 GB, free: 124.9 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001402/14.1, allocations: 35.98 kB / 3.644 GB, free: 124.9 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001355/14.1, allocations: 0.5988 MB / 3.645 GB, free: 124.3 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7.42e-07/14.1, allocations: 0 / 3.645 GB, free: 124.3 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.003039/14.1, allocations: 492.3 kB / 3.645 GB, free: 123.8 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 41 * 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 (56): * Single equations (assignments): 55 * 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.006833/14.11, allocations: 6.505 MB / 3.651 GB, free: 117.2 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.003054/14.11, allocations: 0.9603 MB / 3.652 GB, free: 116.2 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.722e-05/14.11, allocations: 192 / 3.652 GB, free: 116.2 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001184/14.11, allocations: 466.8 kB / 3.653 GB, free: 115.7 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004775/14.12, allocations: 415.1 kB / 3.653 GB, free: 115.3 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007511/14.13, allocations: 1.947 MB / 3.655 GB, free: 113.2 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00103/14.13, allocations: 1.182 MB / 3.656 GB, free: 112 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.003241/14.13, allocations: 330.3 kB / 3.657 GB, free: 111.7 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001306/14.13, allocations: 443.2 kB / 3.657 GB, free: 111.3 MB / 0.7761 GB Notification: Performance of SimCode: time 1.483e-06/14.13, allocations: 0 / 3.657 GB, free: 111.3 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1412/14.27, allocations: 38.97 MB / 3.695 GB, free: 72.96 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002379/14.27, allocations: 201.1 kB / 3.695 GB, free: 72.69 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 5.705/19.98, allocations: 4 kB / 3.695 GB, free: 72.69 MB / 0.7761 GB