Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.966/1.966, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.541e-05/2.557e-05, allocations: 4 kB / 249.7 MB, free: 15.2 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3006/0.3007, allocations: 44.49 MB / 294.2 MB, free: 14.21 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1354/0.4362, allocations: 75.57 MB / 369.8 MB, free: 6.316 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002774/0.4365, allocations: 71.95 kB / 369.8 MB, free: 6.246 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04239/0.4789, allocations: 9.345 MB / 379.2 MB, free: 12.85 MB / 330.7 MB Notification: Performance of FrontEnd: time 5.661e-06/0.479, allocations: 8 kB / 379.2 MB, free: 12.84 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.131e-05/0.479, allocations: 8 kB / 379.2 MB, free: 12.83 MB / 330.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.001946/0.481, allocations: 0.7104 MB / 379.9 MB, free: 12.07 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.868e-05/0.4811, allocations: 12.03 kB / 379.9 MB, free: 12.06 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002367/0.4813, allocations: 59.34 kB / 380 MB, free: 12 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009071/0.4822, allocations: 388.2 kB / 380.4 MB, free: 11.58 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001358/0.4824, allocations: 54.47 kB / 380.4 MB, free: 11.52 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.463e-05/0.4825, allocations: 24 kB / 380.4 MB, free: 11.5 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008023/0.4833, allocations: 249.5 kB / 380.7 MB, free: 11.25 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008817/0.4842, allocations: 394.2 kB / 381.1 MB, free: 10.82 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.173e-05/0.4843, allocations: 0 / 381.1 MB, free: 10.82 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.18e-05/0.4844, allocations: 0 / 381.1 MB, free: 10.82 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.452e-05/0.4844, allocations: 8 kB / 381.1 MB, free: 10.81 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003471/0.4879, allocations: 1.191 MB / 382.3 MB, free: 9.551 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007796/0.4887, allocations: 351.8 kB / 382.6 MB, free: 9.18 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003676/0.4891, allocations: 144.8 kB / 382.7 MB, free: 9.035 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.7e-05/0.4892, allocations: 7.984 kB / 382.8 MB, free: 9.027 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.25e-05/0.4892, allocations: 39.22 kB / 382.8 MB, free: 8.98 MB / 330.7 MB Notification: Performance of pre-optimization done (n=36): time 3.556e-06/0.4893, allocations: 4 kB / 382.8 MB, free: 8.977 MB / 330.7 MB Notification: Performance of matching and sorting (n=36): time 0.001224/0.4905, allocations: 351.1 kB / 383.1 MB, free: 8.621 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002312/0.4907, allocations: 445 kB / 383.6 MB, free: 8.082 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007589/0.4915, allocations: 341.3 kB / 383.9 MB, free: 7.738 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001069/0.4916, allocations: 25.7 kB / 383.9 MB, free: 7.707 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002239/0.4919, allocations: 278.9 kB / 384.2 MB, free: 7.434 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001656/0.4921, allocations: 126.1 kB / 384.3 MB, free: 7.309 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.018e-05/0.4921, allocations: 4 kB / 384.3 MB, free: 7.305 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.4923, allocations: 326.8 kB / 384.7 MB, free: 6.977 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003038/0.4926, allocations: 92 kB / 384.7 MB, free: 6.887 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004571/0.493, allocations: 242.3 kB / 385 MB, free: 6.598 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003528/0.4934, allocations: 121 kB / 385.1 MB, free: 6.48 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.4934, allocations: 0 / 385.1 MB, free: 6.48 MB / 330.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.00112/0.4946, allocations: 355.2 kB / 385.4 MB, free: 6.121 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.271e-05/0.4946, allocations: 29.7 kB / 385.5 MB, free: 6.086 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.4947, allocations: 4 kB / 385.5 MB, free: 6.082 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003842/0.4951, allocations: 57.69 kB / 385.5 MB, free: 6.02 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008266/0.4959, allocations: 91.88 kB / 385.6 MB, free: 5.93 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003074/0.499, allocations: 2.638 MB / 388.3 MB, free: 3.062 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007809/0.4998, allocations: 51.66 kB / 388.3 MB, free: 3.012 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.474e-05/0.4999, allocations: 8 kB / 388.3 MB, free: 3.004 MB / 330.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient2.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pipe.flowPort_a.h:VARIABLE(flow=false unit = "J/kg" ) type: Real ambient1.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real 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.0002882/0.5002, allocations: 136.8 kB / 388.5 MB, free: 2.863 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0011/0.5013, allocations: 346.9 kB / 388.8 MB, free: 2.512 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001446/0.5015, allocations: 47.48 kB / 388.8 MB, free: 2.465 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001687/0.5017, allocations: 44.86 kB / 388.9 MB, free: 2.418 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.255e-06/0.5017, allocations: 4 kB / 388.9 MB, free: 2.414 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.5017, allocations: 0 / 388.9 MB, free: 2.414 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008843/0.5026, allocations: 0.6531 MB / 389.5 MB, free: 1.656 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002097/0.5047, allocations: 0.8806 MB / 390.4 MB, free: 0.7188 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.5048, allocations: 4 kB / 390.4 MB, free: 0.7148 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008646/0.5057, allocations: 91.94 kB / 390.5 MB, free: 0.625 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.957e-06/0.5057, allocations: 0 / 390.5 MB, free: 0.625 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.196e-05/0.5057, allocations: 4 kB / 390.5 MB, free: 0.6211 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/0.5058, allocations: 3.938 kB / 390.5 MB, free: 0.6172 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.5058, allocations: 0 / 390.5 MB, free: 0.6172 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001282/0.5071, allocations: 0.5381 MB / 391.1 MB, free: 64 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002624/0.5074, allocations: 128.5 kB / 391.2 MB, free: 15.92 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001286/0.5075, allocations: 4 kB / 391.2 MB, free: 15.91 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005648/0.5081, allocations: 23.97 kB / 391.2 MB, free: 15.89 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001144/0.5082, allocations: 27.91 kB / 391.2 MB, free: 15.86 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-05/0.5083, allocations: 16.06 kB / 391.3 MB, free: 15.85 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000502/0.5088, allocations: 271 kB / 391.5 MB, free: 15.59 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.5088, allocations: 4 kB / 391.5 MB, free: 15.58 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007469/0.5096, allocations: 123.8 kB / 391.6 MB, free: 15.46 MB / 346.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.001731/0.5113, allocations: 1.094 MB / 392.7 MB, free: 14.34 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001327/0.5127, allocations: 0.5385 MB / 393.3 MB, free: 13.77 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.5127, allocations: 0 / 393.3 MB, free: 13.77 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003783/0.5131, allocations: 147.6 kB / 393.4 MB, free: 13.63 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009904/0.5141, allocations: 117.1 kB / 393.5 MB, free: 13.52 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002697/0.5168, allocations: 0.7323 MB / 394.3 MB, free: 12.74 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004817/0.5174, allocations: 0.8313 MB / 395.1 MB, free: 11.88 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004647/0.5179, allocations: 159.4 kB / 395.3 MB, free: 11.73 MB / 346.7 MB Notification: Performance of SimCode: time 1.162e-06/0.5179, allocations: 0 / 395.3 MB, free: 11.73 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.913/3.431, allocations: 10.05 MB / 405.3 MB, free: 1.691 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat does not exist to compare? outputFormat=mat