Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,fileNamePrefix="Modelica_3_2_1_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.98/1.98, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.644e-05/4.634e-05, allocations: 4 kB / 225.1 MB, free: 2.25 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2787/0.2787, allocations: 38.78 MB / 263.9 MB, free: 9.695 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1296/0.4084, allocations: 70.3 MB / 334.2 MB, free: 3.297 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002932/0.4088, allocations: 71.95 kB / 334.2 MB, free: 3.227 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04777/0.4566, allocations: 8.975 MB / 343.2 MB, free: 10.19 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.895e-06/0.4567, allocations: 0 / 343.2 MB, free: 10.19 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.245e-05/0.4567, allocations: 16 kB / 343.2 MB, free: 10.18 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.002334/0.4591, allocations: 0.6713 MB / 343.9 MB, free: 9.449 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.026e-05/0.4592, allocations: 8.031 kB / 343.9 MB, free: 9.441 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002795/0.4595, allocations: 79.16 kB / 344 MB, free: 9.355 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002689/0.4598, allocations: 51.44 kB / 344 MB, free: 9.305 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001242/0.4611, allocations: 364.3 kB / 344.4 MB, free: 8.906 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002125/0.4613, allocations: 58.81 kB / 344.5 MB, free: 8.844 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001427/0.4615, allocations: 39.95 kB / 344.5 MB, free: 8.805 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001558/0.4631, allocations: 445.3 kB / 344.9 MB, free: 8.316 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.142e-05/0.4632, allocations: 0 / 344.9 MB, free: 8.316 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.485e-05/0.4633, allocations: 12 kB / 344.9 MB, free: 8.305 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.305e-05/0.4633, allocations: 8 kB / 344.9 MB, free: 8.297 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001272/0.4646, allocations: 253.5 kB / 345.2 MB, free: 8.047 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005196/0.4699, allocations: 1.249 MB / 346.4 MB, free: 6.719 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002973/0.4729, allocations: 425.3 kB / 346.9 MB, free: 6.273 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006394/0.4736, allocations: 137.4 kB / 347 MB, free: 6.137 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.335e-05/0.4737, allocations: 12.2 kB / 347 MB, free: 6.125 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.083e-05/0.4738, allocations: 42.83 kB / 347 MB, free: 6.074 MB / 298.7 MB Notification: Performance of pre-optimization done (n=33): time 5.18e-06/0.4738, allocations: 0 / 347 MB, free: 6.074 MB / 298.7 MB Notification: Performance of matching and sorting (n=33): time 0.001613/0.4755, allocations: 321.2 kB / 347.4 MB, free: 5.75 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002951/0.4758, allocations: 449 kB / 347.8 MB, free: 5.207 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0011/0.4769, allocations: 383.2 kB / 348.2 MB, free: 4.836 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001399/0.4771, allocations: 33.7 kB / 348.2 MB, free: 4.797 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003337/0.4774, allocations: 232.3 kB / 348.4 MB, free: 4.562 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002119/0.4777, allocations: 114.3 kB / 348.5 MB, free: 4.449 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.048e-05/0.4777, allocations: 8 kB / 348.5 MB, free: 4.441 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002394/0.478, allocations: 358.7 kB / 348.9 MB, free: 4.082 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004877/0.4785, allocations: 96 kB / 349 MB, free: 3.988 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007346/0.4793, allocations: 242.5 kB / 349.2 MB, free: 3.695 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005958/0.4799, allocations: 150.5 kB / 349.4 MB, free: 3.547 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.271e-06/0.4799, allocations: 0 / 349.4 MB, free: 3.547 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001739/0.4817, allocations: 402.3 kB / 349.8 MB, free: 3.137 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.447e-05/0.4818, allocations: 33.7 kB / 349.8 MB, free: 3.098 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/0.4818, allocations: 0 / 349.8 MB, free: 3.098 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003492/0.4822, allocations: 53.72 kB / 349.9 MB, free: 3.039 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001004/0.4832, allocations: 67.91 kB / 349.9 MB, free: 2.973 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004887/0.4882, allocations: 2.744 MB / 352.7 MB, free: 15.96 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001013/0.4892, allocations: 51.81 kB / 352.7 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.375e-05/0.4893, allocations: 8 kB / 352.7 MB, free: 15.9 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 {3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002684/0.4896, allocations: 128.9 kB / 352.9 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002029/0.4898, allocations: 47.44 kB / 352.9 MB, free: 15.72 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000223/0.4901, allocations: 52.64 kB / 352.9 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.35e-05/0.4901, allocations: 4 kB / 353 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.4902, allocations: 4.094 kB / 353 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001369/0.4916, allocations: 0.6413 MB / 353.6 MB, free: 14.91 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003037/0.4946, allocations: 0.8761 MB / 354.5 MB, free: 13.97 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.164e-06/0.4947, allocations: 0 / 354.5 MB, free: 13.97 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001111/0.4958, allocations: 71.89 kB / 354.5 MB, free: 13.9 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.241e-05/0.4959, allocations: 0 / 354.5 MB, free: 13.9 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.842e-05/0.4959, allocations: 15.95 kB / 354.6 MB, free: 13.89 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.243e-06/0.496, allocations: 3.938 kB / 354.6 MB, free: 13.88 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.496, allocations: 0 / 354.6 MB, free: 13.88 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001767/0.4978, allocations: 0.4986 MB / 355.1 MB, free: 13.37 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003004/0.4981, allocations: 132.4 kB / 355.2 MB, free: 13.22 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001593/0.4983, allocations: 11.98 kB / 355.2 MB, free: 13.21 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007038/0.499, allocations: 16.02 kB / 355.2 MB, free: 13.19 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.4991, allocations: 27.97 kB / 355.2 MB, free: 13.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.439e-05/0.4992, allocations: 4 kB / 355.2 MB, free: 13.16 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0008812/0.5001, allocations: 305.2 kB / 355.5 MB, free: 12.87 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.162e-06/0.5001, allocations: 0 / 355.5 MB, free: 12.87 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001077/0.5012, allocations: 131.8 kB / 355.7 MB, free: 12.74 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.002401/0.5037, allocations: 1.056 MB / 356.7 MB, free: 11.66 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001891/0.5056, allocations: 0.5222 MB / 357.3 MB, free: 11.1 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.371e-05/0.5056, allocations: 4 kB / 357.3 MB, free: 11.1 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005127/0.5062, allocations: 119.9 kB / 357.4 MB, free: 10.98 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001596/0.5078, allocations: 122.7 kB / 357.5 MB, free: 10.86 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004128/0.5119, allocations: 0.7298 MB / 358.2 MB, free: 10.09 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007745/0.5128, allocations: 0.8237 MB / 359 MB, free: 9.238 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0006278/0.5134, allocations: 52.25 kB / 359.1 MB, free: 9.188 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005105/0.514, allocations: 151.4 kB / 359.2 MB, free: 9.043 MB / 314.7 MB Notification: Performance of SimCode: time 1.753e-06/0.514, allocations: 4 kB / 359.3 MB, free: 9.039 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3258/0.8398, allocations: 10.94 MB / 370.2 MB, free: 92.03 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002245/0.8401, allocations: 198.5 kB / 370.4 MB, free: 91.8 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.977/3.817, allocations: 0 / 370.4 MB, free: 91.8 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat does not exist to compare? outputFormat=mat