Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.977/1.977, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.519e-05/2.537e-05, allocations: 0 / 249.7 MB, free: 15.21 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3129/0.313, allocations: 44.5 MB / 294.2 MB, free: 14.22 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1382/0.4513, allocations: 74.97 MB / 369.2 MB, free: 6.93 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002758/0.4516, allocations: 67.97 kB / 369.2 MB, free: 6.863 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03788/0.4895, allocations: 8.896 MB / 378.1 MB, free: 13.91 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4895, allocations: 0 / 378.1 MB, free: 13.91 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.507e-05/0.4896, allocations: 16 kB / 378.1 MB, free: 13.9 MB / 330.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.001476/0.4911, allocations: 0.6675 MB / 378.8 MB, free: 13.18 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/0.4912, allocations: 8.031 kB / 378.8 MB, free: 13.17 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001527/0.4913, allocations: 59.34 kB / 378.9 MB, free: 13.11 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007549/0.4921, allocations: 368.6 kB / 379.2 MB, free: 12.71 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001248/0.4922, allocations: 46.48 kB / 379.3 MB, free: 12.66 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.026e-05/0.4923, allocations: 20 kB / 379.3 MB, free: 12.64 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007419/0.4931, allocations: 237.5 kB / 379.5 MB, free: 12.41 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008405/0.4939, allocations: 386.2 kB / 379.9 MB, free: 11.98 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.921e-05/0.494, allocations: 0 / 379.9 MB, free: 11.98 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.821e-05/0.494, allocations: 4 kB / 379.9 MB, free: 11.97 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.275e-05/0.4941, allocations: 8 kB / 379.9 MB, free: 11.96 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003018/0.4971, allocations: 1.152 MB / 381.1 MB, free: 10.75 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001996/0.4991, allocations: 417.2 kB / 381.5 MB, free: 10.31 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004334/0.4996, allocations: 124.9 kB / 381.6 MB, free: 10.19 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.644e-05/0.4997, allocations: 4.281 kB / 381.6 MB, free: 10.19 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.489e-05/0.4997, allocations: 42.84 kB / 381.6 MB, free: 10.14 MB / 330.7 MB Notification: Performance of pre-optimization done (n=33): time 6.412e-06/0.4998, allocations: 0 / 381.6 MB, free: 10.14 MB / 330.7 MB Notification: Performance of matching and sorting (n=33): time 0.00142/0.5012, allocations: 309.2 kB / 381.9 MB, free: 9.824 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003003/0.5015, allocations: 456.9 kB / 382.4 MB, free: 9.273 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007815/0.5023, allocations: 318.2 kB / 382.7 MB, free: 8.949 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.416e-05/0.5024, allocations: 25.7 kB / 382.7 MB, free: 8.918 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002767/0.5027, allocations: 271 kB / 383 MB, free: 8.652 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001769/0.5029, allocations: 114.3 kB / 383.1 MB, free: 8.539 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.225e-05/0.5029, allocations: 0 / 383.1 MB, free: 8.539 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001773/0.5031, allocations: 326.8 kB / 383.4 MB, free: 8.211 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003656/0.5035, allocations: 91.98 kB / 383.5 MB, free: 8.121 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005583/0.5041, allocations: 226.6 kB / 383.7 MB, free: 7.844 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004366/0.5046, allocations: 118.8 kB / 383.9 MB, free: 7.73 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.5046, allocations: 0 / 383.9 MB, free: 7.73 MB / 330.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001426/0.506, allocations: 333 kB / 384.2 MB, free: 7.395 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.373e-05/0.5061, allocations: 33.7 kB / 384.2 MB, free: 7.355 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.5061, allocations: 96 / 384.2 MB, free: 7.355 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000655/0.5068, allocations: 85.55 kB / 384.3 MB, free: 7.266 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000838/0.5077, allocations: 67.91 kB / 384.4 MB, free: 7.199 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004844/0.5125, allocations: 2.646 MB / 387 MB, free: 4.324 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008818/0.5135, allocations: 43.81 kB / 387.1 MB, free: 4.281 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.281e-05/0.5136, allocations: 8 kB / 387.1 MB, free: 4.273 MB / 330.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.0003346/0.5139, allocations: 116.9 kB / 387.2 MB, free: 4.152 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001408/0.5153, allocations: 318.9 kB / 387.5 MB, free: 3.828 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001686/0.5155, allocations: 39.53 kB / 387.5 MB, free: 3.789 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001945/0.5157, allocations: 48.81 kB / 387.6 MB, free: 3.738 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.247e-05/0.5158, allocations: 7.984 kB / 387.6 MB, free: 3.73 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.5158, allocations: 0 / 387.6 MB, free: 3.73 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001117/0.5169, allocations: 0.614 MB / 388.2 MB, free: 3.012 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00242/0.5194, allocations: 0.8059 MB / 389 MB, free: 2.152 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.5194, allocations: 0 / 389 MB, free: 2.152 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008713/0.5203, allocations: 75.89 kB / 389.1 MB, free: 2.078 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.054e-05/0.5203, allocations: 0 / 389.1 MB, free: 2.078 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.664e-05/0.5204, allocations: 0 / 389.1 MB, free: 2.078 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.859e-06/0.5204, allocations: 4 kB / 389.1 MB, free: 2.074 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.5204, allocations: 0 / 389.1 MB, free: 2.074 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001356/0.5218, allocations: 487.6 kB / 389.6 MB, free: 1.582 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002252/0.522, allocations: 124.6 kB / 389.7 MB, free: 1.441 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000134/0.5222, allocations: 4.062 kB / 389.7 MB, free: 1.438 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005632/0.5228, allocations: 11.98 kB / 389.7 MB, free: 1.426 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.364e-05/0.5229, allocations: 23.97 kB / 389.7 MB, free: 1.402 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.874e-05/0.5229, allocations: 4 kB / 389.7 MB, free: 1.398 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005784/0.5235, allocations: 244.6 kB / 390 MB, free: 1.16 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.32e-07/0.5235, allocations: 4 kB / 390 MB, free: 1.156 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00102/0.5246, allocations: 127.6 kB / 390.1 MB, free: 1.031 MB / 330.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.002074/0.5267, allocations: 1.032 MB / 391.1 MB, free: 15.97 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002031/0.5287, allocations: 0.5189 MB / 391.6 MB, free: 15.42 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/0.5288, allocations: 4.125 kB / 391.6 MB, free: 15.42 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004397/0.5292, allocations: 115.8 kB / 391.8 MB, free: 15.3 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001241/0.5305, allocations: 105.2 kB / 391.9 MB, free: 15.2 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003132/0.5337, allocations: 0.6778 MB / 392.5 MB, free: 14.48 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006176/0.5343, allocations: 0.8196 MB / 393.4 MB, free: 13.64 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004985/0.5348, allocations: 151.4 kB / 393.5 MB, free: 13.49 MB / 346.7 MB Notification: Performance of SimCode: time 1.323e-06/0.5349, allocations: 4 kB / 393.5 MB, free: 13.48 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.927/3.462, allocations: 9.251 MB / 402.8 MB, free: 4.238 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat does not exist to compare? outputFormat=mat