Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.98/1.98, allocations: 194.9 MB / 208.4 MB, free: 3.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.284e-05/3.297e-05, allocations: 0 / 255.4 MB, free: 3.098 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09752/0.09758, allocations: 44.51 MB / 299.9 MB, free: 6.535 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4279/0.5256, allocations: 76.63 MB / 376.6 MB, free: 12.84 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003848/0.526, allocations: 71.78 kB / 376.6 MB, free: 12.84 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09475/0.6208, allocations: 18.13 MB / 394.8 MB, free: 10.96 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.6209, allocations: 4 kB / 394.8 MB, free: 10.95 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.949e-05/0.621, allocations: 22.69 kB / 394.8 MB, free: 10.95 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.003027/0.624, allocations: 1.114 MB / 395.9 MB, free: 10.25 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/0.6241, allocations: 7.75 kB / 395.9 MB, free: 10.25 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002905/0.6244, allocations: 120.2 kB / 396 MB, free: 10.21 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003311/0.6247, allocations: 130.3 kB / 396.1 MB, free: 10.14 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001376/0.6261, allocations: 0.5708 MB / 396.7 MB, free: 9.844 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002652/0.6264, allocations: 161.3 kB / 396.9 MB, free: 9.742 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001585/0.6266, allocations: 70.19 kB / 396.9 MB, free: 9.738 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001881/0.6285, allocations: 0.908 MB / 397.8 MB, free: 9.371 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.032e-05/0.6286, allocations: 11.72 kB / 397.9 MB, free: 9.367 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000124/0.6287, allocations: 29.41 kB / 397.9 MB, free: 9.367 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.612e-05/0.6287, allocations: 19.56 kB / 397.9 MB, free: 9.363 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001554/0.6303, allocations: 0.5531 MB / 398.5 MB, free: 9.355 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006266/0.6366, allocations: 2.538 MB / 401 MB, free: 8.496 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004394/0.641, allocations: 0.8862 MB / 401.9 MB, free: 8.309 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009841/0.6421, allocations: 324.1 kB / 402.2 MB, free: 8.285 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.887e-05/0.6422, allocations: 15.75 kB / 402.2 MB, free: 8.285 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.99e-05/0.6423, allocations: 56.5 kB / 402.3 MB, free: 8.234 MB / 314.7 MB Notification: Performance of pre-optimization done (n=72): time 3.797e-06/0.6423, allocations: 0 / 402.3 MB, free: 8.234 MB / 314.7 MB Notification: Performance of matching and sorting (n=72): time 0.002322/0.6446, allocations: 0.7133 MB / 403 MB, free: 8.039 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002521/0.6449, allocations: 0.9504 MB / 403.9 MB, free: 6.879 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001262/0.6462, allocations: 0.6503 MB / 404.6 MB, free: 6.711 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002428/0.6464, allocations: 47.36 kB / 404.6 MB, free: 6.68 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002851/0.6467, allocations: 400.5 kB / 405 MB, free: 6.445 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002809/0.647, allocations: 250.5 kB / 405.3 MB, free: 6.266 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.045e-05/0.6471, allocations: 13.94 kB / 405.3 MB, free: 6.266 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.342e-05/0.6472, allocations: 345 kB / 405.6 MB, free: 5.938 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006486/0.6479, allocations: 230.9 kB / 405.8 MB, free: 5.926 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000909/0.6488, allocations: 0.5395 MB / 406.4 MB, free: 5.578 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007547/0.6496, allocations: 358.2 kB / 406.7 MB, free: 5.438 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.97e-06/0.6496, allocations: 7.875 kB / 406.7 MB, free: 5.43 MB / 314.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002329/0.6519, allocations: 0.8673 MB / 407.6 MB, free: 5.152 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.905e-05/0.652, allocations: 90.47 kB / 407.7 MB, free: 5.055 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.6521, allocations: 0 / 407.7 MB, free: 5.055 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009573/0.653, allocations: 176.6 kB / 407.9 MB, free: 4.977 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001407/0.6545, allocations: 154.3 kB / 408 MB, free: 4.945 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008761/0.6632, allocations: 6.926 MB / 414.9 MB, free: 14.31 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001484/0.6648, allocations: 115.8 kB / 415.1 MB, free: 14.26 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001014/0.6649, allocations: 22.64 kB / 415.1 MB, free: 14.25 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 4 {1 3,1 1,1 3,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003026/0.6652, allocations: 163.9 kB / 415.2 MB, free: 14.14 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002492/0.6655, allocations: 97.06 kB / 415.3 MB, free: 14.09 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003032/0.6658, allocations: 97.5 kB / 415.4 MB, free: 14.07 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.806e-06/0.6658, allocations: 7.75 kB / 415.4 MB, free: 14.07 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.404e-05/0.6659, allocations: 0 / 415.4 MB, free: 14.07 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00169/0.6676, allocations: 0.9235 MB / 416.4 MB, free: 13.45 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004018/0.6716, allocations: 1.688 MB / 418 MB, free: 12.7 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/0.6717, allocations: 0 / 418 MB, free: 12.7 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001437/0.6731, allocations: 160.5 kB / 418.2 MB, free: 12.67 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001549/0.6733, allocations: 32.09 kB / 418.2 MB, free: 12.66 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.638e-05/0.6734, allocations: 17.14 kB / 418.3 MB, free: 12.65 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001528/0.675, allocations: 1.436 MB / 419.7 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.675, allocations: 3.938 kB / 419.7 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00254/0.6775, allocations: 1.007 MB / 420.7 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004624/0.6781, allocations: 184.2 kB / 420.9 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002467/0.6783, allocations: 18.28 kB / 420.9 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009143/0.6792, allocations: 45.53 kB / 420.9 MB, free: 10.83 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001553/0.6794, allocations: 47.41 kB / 421 MB, free: 10.81 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.978e-05/0.6795, allocations: 18.8 kB / 421 MB, free: 10.8 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001006/0.6805, allocations: 0.5096 MB / 421.5 MB, free: 10.68 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.533e-06/0.6805, allocations: 3.875 kB / 421.5 MB, free: 10.68 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001277/0.6818, allocations: 302.2 kB / 421.8 MB, free: 10.66 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (heatCapacitor.T,pipe1.T,outerPipe.T,innerPipe.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 68 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002847/0.6847, allocations: 1.581 MB / 423.4 MB, free: 9.855 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003453/0.6882, allocations: 1.354 MB / 424.8 MB, free: 9.031 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.656e-06/0.6882, allocations: 3.906 kB / 424.8 MB, free: 9.031 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009549/0.6892, allocations: 403 kB / 425.1 MB, free: 8.887 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001782/0.691, allocations: 244.9 kB / 425.4 MB, free: 8.82 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004581/0.6956, allocations: 1.441 MB / 426.8 MB, free: 8.078 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000688/0.6964, allocations: 0.9858 MB / 427.8 MB, free: 7.246 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008109/0.6972, allocations: 347 kB / 428.2 MB, free: 7.207 MB / 330.7 MB Notification: Performance of SimCode: time 1.663e-06/0.6972, allocations: 0 / 428.2 MB, free: 7.207 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.314/4.011, allocations: 26.03 MB / 454.2 MB, free: 5.359 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat does not exist to compare? outputFormat=mat