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.055/2.055, allocations: 194.9 MB / 208 MB, free: 3.184 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.208e-05/3.222e-05, allocations: 4 kB / 255.5 MB, free: 2.617 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09795/0.09802, allocations: 44.51 MB / 300 MB, free: 6.047 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5329/0.631, allocations: 76.23 MB / 376.2 MB, free: 12.45 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002623/0.6313, allocations: 71.28 kB / 376.3 MB, free: 12.45 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04033/0.6717, allocations: 9.461 MB / 385.7 MB, free: 11.35 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.195e-06/0.6717, allocations: 1.344 kB / 385.7 MB, free: 11.35 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.114e-05/0.6718, allocations: 8.781 kB / 385.7 MB, free: 11.35 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001669/0.6735, allocations: 0.7209 MB / 386.5 MB, free: 10.84 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.144e-05/0.6735, allocations: 11.66 kB / 386.5 MB, free: 10.84 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001447/0.6737, allocations: 87.38 kB / 386.6 MB, free: 10.79 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001535/0.6738, allocations: 58.31 kB / 386.6 MB, free: 10.76 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007081/0.6746, allocations: 380 kB / 387 MB, free: 10.51 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001244/0.6747, allocations: 62.28 kB / 387.1 MB, free: 10.47 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.035e-05/0.6748, allocations: 29.47 kB / 387.1 MB, free: 10.47 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008685/0.6757, allocations: 441.4 kB / 387.5 MB, free: 10.3 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.019e-05/0.6757, allocations: 0 / 387.5 MB, free: 10.3 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.035e-05/0.6758, allocations: 17.34 kB / 387.5 MB, free: 10.3 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.252e-05/0.6758, allocations: 11.09 kB / 387.5 MB, free: 10.3 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006974/0.6765, allocations: 268.2 kB / 387.8 MB, free: 10.29 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003125/0.6797, allocations: 1.28 MB / 389.1 MB, free: 9.812 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007119/0.6804, allocations: 372.7 kB / 389.4 MB, free: 9.684 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003274/0.6808, allocations: 154.6 kB / 389.6 MB, free: 9.672 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.569e-05/0.6808, allocations: 6.844 kB / 389.6 MB, free: 9.672 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.6809, allocations: 37.59 kB / 389.6 MB, free: 9.633 MB / 314.7 MB Notification: Performance of pre-optimization done (n=36): time 2.726e-06/0.6809, allocations: 0 / 389.6 MB, free: 9.633 MB / 314.7 MB Notification: Performance of matching and sorting (n=36): time 0.0009782/0.6819, allocations: 358.4 kB / 390 MB, free: 9.555 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001149/0.682, allocations: 452.1 kB / 390.4 MB, free: 9.016 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006075/0.6826, allocations: 391 kB / 390.8 MB, free: 8.902 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.238e-05/0.6827, allocations: 29.64 kB / 390.8 MB, free: 8.871 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001708/0.6829, allocations: 240.5 kB / 391.1 MB, free: 8.754 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001198/0.683, allocations: 129.3 kB / 391.2 MB, free: 8.676 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.133e-05/0.6831, allocations: 3.188 kB / 391.2 MB, free: 8.676 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.652e-05/0.6832, allocations: 355.3 kB / 391.6 MB, free: 8.363 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002989/0.6835, allocations: 108.8 kB / 391.7 MB, free: 8.363 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004051/0.6839, allocations: 243.1 kB / 391.9 MB, free: 8.223 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003498/0.6842, allocations: 159 kB / 392.1 MB, free: 8.18 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.6843, allocations: 0 / 392.1 MB, free: 8.18 MB / 314.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009927/0.6853, allocations: 419.3 kB / 392.5 MB, free: 8.066 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.86e-05/0.6853, allocations: 33.52 kB / 392.5 MB, free: 8.035 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.6853, allocations: 0 / 392.5 MB, free: 8.035 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002149/0.6856, allocations: 56.05 kB / 392.6 MB, free: 8.012 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007668/0.6863, allocations: 90.59 kB / 392.6 MB, free: 8.008 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002643/0.689, allocations: 2.743 MB / 395.4 MB, free: 21.46 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007968/0.6898, allocations: 58.06 kB / 395.4 MB, free: 21.45 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.536e-05/0.6899, allocations: 13.5 kB / 395.5 MB, free: 21.45 MB / 330.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.0001881/0.6901, allocations: 138.5 kB / 395.6 MB, free: 21.32 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001187/0.6902, allocations: 50.84 kB / 395.6 MB, free: 21.3 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001497/0.6904, allocations: 54.98 kB / 395.7 MB, free: 21.29 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.6904, allocations: 3.906 kB / 395.7 MB, free: 21.29 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.6904, allocations: 3.953 kB / 395.7 MB, free: 21.29 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008743/0.6913, allocations: 0.6617 MB / 396.4 MB, free: 20.75 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001923/0.6932, allocations: 0.963 MB / 397.3 MB, free: 20.39 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.6933, allocations: 0 / 397.3 MB, free: 20.39 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008356/0.6941, allocations: 94.67 kB / 397.4 MB, free: 20.39 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.889e-06/0.6942, allocations: 3.953 kB / 397.4 MB, free: 20.38 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.642e-05/0.6942, allocations: 3.984 kB / 397.4 MB, free: 20.38 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.031e-06/0.6942, allocations: 6.5 kB / 397.4 MB, free: 20.38 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.6942, allocations: 0 / 397.4 MB, free: 20.38 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001154/0.6954, allocations: 0.5648 MB / 398 MB, free: 20.21 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002183/0.6956, allocations: 131.6 kB / 398.1 MB, free: 20.09 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001143/0.6958, allocations: 14.64 kB / 398.1 MB, free: 20.08 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005761/0.6963, allocations: 40.73 kB / 398.2 MB, free: 20.08 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.435e-05/0.6965, allocations: 25.45 kB / 398.2 MB, free: 20.07 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.058e-05/0.6965, allocations: 11.88 kB / 398.2 MB, free: 20.07 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000504/0.697, allocations: 306.9 kB / 398.5 MB, free: 19.98 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.697, allocations: 0 / 398.5 MB, free: 19.98 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007003/0.6977, allocations: 141.9 kB / 398.7 MB, free: 19.98 MB / 330.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.001594/0.6993, allocations: 1.123 MB / 399.8 MB, free: 19.27 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001275/0.7006, allocations: 0.5611 MB / 400.3 MB, free: 18.98 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.7007, allocations: 0 / 400.3 MB, free: 18.98 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003377/0.701, allocations: 141.6 kB / 400.5 MB, free: 18.98 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/0.702, allocations: 125.4 kB / 400.6 MB, free: 18.96 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002365/0.7044, allocations: 0.7372 MB / 401.3 MB, free: 18.64 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004891/0.7049, allocations: 0.8326 MB / 402.2 MB, free: 17.94 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004192/0.7054, allocations: 60.17 kB / 402.2 MB, free: 17.93 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003254/0.7057, allocations: 166.6 kB / 402.4 MB, free: 17.91 MB / 330.7 MB Notification: Performance of SimCode: time 2.204e-06/0.7057, allocations: 0 / 402.4 MB, free: 17.91 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04452/0.7503, allocations: 11.77 MB / 414.2 MB, free: 14.26 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001901/0.7505, allocations: 178.9 kB / 414.3 MB, free: 14.04 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.149/3.899, allocations: 0 / 414.3 MB, free: 14.04 MB / 330.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