Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildingSystems): time 3.229/3.229, allocations: 343.8 MB / 355.9 MB, free: 9.383 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.394e-05/4.397e-05, allocations: 4 kB / 436.6 MB, free: 2.383 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1998/0.1999, allocations: 77.73 MB / 0.5023 GB, free: 4.492 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.007/8.207, allocations: 2.406 GB / 2.909 GB, free: 191.6 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000324/8.207, allocations: 90.67 kB / 2.909 GB, free: 191.6 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 3.313/11.52, allocations: 0.6308 GB / 3.54 GB, free: 77.57 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.244e-06/11.52, allocations: 4 kB / 3.54 GB, free: 77.57 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001739/11.52, allocations: 39.97 kB / 3.54 GB, free: 77.53 MB / 0.6667 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.006762/11.53, allocations: 1.413 MB / 3.541 GB, free: 76.07 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.641e-05/11.53, allocations: 8.031 kB / 3.541 GB, free: 76.06 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000411/11.53, allocations: 110.5 kB / 3.541 GB, free: 75.95 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005127/11.53, allocations: 0.5423 MB / 3.542 GB, free: 75.4 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04325/11.58, allocations: 12.56 MB / 3.554 GB, free: 62.66 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002322/11.58, allocations: 317.2 kB / 3.554 GB, free: 62.35 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004854/11.58, allocations: 72 kB / 3.554 GB, free: 62.28 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003524/11.58, allocations: 0.9651 MB / 3.555 GB, free: 61.28 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.781e-05/11.58, allocations: 0 / 3.555 GB, free: 61.28 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003307/11.58, allocations: 28 kB / 3.555 GB, free: 61.25 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001035/11.58, allocations: 33.3 kB / 3.555 GB, free: 61.21 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003143/11.59, allocations: 0.8499 MB / 3.556 GB, free: 60.37 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01817/11.6, allocations: 3.362 MB / 3.559 GB, free: 56.91 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002239/11.61, allocations: 0.5897 MB / 3.56 GB, free: 56.31 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009274/11.61, allocations: 375 kB / 3.56 GB, free: 55.94 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001196/11.61, allocations: 1.033 MB / 3.561 GB, free: 54.69 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001362/11.61, allocations: 486.7 kB / 3.562 GB, free: 54.18 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=59): time 4.729e-06/11.61, allocations: 0 / 3.562 GB, free: 54.18 MB / 0.6667 GB Notification: Performance of matching and sorting (n=59): time 0.003033/11.61, allocations: 0.8354 MB / 3.563 GB, free: 53.33 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.601e-05/11.61, allocations: 166.5 kB / 3.563 GB, free: 53.13 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002167/11.62, allocations: 0.9489 MB / 3.564 GB, free: 52.17 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0003003/11.62, allocations: 41.7 kB / 3.564 GB, free: 52.12 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004967/11.62, allocations: 429.8 kB / 3.564 GB, free: 51.7 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003406/11.62, allocations: 201.2 kB / 3.564 GB, free: 51.5 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001114/11.62, allocations: 12 kB / 3.564 GB, free: 51.48 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 8.91e-05/11.62, allocations: 322 kB / 3.565 GB, free: 51.16 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009032/11.62, allocations: 309.2 kB / 3.565 GB, free: 50.86 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001124/11.62, allocations: 0.495 MB / 3.565 GB, free: 50.29 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001007/11.62, allocations: 396 kB / 3.566 GB, free: 49.9 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.238e-06/11.62, allocations: 0 / 3.566 GB, free: 49.9 MB / 0.6667 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002998/11.62, allocations: 0.9397 MB / 3.567 GB, free: 48.95 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 7.169e-05/11.62, allocations: 41.98 kB / 3.567 GB, free: 48.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.697e-05/11.62, allocations: 8 kB / 3.567 GB, free: 48.89 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.872e-05/11.62, allocations: 4 kB / 3.567 GB, free: 48.89 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002056/11.63, allocations: 219.7 kB / 3.567 GB, free: 48.67 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.688e-05/11.63, allocations: 15.86 kB / 3.567 GB, free: 48.66 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003465/11.63, allocations: 306.8 kB / 3.567 GB, free: 48.36 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003621/11.63, allocations: 43.97 kB / 3.567 GB, free: 48.31 MB / 0.6667 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.0003903/11.63, allocations: 186.2 kB / 3.567 GB, free: 48.12 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004171/11.63, allocations: 114.6 kB / 3.568 GB, free: 48.01 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00263/11.63, allocations: 0.9245 MB / 3.569 GB, free: 47.07 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.052e-05/11.63, allocations: 11.98 kB / 3.569 GB, free: 47.06 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/11.63, allocations: 0 / 3.569 GB, free: 47.06 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.298e-05/11.63, allocations: 0 / 3.569 GB, free: 47.06 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007808/11.64, allocations: 3.225 MB / 3.572 GB, free: 43.67 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.821e-05/11.64, allocations: 8 kB / 3.572 GB, free: 43.66 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001282/11.64, allocations: 123.8 kB / 3.572 GB, free: 43.54 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.342e-05/11.64, allocations: 16.19 kB / 3.572 GB, free: 43.53 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000154/11.64, allocations: 27.98 kB / 3.572 GB, free: 43.5 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.52e-05/11.64, allocations: 11.94 kB / 3.572 GB, free: 43.49 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.086e-05/11.64, allocations: 15.92 kB / 3.572 GB, free: 43.47 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002829/11.65, allocations: 1.711 MB / 3.574 GB, free: 41.47 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00116/11.65, allocations: 339.3 kB / 3.574 GB, free: 41.12 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004854/11.65, allocations: 23.98 kB / 3.574 GB, free: 41.09 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002633/11.65, allocations: 131.9 kB / 3.574 GB, free: 40.96 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000244/11.65, allocations: 55.84 kB / 3.574 GB, free: 40.91 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002019/11.65, allocations: 43.97 kB / 3.574 GB, free: 40.87 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001679/11.65, allocations: 0.7476 MB / 3.575 GB, free: 40.11 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.023e-06/11.65, allocations: 0 / 3.575 GB, free: 40.11 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002808/11.66, allocations: 443.7 kB / 3.575 GB, free: 39.68 MB / 0.6667 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.006764/11.66, allocations: 6.006 MB / 3.581 GB, free: 33.4 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002368/11.66, allocations: 0.8055 MB / 3.582 GB, free: 32.59 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.602e-05/11.66, allocations: 0 / 3.582 GB, free: 32.59 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.00113/11.67, allocations: 470.5 kB / 3.582 GB, free: 32.12 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005225/11.67, allocations: 0.5222 MB / 3.583 GB, free: 31.59 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006718/11.68, allocations: 1.823 MB / 3.585 GB, free: 29.63 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007317/11.68, allocations: 1.093 MB / 3.586 GB, free: 28.51 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.002265/11.68, allocations: 287.9 kB / 3.586 GB, free: 28.23 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001059/11.68, allocations: 367.3 kB / 3.586 GB, free: 27.87 MB / 0.6667 GB Notification: Performance of SimCode: time 1.904e-06/11.68, allocations: 0 / 3.586 GB, free: 27.87 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7108/12.39, allocations: 55.32 MB / 3.64 GB, free: 118 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002595/12.39, allocations: 222.6 kB / 3.641 GB, free: 117.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.406/17.8, allocations: 0 / 3.641 GB, free: 117.8 MB / 0.6823 GB