Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_3_2_2_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.334/2.334, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.405e-05/2.404e-05, allocations: 0 / 249.7 MB, free: 14.82 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3247/0.3247, allocations: 44.49 MB / 294.2 MB, free: 14.42 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1484/0.4732, allocations: 75.58 MB / 369.8 MB, free: 6.34 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003034/0.4736, allocations: 63.97 kB / 369.9 MB, free: 6.277 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04329/0.5169, allocations: 9.346 MB / 379.2 MB, free: 12.88 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.395e-06/0.517, allocations: 4 kB / 379.2 MB, free: 12.88 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.586e-05/0.517, allocations: 12 kB / 379.2 MB, free: 12.86 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.002345/0.5194, allocations: 0.7143 MB / 379.9 MB, free: 12.1 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.056e-05/0.5195, allocations: 12.03 kB / 380 MB, free: 12.09 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004173/0.5199, allocations: 59.34 kB / 380 MB, free: 12.03 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001281/0.5212, allocations: 392.2 kB / 380.4 MB, free: 11.61 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001503/0.5214, allocations: 50.48 kB / 380.4 MB, free: 11.55 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.568e-05/0.5215, allocations: 20 kB / 380.5 MB, free: 11.53 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008838/0.5224, allocations: 249.5 kB / 380.7 MB, free: 11.29 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009809/0.5234, allocations: 393.3 kB / 381.1 MB, free: 10.85 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.522e-05/0.5235, allocations: 0 / 381.1 MB, free: 10.85 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.445e-05/0.5236, allocations: 0 / 381.1 MB, free: 10.85 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.535e-05/0.5236, allocations: 8 kB / 381.1 MB, free: 10.84 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003806/0.5274, allocations: 1.191 MB / 382.3 MB, free: 9.582 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008689/0.5283, allocations: 359.8 kB / 382.6 MB, free: 9.203 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000367/0.5287, allocations: 133.5 kB / 382.8 MB, free: 9.07 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.942e-05/0.5288, allocations: 8 kB / 382.8 MB, free: 9.062 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.892e-05/0.5289, allocations: 42.55 kB / 382.8 MB, free: 9.012 MB / 330.7 MB Notification: Performance of pre-optimization done (n=36): time 7.364e-06/0.5289, allocations: 7.984 kB / 382.8 MB, free: 9.004 MB / 330.7 MB Notification: Performance of matching and sorting (n=36): time 0.001292/0.5302, allocations: 351.1 kB / 383.2 MB, free: 8.648 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00028/0.5306, allocations: 444.9 kB / 383.6 MB, free: 8.109 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008126/0.5314, allocations: 345.2 kB / 383.9 MB, free: 7.762 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001211/0.5315, allocations: 29.7 kB / 384 MB, free: 7.727 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002605/0.5318, allocations: 232.5 kB / 384.2 MB, free: 7.496 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001829/0.532, allocations: 126.1 kB / 384.3 MB, free: 7.371 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.953e-05/0.532, allocations: 4 kB / 384.3 MB, free: 7.367 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002207/0.5323, allocations: 350.8 kB / 384.7 MB, free: 7.016 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003048/0.5326, allocations: 99.98 kB / 384.8 MB, free: 6.918 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004663/0.5331, allocations: 238.3 kB / 385 MB, free: 6.633 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003545/0.5334, allocations: 120.4 kB / 385.1 MB, free: 6.52 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.5335, allocations: 4 kB / 385.1 MB, free: 6.516 MB / 330.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001324/0.5348, allocations: 386.7 kB / 385.5 MB, free: 6.125 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.593e-05/0.5349, allocations: 33.7 kB / 385.5 MB, free: 6.086 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.5349, allocations: 0 / 385.5 MB, free: 6.086 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003889/0.5353, allocations: 65.62 kB / 385.6 MB, free: 6.016 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008688/0.5362, allocations: 91.88 kB / 385.7 MB, free: 5.926 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00338/0.5396, allocations: 2.627 MB / 388.3 MB, free: 3.07 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007983/0.5405, allocations: 51.7 kB / 388.4 MB, free: 3.02 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.248e-05/0.5406, allocations: 12 kB / 388.4 MB, free: 3.008 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.0004087/0.541, allocations: 129 kB / 388.5 MB, free: 2.875 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001225/0.5423, allocations: 346.9 kB / 388.8 MB, free: 2.523 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002193/0.5425, allocations: 47.48 kB / 388.9 MB, free: 2.477 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001718/0.5427, allocations: 44.86 kB / 388.9 MB, free: 2.43 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.709e-06/0.5427, allocations: 7.984 kB / 388.9 MB, free: 2.422 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.5428, allocations: 4 kB / 388.9 MB, free: 2.418 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001042/0.5438, allocations: 0.6492 MB / 389.6 MB, free: 1.664 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002762/0.5466, allocations: 0.8729 MB / 390.5 MB, free: 0.7344 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.664e-06/0.5467, allocations: 4 kB / 390.5 MB, free: 0.7305 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001331/0.5481, allocations: 99.88 kB / 390.6 MB, free: 0.6328 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.315e-05/0.5481, allocations: 0 / 390.6 MB, free: 0.6328 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.959e-05/0.5482, allocations: 7.984 kB / 390.6 MB, free: 0.625 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.261e-06/0.5482, allocations: 0 / 390.6 MB, free: 0.625 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.584e-06/0.5483, allocations: 0 / 390.6 MB, free: 0.625 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001287/0.5495, allocations: 0.5381 MB / 391.1 MB, free: 72 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002531/0.5498, allocations: 128.5 kB / 391.2 MB, free: 15.93 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001292/0.55, allocations: 7.938 kB / 391.2 MB, free: 15.92 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000562/0.5506, allocations: 27.97 kB / 391.3 MB, free: 15.89 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/0.5507, allocations: 19.97 kB / 391.3 MB, free: 15.87 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.485e-05/0.5508, allocations: 20.05 kB / 391.3 MB, free: 15.85 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005091/0.5513, allocations: 271 kB / 391.6 MB, free: 15.59 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.32e-07/0.5513, allocations: 0 / 391.6 MB, free: 15.59 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001054/0.5524, allocations: 123.8 kB / 391.7 MB, free: 15.47 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.001795/0.5542, allocations: 1.09 MB / 392.8 MB, free: 14.35 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001342/0.5556, allocations: 0.5384 MB / 393.3 MB, free: 13.78 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/0.5556, allocations: 0 / 393.3 MB, free: 13.78 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004092/0.5561, allocations: 147.6 kB / 393.5 MB, free: 13.64 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001266/0.5573, allocations: 117.5 kB / 393.6 MB, free: 13.53 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002784/0.5602, allocations: 0.6995 MB / 394.3 MB, free: 12.79 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005772/0.5608, allocations: 0.8313 MB / 395.1 MB, free: 11.93 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000531/0.5614, allocations: 51.44 kB / 395.2 MB, free: 11.88 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004968/0.5619, allocations: 159.4 kB / 395.3 MB, free: 11.72 MB / 346.7 MB Notification: Performance of SimCode: time 1.232e-06/0.5619, allocations: 3.938 kB / 395.3 MB, free: 11.72 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05843/0.6204, allocations: 10.31 MB / 405.6 MB, free: 1.422 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003426/0.6208, allocations: 142.2 kB / 405.8 MB, free: 1.223 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.238/3.859, allocations: 0 / 405.8 MB, free: 1.223 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat does not exist to compare? outputFormat=mat