Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.861/1.861, allocations: 171.2 MB / 183.8 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.441e-05/3.463e-05, allocations: 0 / 225.1 MB, free: 2.699 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2688/0.2688, allocations: 38.77 MB / 263.8 MB, free: 9.859 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1438/0.4127, allocations: 70.9 MB / 334.7 MB, free: 2.855 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002904/0.4131, allocations: 71.97 kB / 334.8 MB, free: 2.785 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04031/0.4534, allocations: 9.43 MB / 344.2 MB, free: 9.297 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.4535, allocations: 0 / 344.2 MB, free: 9.297 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.919e-05/0.4535, allocations: 11.98 kB / 344.2 MB, free: 9.285 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001709/0.4552, allocations: 0.7181 MB / 345 MB, free: 8.512 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/0.4553, allocations: 8.031 kB / 345 MB, free: 8.504 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001605/0.4555, allocations: 75.25 kB / 345 MB, free: 8.422 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001524/0.4556, allocations: 67.25 kB / 345.1 MB, free: 8.355 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007808/0.4564, allocations: 385.8 kB / 345.5 MB, free: 7.941 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001345/0.4566, allocations: 58.83 kB / 345.5 MB, free: 7.879 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.939e-05/0.4567, allocations: 35.95 kB / 345.6 MB, free: 7.844 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001017/0.4577, allocations: 454 kB / 346 MB, free: 7.344 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.147e-05/0.4577, allocations: 0 / 346 MB, free: 7.344 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.341e-05/0.4578, allocations: 19.98 kB / 346 MB, free: 7.324 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.412e-05/0.4578, allocations: 12 kB / 346.1 MB, free: 7.312 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008305/0.4587, allocations: 267.1 kB / 346.3 MB, free: 7.051 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003872/0.4626, allocations: 1.284 MB / 347.6 MB, free: 5.691 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008693/0.4635, allocations: 371.7 kB / 348 MB, free: 5.301 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004011/0.4639, allocations: 148.9 kB / 348.1 MB, free: 5.152 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.75e-05/0.464, allocations: 4 kB / 348.1 MB, free: 5.148 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.248e-05/0.464, allocations: 42.55 kB / 348.1 MB, free: 5.098 MB / 298.7 MB Notification: Performance of pre-optimization done (n=36): time 4.668e-06/0.464, allocations: 0 / 348.1 MB, free: 5.098 MB / 298.7 MB Notification: Performance of matching and sorting (n=36): time 0.001257/0.4653, allocations: 375.1 kB / 348.5 MB, free: 4.719 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002705/0.4656, allocations: 448.9 kB / 349 MB, free: 4.176 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007285/0.4663, allocations: 387.2 kB / 349.3 MB, free: 3.797 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.199e-05/0.4664, allocations: 33.7 kB / 349.4 MB, free: 3.758 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002375/0.4667, allocations: 274.8 kB / 349.6 MB, free: 3.488 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000153/0.4668, allocations: 126.2 kB / 349.8 MB, free: 3.363 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.355e-05/0.4669, allocations: 8 kB / 349.8 MB, free: 3.355 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.467, allocations: 318.8 kB / 350.1 MB, free: 3.035 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003513/0.4674, allocations: 111.8 kB / 350.2 MB, free: 2.926 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005136/0.4679, allocations: 246.4 kB / 350.4 MB, free: 2.633 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004075/0.4684, allocations: 153.7 kB / 350.6 MB, free: 2.477 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.4684, allocations: 0 / 350.6 MB, free: 2.477 MB / 298.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001266/0.4696, allocations: 416.7 kB / 351 MB, free: 2.051 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.092e-05/0.4697, allocations: 33.69 kB / 351 MB, free: 2.012 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/0.4697, allocations: 0 / 351 MB, free: 2.012 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004029/0.4702, allocations: 61.72 kB / 351.1 MB, free: 1.945 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008056/0.471, allocations: 91.88 kB / 351.2 MB, free: 1.855 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003302/0.4743, allocations: 2.729 MB / 353.9 MB, free: 14.85 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007608/0.4751, allocations: 63.7 kB / 354 MB, free: 14.79 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.733e-05/0.4752, allocations: 8 kB / 354 MB, free: 14.78 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 (38): * Single equations (assignments): 35 * 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.0001932/0.4754, allocations: 137.7 kB / 354.1 MB, free: 14.64 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001367/0.4755, allocations: 47.44 kB / 354.1 MB, free: 14.59 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001663/0.4757, allocations: 60.67 kB / 354.2 MB, free: 14.54 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.4757, allocations: 4.656 kB / 354.2 MB, free: 14.53 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.256e-06/0.4757, allocations: 4 kB / 354.2 MB, free: 14.53 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009931/0.4767, allocations: 0.6687 MB / 354.9 MB, free: 13.75 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002251/0.479, allocations: 0.9505 MB / 355.8 MB, free: 12.73 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.4791, allocations: 7.938 kB / 355.8 MB, free: 12.73 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008843/0.48, allocations: 95.88 kB / 355.9 MB, free: 12.63 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.221e-05/0.48, allocations: 4 kB / 355.9 MB, free: 12.63 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.298e-05/0.48, allocations: 7.984 kB / 355.9 MB, free: 12.62 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.063e-06/0.4801, allocations: 4 kB / 355.9 MB, free: 12.62 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.748e-06/0.4801, allocations: 3.953 kB / 356 MB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001419/0.4815, allocations: 0.5577 MB / 356.5 MB, free: 12.04 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002209/0.4817, allocations: 128.5 kB / 356.6 MB, free: 11.89 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001099/0.4819, allocations: 8 kB / 356.6 MB, free: 11.89 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005655/0.4824, allocations: 39.91 kB / 356.7 MB, free: 11.85 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001193/0.4826, allocations: 27.91 kB / 356.7 MB, free: 11.82 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.995e-05/0.4826, allocations: 20 kB / 356.7 MB, free: 11.8 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000594/0.4832, allocations: 301.2 kB / 357 MB, free: 11.51 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.4833, allocations: 0 / 357 MB, free: 11.51 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007002/0.484, allocations: 143.7 kB / 357.2 MB, free: 11.37 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 (36): * Single equations (assignments): 36 * 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.002774/0.4868, allocations: 1.126 MB / 358.3 MB, free: 10.21 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001509/0.4883, allocations: 0.5668 MB / 358.9 MB, free: 9.609 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.4884, allocations: 0 / 358.9 MB, free: 9.609 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004192/0.4888, allocations: 148.5 kB / 359 MB, free: 9.465 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001134/0.4899, allocations: 118.1 kB / 359.1 MB, free: 9.352 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002567/0.4925, allocations: 0.7814 MB / 359.9 MB, free: 8.523 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007326/0.4933, allocations: 0.8315 MB / 360.7 MB, free: 7.664 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006541/0.494, allocations: 167.4 kB / 360.9 MB, free: 7.5 MB / 314.7 MB Notification: Performance of SimCode: time 2.074e-06/0.494, allocations: 0 / 360.9 MB, free: 7.5 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.154/3.648, allocations: 10.31 MB / 371.2 MB, free: 91.18 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat does not exist to compare? outputFormat=mat