Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.782/1.782, allocations: 171.3 MB / 178.8 MB, free: 168 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.636e-05/2.635e-05, allocations: 4 kB / 219.6 MB, free: 7.328 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.311/0.3111, allocations: 38.76 MB / 258.3 MB, free: 12.06 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1262/0.4373, allocations: 69.63 MB / 327.9 MB, free: 8.203 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002681/0.4377, allocations: 63.97 kB / 328 MB, free: 8.141 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0379/0.4756, allocations: 8.861 MB / 336.9 MB, free: 15.23 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.4756, allocations: 0 / 336.9 MB, free: 15.23 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.152e-05/0.4757, allocations: 15.94 kB / 336.9 MB, free: 15.21 MB / 298.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.001489/0.4772, allocations: 0.6713 MB / 337.6 MB, free: 14.49 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.567e-05/0.4773, allocations: 12.03 kB / 337.6 MB, free: 14.48 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001693/0.4775, allocations: 59.34 kB / 337.6 MB, free: 14.42 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007662/0.4782, allocations: 360.3 kB / 338 MB, free: 14.02 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001293/0.4784, allocations: 54.41 kB / 338 MB, free: 13.96 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.331e-05/0.4785, allocations: 20.34 kB / 338.1 MB, free: 13.95 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007268/0.4792, allocations: 241.5 kB / 338.3 MB, free: 13.71 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008176/0.48, allocations: 385.4 kB / 338.7 MB, free: 13.28 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/0.4801, allocations: 3.938 kB / 338.7 MB, free: 13.27 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.624e-05/0.4801, allocations: 0 / 338.7 MB, free: 13.27 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.345e-05/0.4802, allocations: 12 kB / 338.7 MB, free: 13.26 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003021/0.4832, allocations: 1.139 MB / 339.8 MB, free: 12.05 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001773/0.485, allocations: 413.2 kB / 340.2 MB, free: 11.62 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003281/0.4854, allocations: 125.4 kB / 340.3 MB, free: 11.5 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.657e-05/0.4855, allocations: 8.266 kB / 340.4 MB, free: 11.49 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.698e-05/0.4855, allocations: 42.84 kB / 340.4 MB, free: 11.44 MB / 298.7 MB Notification: Performance of pre-optimization done (n=33): time 3.136e-06/0.4855, allocations: 3.938 kB / 340.4 MB, free: 11.43 MB / 298.7 MB Notification: Performance of matching and sorting (n=33): time 0.001062/0.4866, allocations: 313.2 kB / 340.7 MB, free: 11.12 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002049/0.4868, allocations: 445 kB / 341.1 MB, free: 10.58 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005712/0.4874, allocations: 314.3 kB / 341.4 MB, free: 10.27 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.24e-05/0.4875, allocations: 29.7 kB / 341.5 MB, free: 10.23 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002145/0.4877, allocations: 271 kB / 341.7 MB, free: 9.965 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001293/0.4879, allocations: 114.3 kB / 341.9 MB, free: 9.852 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.556e-05/0.4879, allocations: 0 / 341.9 MB, free: 9.852 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.488, allocations: 322.8 kB / 342.2 MB, free: 9.527 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002673/0.4883, allocations: 95.78 kB / 342.3 MB, free: 9.434 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004397/0.4888, allocations: 229.5 kB / 342.5 MB, free: 9.156 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003314/0.4891, allocations: 110.3 kB / 342.6 MB, free: 9.051 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.4891, allocations: 0 / 342.6 MB, free: 9.051 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001038/0.4902, allocations: 340.8 kB / 342.9 MB, free: 8.707 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.123e-05/0.4903, allocations: 33.69 kB / 343 MB, free: 8.668 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.4903, allocations: 4 kB / 343 MB, free: 8.664 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004802/0.4908, allocations: 69.7 kB / 343 MB, free: 8.59 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006131/0.4914, allocations: 75.89 kB / 343.1 MB, free: 8.516 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003316/0.4947, allocations: 2.638 MB / 345.7 MB, free: 5.645 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000572/0.4954, allocations: 39.83 kB / 345.8 MB, free: 5.605 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-05/0.4954, allocations: 12 kB / 345.8 MB, free: 5.594 MB / 298.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.0002605/0.4957, allocations: 128.8 kB / 345.9 MB, free: 5.461 MB / 298.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009499/0.4967, allocations: 315 kB / 346.2 MB, free: 5.141 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/0.4968, allocations: 47.48 kB / 346.3 MB, free: 5.094 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001416/0.4969, allocations: 36.69 kB / 346.3 MB, free: 5.055 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.497, allocations: 4 kB / 346.3 MB, free: 5.051 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.497, allocations: 0 / 346.3 MB, free: 5.051 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007738/0.4978, allocations: 0.6179 MB / 346.9 MB, free: 4.328 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001829/0.4996, allocations: 0.7987 MB / 347.7 MB, free: 3.48 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.4996, allocations: 4 kB / 347.7 MB, free: 3.477 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000691/0.5003, allocations: 79.89 kB / 347.8 MB, free: 3.398 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.648e-06/0.5004, allocations: 0 / 347.8 MB, free: 3.398 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.1e-05/0.5004, allocations: 0 / 347.8 MB, free: 3.398 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.063e-05/0.5004, allocations: 4 kB / 347.8 MB, free: 3.395 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.5004, allocations: 3.938 kB / 347.8 MB, free: 3.391 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00108/0.5015, allocations: 486.8 kB / 348.3 MB, free: 2.898 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001886/0.5018, allocations: 132.5 kB / 348.4 MB, free: 2.75 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/0.5019, allocations: 0 / 348.4 MB, free: 2.75 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000396/0.5023, allocations: 11.98 kB / 348.4 MB, free: 2.738 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.244e-05/0.5024, allocations: 19.98 kB / 348.5 MB, free: 2.719 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.257e-05/0.5024, allocations: 11.98 kB / 348.5 MB, free: 2.707 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004271/0.5028, allocations: 240.6 kB / 348.7 MB, free: 2.469 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5029, allocations: 0 / 348.7 MB, free: 2.469 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006922/0.5036, allocations: 119.8 kB / 348.8 MB, free: 2.352 MB / 298.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.001429/0.505, allocations: 1.033 MB / 349.9 MB, free: 1.293 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001448/0.5065, allocations: 0.5187 MB / 350.4 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.5065, allocations: 0 / 350.4 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002934/0.5068, allocations: 115.9 kB / 350.5 MB, free: 0.6289 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008552/0.5077, allocations: 97.27 kB / 350.6 MB, free: 0.5312 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002608/0.5103, allocations: 0.7129 MB / 351.3 MB, free: 15.78 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004617/0.5108, allocations: 0.8275 MB / 352.1 MB, free: 14.92 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003802/0.5112, allocations: 147.4 kB / 352.3 MB, free: 14.78 MB / 314.7 MB Notification: Performance of SimCode: time 1.032e-06/0.5112, allocations: 0 / 352.3 MB, free: 14.78 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.809/3.32, allocations: 9.211 MB / 361.5 MB, free: 5.574 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat does not exist to compare? outputFormat=mat