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.766/1.766, allocations: 171.2 MB / 183.8 MB, free: 12.02 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.56e-05/3.605e-05, allocations: 4 kB / 225.1 MB, free: 2.699 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2756/0.2757, allocations: 38.76 MB / 263.8 MB, free: 9.855 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1418/0.4175, allocations: 70.29 MB / 334.1 MB, free: 3.457 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003355/0.418, allocations: 75.95 kB / 334.2 MB, free: 3.383 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04312/0.4611, allocations: 8.966 MB / 343.2 MB, free: 10.35 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.4612, allocations: 0 / 343.2 MB, free: 10.35 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.163e-05/0.4612, allocations: 12 kB / 343.2 MB, free: 10.34 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.001553/0.4628, allocations: 0.6713 MB / 343.8 MB, free: 9.609 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.223e-05/0.4629, allocations: 8.031 kB / 343.8 MB, free: 9.602 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000167/0.463, allocations: 79.22 kB / 343.9 MB, free: 9.516 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001683/0.4632, allocations: 63.42 kB / 344 MB, free: 9.453 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008108/0.464, allocations: 364.3 kB / 344.3 MB, free: 9.055 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001496/0.4642, allocations: 62.77 kB / 344.4 MB, free: 8.988 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.968e-05/0.4643, allocations: 31.95 kB / 344.4 MB, free: 8.957 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00103/0.4654, allocations: 446.9 kB / 344.9 MB, free: 8.465 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.013e-05/0.4654, allocations: 0 / 344.9 MB, free: 8.465 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.104e-05/0.4655, allocations: 16 kB / 344.9 MB, free: 8.449 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.446e-05/0.4655, allocations: 12 kB / 344.9 MB, free: 8.438 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007749/0.4663, allocations: 259.1 kB / 345.1 MB, free: 8.184 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003478/0.4698, allocations: 1.241 MB / 346.4 MB, free: 6.863 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002131/0.472, allocations: 433.6 kB / 346.8 MB, free: 6.41 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003667/0.4724, allocations: 129.4 kB / 346.9 MB, free: 6.281 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.37e-05/0.4725, allocations: 20.25 kB / 347 MB, free: 6.262 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.801e-05/0.4725, allocations: 42.78 kB / 347 MB, free: 6.211 MB / 298.7 MB Notification: Performance of pre-optimization done (n=33): time 3.476e-06/0.4726, allocations: 0 / 347 MB, free: 6.211 MB / 298.7 MB Notification: Performance of matching and sorting (n=33): time 0.001185/0.4737, allocations: 340.8 kB / 347.3 MB, free: 5.867 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002485/0.474, allocations: 445 kB / 347.8 MB, free: 5.328 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007549/0.4748, allocations: 383.2 kB / 348.1 MB, free: 4.957 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.419e-05/0.4749, allocations: 41.7 kB / 348.2 MB, free: 4.91 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002288/0.4751, allocations: 258.9 kB / 348.4 MB, free: 4.652 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001497/0.4753, allocations: 122.3 kB / 348.6 MB, free: 4.531 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.788e-05/0.4753, allocations: 4 kB / 348.6 MB, free: 4.527 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.4755, allocations: 322.8 kB / 348.9 MB, free: 4.203 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003142/0.4758, allocations: 96 kB / 349 MB, free: 4.109 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005351/0.4764, allocations: 250.4 kB / 349.2 MB, free: 3.809 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000396/0.4768, allocations: 155.2 kB / 349.4 MB, free: 3.652 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.197e-06/0.4768, allocations: 0 / 349.4 MB, free: 3.652 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001173/0.478, allocations: 386.7 kB / 349.7 MB, free: 3.258 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.247e-05/0.478, allocations: 29.7 kB / 349.8 MB, free: 3.223 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.4781, allocations: 0 / 349.8 MB, free: 3.223 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005091/0.4786, allocations: 81.62 kB / 349.8 MB, free: 3.137 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006284/0.4792, allocations: 63.97 kB / 349.9 MB, free: 3.074 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003775/0.483, allocations: 2.748 MB / 352.7 MB, free: 56 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006719/0.4838, allocations: 47.58 kB / 352.7 MB, free: 8 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.922e-05/0.4838, allocations: 15.98 kB / 352.7 MB, free: 15.99 MB / 314.7 MB 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.0002345/0.4841, allocations: 126.5 kB / 352.8 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001352/0.4842, allocations: 59.5 kB / 352.9 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001649/0.4844, allocations: 44.66 kB / 352.9 MB, free: 15.76 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.766e-06/0.4844, allocations: 4 kB / 352.9 MB, free: 15.75 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-06/0.4845, allocations: 3.953 kB / 353 MB, free: 15.75 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009418/0.4854, allocations: 0.6374 MB / 353.6 MB, free: 15.01 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001973/0.4874, allocations: 0.8763 MB / 354.5 MB, free: 14.07 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.4874, allocations: 3.938 kB / 354.5 MB, free: 14.06 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007173/0.4882, allocations: 79.89 kB / 354.5 MB, free: 13.98 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.305e-05/0.4882, allocations: 7.953 kB / 354.6 MB, free: 13.98 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.398e-05/0.4882, allocations: 4 kB / 354.6 MB, free: 13.97 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.859e-06/0.4883, allocations: 4 kB / 354.6 MB, free: 13.97 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.4883, allocations: 3.938 kB / 354.6 MB, free: 13.96 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00117/0.4894, allocations: 0.4909 MB / 355.1 MB, free: 13.46 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001974/0.4897, allocations: 128.5 kB / 355.2 MB, free: 13.31 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001043/0.4898, allocations: 20.02 kB / 355.2 MB, free: 13.29 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004355/0.4902, allocations: 15.98 kB / 355.2 MB, free: 13.28 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.552e-05/0.4903, allocations: 15.97 kB / 355.2 MB, free: 13.26 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.133e-05/0.4904, allocations: 12 kB / 355.2 MB, free: 13.25 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005638/0.4909, allocations: 301.2 kB / 355.5 MB, free: 12.96 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.4909, allocations: 0 / 355.5 MB, free: 12.96 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006659/0.4916, allocations: 135.8 kB / 355.7 MB, free: 12.83 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.001637/0.4933, allocations: 1.058 MB / 356.7 MB, free: 11.75 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001604/0.4949, allocations: 0.555 MB / 357.3 MB, free: 11.15 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.4949, allocations: 4.125 kB / 357.3 MB, free: 11.15 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003352/0.4953, allocations: 123.9 kB / 357.4 MB, free: 11.03 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009648/0.4963, allocations: 121.3 kB / 357.5 MB, free: 10.91 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002627/0.4989, allocations: 0.7441 MB / 358.3 MB, free: 10.12 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005312/0.4995, allocations: 0.8276 MB / 359.1 MB, free: 9.266 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004132/0.4999, allocations: 155.4 kB / 359.3 MB, free: 9.113 MB / 314.7 MB Notification: Performance of SimCode: time 1.372e-06/0.4999, allocations: 0 / 359.3 MB, free: 9.113 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.042/3.542, allocations: 9.565 MB / 368.8 MB, free: 91.68 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