Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.785/2.785, allocations: 195 MB / 202.9 MB, free: 6.723 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.984e-05/4.028e-05, allocations: 1.938 kB / 249.7 MB, free: 5.258 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1349, allocations: 44.51 MB / 294.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5407/0.6758, allocations: 74.96 MB / 369.2 MB, free: 7.238 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002935/0.6761, allocations: 72.8 kB / 369.3 MB, free: 7.238 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04559/0.7217, allocations: 8.931 MB / 378.2 MB, free: 21.77 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.7218, allocations: 0 / 378.2 MB, free: 21.77 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.485e-05/0.7218, allocations: 15.44 kB / 378.2 MB, free: 21.77 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001631/0.7235, allocations: 0.6629 MB / 378.9 MB, free: 21.22 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.955e-05/0.7236, allocations: 7.75 kB / 378.9 MB, free: 21.22 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001623/0.7237, allocations: 74.28 kB / 379 MB, free: 21.16 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001663/0.7239, allocations: 58.47 kB / 379 MB, free: 21.14 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008008/0.7247, allocations: 369.1 kB / 379.4 MB, free: 20.86 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000148/0.7249, allocations: 51.06 kB / 379.5 MB, free: 20.82 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.648e-05/0.725, allocations: 19.38 kB / 379.5 MB, free: 20.82 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008491/0.7259, allocations: 239.3 kB / 379.7 MB, free: 20.81 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000938/0.7268, allocations: 394.3 kB / 380.1 MB, free: 20.59 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.636e-05/0.7269, allocations: 7.984 kB / 380.1 MB, free: 20.59 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.313e-05/0.727, allocations: 0 / 380.1 MB, free: 20.59 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.327e-05/0.727, allocations: 11.62 kB / 380.1 MB, free: 20.59 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003488/0.7305, allocations: 1.166 MB / 381.3 MB, free: 19.93 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002206/0.7327, allocations: 401.3 kB / 381.7 MB, free: 19.77 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003635/0.7331, allocations: 129.7 kB / 381.8 MB, free: 19.76 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.979e-05/0.7332, allocations: 4.156 kB / 381.8 MB, free: 19.76 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.756e-05/0.7332, allocations: 38.19 kB / 381.8 MB, free: 19.72 MB / 314.7 MB Notification: Performance of pre-optimization done (n=33): time 4.649e-06/0.7333, allocations: 0 / 381.8 MB, free: 19.72 MB / 314.7 MB Notification: Performance of matching and sorting (n=33): time 0.001225/0.7345, allocations: 313.1 kB / 382.1 MB, free: 19.62 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000214/0.7348, allocations: 452.7 kB / 382.6 MB, free: 19.08 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006342/0.7354, allocations: 317 kB / 382.9 MB, free: 18.95 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.617e-05/0.7355, allocations: 25.7 kB / 382.9 MB, free: 18.92 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002293/0.7358, allocations: 237.2 kB / 383.1 MB, free: 18.78 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001305/0.7359, allocations: 107.8 kB / 383.3 MB, free: 18.7 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.321e-05/0.7359, allocations: 0 / 383.3 MB, free: 18.7 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001954/0.7362, allocations: 351.6 kB / 383.6 MB, free: 18.37 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003132/0.7365, allocations: 91.97 kB / 383.7 MB, free: 18.36 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004432/0.7369, allocations: 231.8 kB / 383.9 MB, free: 18.21 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000439/0.7374, allocations: 120.4 kB / 384 MB, free: 18.19 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.583e-06/0.7374, allocations: 3.953 kB / 384 MB, free: 18.18 MB / 314.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001316/0.7387, allocations: 355.3 kB / 384.4 MB, free: 18.09 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.618e-05/0.7388, allocations: 33.05 kB / 384.4 MB, free: 18.05 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.7389, allocations: 3.812 kB / 384.4 MB, free: 18.05 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005997/0.7395, allocations: 74.92 kB / 384.5 MB, free: 18.02 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008157/0.7403, allocations: 73.64 kB / 384.6 MB, free: 18 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004226/0.7445, allocations: 2.653 MB / 387.2 MB, free: 15.5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007407/0.7453, allocations: 31.33 kB / 387.2 MB, free: 15.48 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.88e-05/0.7454, allocations: 11.56 kB / 387.3 MB, free: 15.48 MB / 314.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient2.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pipe.flowPort_a.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 34 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003066/0.7457, allocations: 120.8 kB / 387.4 MB, free: 15.37 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001347/0.7459, allocations: 42.84 kB / 387.4 MB, free: 15.35 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001701/0.7461, allocations: 49.52 kB / 387.5 MB, free: 15.32 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.7461, allocations: 0 / 387.5 MB, free: 15.32 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.7461, allocations: 7.828 kB / 387.5 MB, free: 15.32 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001009/0.7471, allocations: 0.6136 MB / 388.1 MB, free: 14.76 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002085/0.7492, allocations: 0.805 MB / 388.9 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.7493, allocations: 4 kB / 388.9 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008921/0.7502, allocations: 73.27 kB / 389 MB, free: 14.29 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.248e-06/0.7502, allocations: 0 / 389 MB, free: 14.29 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.504e-05/0.7503, allocations: 7.828 kB / 389 MB, free: 14.28 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.7503, allocations: 0 / 389 MB, free: 14.28 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.7503, allocations: 0 / 389 MB, free: 14.28 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001165/0.7515, allocations: 480.5 kB / 389.4 MB, free: 14.1 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000195/0.7517, allocations: 127.3 kB / 389.6 MB, free: 13.97 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001202/0.7518, allocations: 0 / 389.6 MB, free: 13.97 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005638/0.7524, allocations: 15.59 kB / 389.6 MB, free: 13.96 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.97e-05/0.7525, allocations: 22.81 kB / 389.6 MB, free: 13.96 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.256e-05/0.7526, allocations: 7.891 kB / 389.6 MB, free: 13.95 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004846/0.7531, allocations: 250.9 kB / 389.9 MB, free: 13.86 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.62e-07/0.7531, allocations: 0 / 389.9 MB, free: 13.86 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000912/0.754, allocations: 139.6 kB / 390 MB, free: 13.84 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * 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.00173/0.7558, allocations: 1.02 MB / 391 MB, free: 13.12 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001873/0.7577, allocations: 0.5261 MB / 391.5 MB, free: 12.81 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.822e-06/0.7577, allocations: 3.875 kB / 391.5 MB, free: 12.81 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003937/0.7581, allocations: 110.8 kB / 391.7 MB, free: 12.8 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001111/0.7592, allocations: 99.8 kB / 391.8 MB, free: 12.78 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002822/0.7621, allocations: 0.6483 MB / 392.4 MB, free: 12.4 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005719/0.7627, allocations: 0.8248 MB / 393.2 MB, free: 11.63 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005112/0.7632, allocations: 54.47 kB / 393.3 MB, free: 11.6 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003989/0.7637, allocations: 145.9 kB / 393.4 MB, free: 11.58 MB / 314.7 MB Notification: Performance of SimCode: time 1.503e-06/0.7637, allocations: 0 / 393.4 MB, free: 11.58 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.232/0.9957, allocations: 10.19 MB / 403.6 MB, free: 6.719 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0004021/0.9961, allocations: 153.5 kB / 403.8 MB, free: 6.523 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.775/4.772, allocations: 0 / 403.8 MB, free: 6.523 MB / 314.7 MB