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.749/1.749, allocations: 171.2 MB / 183.8 MB, free: 12.02 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.587e-05/3.59e-05, allocations: 8 kB / 225.1 MB, free: 2.691 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2863/0.2864, allocations: 38.77 MB / 263.9 MB, free: 9.867 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1241/0.4105, allocations: 70.91 MB / 334.8 MB, free: 2.855 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002805/0.4109, allocations: 71.97 kB / 334.8 MB, free: 2.785 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04269/0.4536, allocations: 9.434 MB / 344.3 MB, free: 9.289 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4536, allocations: 0 / 344.3 MB, free: 9.289 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.824e-05/0.4537, allocations: 12 kB / 344.3 MB, free: 9.277 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.001764/0.4555, allocations: 0.7181 MB / 345 MB, free: 8.504 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.424e-05/0.4555, allocations: 8.031 kB / 345 MB, free: 8.496 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001636/0.4557, allocations: 79.23 kB / 345.1 MB, free: 8.41 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001601/0.4559, allocations: 63.25 kB / 345.1 MB, free: 8.348 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008212/0.4567, allocations: 381.9 kB / 345.5 MB, free: 7.938 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001443/0.4569, allocations: 62.81 kB / 345.6 MB, free: 7.871 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.217e-05/0.457, allocations: 31.95 kB / 345.6 MB, free: 7.84 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001009/0.458, allocations: 451.9 kB / 346 MB, free: 7.344 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.089e-05/0.458, allocations: 0 / 346 MB, free: 7.344 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.263e-05/0.4581, allocations: 12 kB / 346.1 MB, free: 7.332 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.418e-05/0.4581, allocations: 8 kB / 346.1 MB, free: 7.324 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008079/0.459, allocations: 269.5 kB / 346.3 MB, free: 7.062 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003362/0.4623, allocations: 1.284 MB / 347.6 MB, free: 5.703 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008529/0.4632, allocations: 367.7 kB / 348 MB, free: 5.316 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003959/0.4636, allocations: 148.9 kB / 348.1 MB, free: 5.168 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.521e-05/0.4637, allocations: 15.98 kB / 348.1 MB, free: 5.152 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.362e-05/0.4638, allocations: 38.56 kB / 348.2 MB, free: 5.105 MB / 298.7 MB Notification: Performance of pre-optimization done (n=36): time 3.697e-06/0.4638, allocations: 0 / 348.2 MB, free: 5.105 MB / 298.7 MB Notification: Performance of matching and sorting (n=36): time 0.001136/0.4649, allocations: 351.2 kB / 348.5 MB, free: 4.75 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002472/0.4652, allocations: 448.9 kB / 349 MB, free: 4.207 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000713/0.4659, allocations: 379.2 kB / 349.3 MB, free: 3.836 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.167e-05/0.466, allocations: 33.7 kB / 349.4 MB, free: 3.797 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000232/0.4663, allocations: 282.7 kB / 349.6 MB, free: 3.52 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001562/0.4664, allocations: 130.2 kB / 349.8 MB, free: 3.391 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.233e-05/0.4665, allocations: 4 kB / 349.8 MB, free: 3.387 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.4666, allocations: 322.8 kB / 350.1 MB, free: 3.062 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003286/0.467, allocations: 107.8 kB / 350.2 MB, free: 2.957 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005257/0.4675, allocations: 254.3 kB / 350.4 MB, free: 2.656 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003898/0.4679, allocations: 141.7 kB / 350.6 MB, free: 2.512 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.074e-05/0.4679, allocations: 11.95 kB / 350.6 MB, free: 2.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001071/0.469, allocations: 388.8 kB / 351 MB, free: 2.102 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.964e-05/0.4691, allocations: 40.19 kB / 351 MB, free: 2.059 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/0.4691, allocations: 0 / 351 MB, free: 2.059 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002369/0.4693, allocations: 49.7 kB / 351 MB, free: 2.004 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008178/0.4702, allocations: 91.91 kB / 351.1 MB, free: 1.914 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003239/0.4734, allocations: 2.721 MB / 353.9 MB, free: 14.92 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007734/0.4743, allocations: 67.77 kB / 353.9 MB, free: 14.85 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.718e-05/0.4743, allocations: 12 kB / 353.9 MB, free: 14.84 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.0001925/0.4745, allocations: 132.9 kB / 354.1 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001327/0.4747, allocations: 47.44 kB / 354.1 MB, free: 14.66 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001577/0.4748, allocations: 53.39 kB / 354.2 MB, free: 14.61 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.243e-06/0.4749, allocations: 8 kB / 354.2 MB, free: 14.6 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.4749, allocations: 0 / 354.2 MB, free: 14.6 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009668/0.4759, allocations: 0.6725 MB / 354.8 MB, free: 13.82 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002124/0.478, allocations: 0.9543 MB / 355.8 MB, free: 12.8 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.478, allocations: 0 / 355.8 MB, free: 12.8 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008924/0.4789, allocations: 103.9 kB / 355.9 MB, free: 12.7 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-05/0.479, allocations: 8 kB / 355.9 MB, free: 12.69 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.687e-05/0.479, allocations: 4 kB / 355.9 MB, free: 12.69 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.105e-06/0.479, allocations: 4 kB / 355.9 MB, free: 12.68 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.479, allocations: 0 / 355.9 MB, free: 12.68 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001303/0.4804, allocations: 0.5577 MB / 356.5 MB, free: 12.11 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001918/0.4806, allocations: 128.5 kB / 356.6 MB, free: 11.96 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/0.4807, allocations: 12.06 kB / 356.6 MB, free: 11.95 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005619/0.4813, allocations: 35.97 kB / 356.6 MB, free: 11.92 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.4814, allocations: 23.95 kB / 356.7 MB, free: 11.89 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.412e-05/0.4814, allocations: 8 kB / 356.7 MB, free: 11.89 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000583/0.482, allocations: 309.2 kB / 357 MB, free: 11.59 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.482, allocations: 0 / 357 MB, free: 11.59 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007171/0.4828, allocations: 143.8 kB / 357.1 MB, free: 11.45 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.001785/0.4846, allocations: 1.129 MB / 358.2 MB, free: 10.29 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001361/0.486, allocations: 0.5573 MB / 358.8 MB, free: 9.699 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.379e-06/0.486, allocations: 0 / 358.8 MB, free: 9.699 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003895/0.4864, allocations: 147.9 kB / 359 MB, free: 9.555 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001021/0.4874, allocations: 122.1 kB / 359.1 MB, free: 9.434 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002499/0.4899, allocations: 0.781 MB / 359.9 MB, free: 8.609 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005243/0.4905, allocations: 0.8354 MB / 360.7 MB, free: 7.742 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004177/0.4909, allocations: 159.4 kB / 360.8 MB, free: 7.59 MB / 314.7 MB Notification: Performance of SimCode: time 9.71e-07/0.4909, allocations: 4 kB / 360.8 MB, free: 7.586 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.068/3.558, allocations: 10.28 MB / 371.1 MB, free: 91.03 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