Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.056/2.056, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 8.006e-05/8.017e-05, allocations: 4 kB / 292.2 MB, free: 8.242 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1195, allocations: 50.4 MB / 342.6 MB, free: 5.816 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4947/0.6143, allocations: 80.49 MB / 423.1 MB, free: 13.39 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002766/0.6146, allocations: 65.91 kB / 423.2 MB, free: 13.36 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03982/0.6545, allocations: 9.351 MB / 432.5 MB, free: 5.527 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.6545, allocations: 0 / 432.5 MB, free: 5.527 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.62e-05/0.6546, allocations: 15.94 kB / 432.6 MB, free: 5.512 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001601/0.6562, allocations: 0.6815 MB / 433.2 MB, free: 4.809 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.866e-05/0.6563, allocations: 12.03 kB / 433.3 MB, free: 4.797 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001612/0.6565, allocations: 73 kB / 433.3 MB, free: 4.738 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001673/0.6566, allocations: 63.25 kB / 433.4 MB, free: 4.676 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007918/0.6574, allocations: 371.1 kB / 433.8 MB, free: 4.32 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001448/0.6576, allocations: 61.41 kB / 433.8 MB, free: 4.266 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.524e-05/0.6577, allocations: 35 kB / 433.8 MB, free: 4.242 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009622/0.6587, allocations: 438.5 kB / 434.3 MB, free: 3.875 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.297e-05/0.6587, allocations: 7.953 kB / 434.3 MB, free: 3.867 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.03e-05/0.6588, allocations: 14.5 kB / 434.3 MB, free: 3.863 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.4e-05/0.6588, allocations: 8 kB / 434.3 MB, free: 3.855 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000732/0.6596, allocations: 261.1 kB / 434.6 MB, free: 3.688 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003268/0.6628, allocations: 1.265 MB / 435.8 MB, free: 2.637 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001847/0.6647, allocations: 429.6 kB / 436.2 MB, free: 2.285 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003404/0.6651, allocations: 135.3 kB / 436.4 MB, free: 2.199 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.828e-05/0.6652, allocations: 4.281 kB / 436.4 MB, free: 2.195 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.972e-05/0.6652, allocations: 42.78 kB / 436.4 MB, free: 2.148 MB / 346.7 MB Notification: Performance of pre-optimization done (n=33): time 3.667e-06/0.6652, allocations: 0 / 436.4 MB, free: 2.148 MB / 346.7 MB Notification: Performance of matching and sorting (n=33): time 0.0009915/0.6662, allocations: 329.6 kB / 436.7 MB, free: 1.895 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002061/0.6665, allocations: 448.8 kB / 437.2 MB, free: 1.355 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007134/0.6672, allocations: 392.8 kB / 437.6 MB, free: 1.059 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.242e-05/0.6673, allocations: 32.77 kB / 437.6 MB, free: 1.023 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002209/0.6675, allocations: 244 kB / 437.8 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001558/0.6677, allocations: 116.4 kB / 437.9 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.854e-05/0.6677, allocations: 6.375 kB / 438 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000165/0.6679, allocations: 360.2 kB / 438.3 MB, free: 428 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003072/0.6682, allocations: 98.42 kB / 438.4 MB, free: 368 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004607/0.6687, allocations: 240.4 kB / 438.6 MB, free: 128 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003604/0.669, allocations: 147.2 kB / 438.8 MB, free: 20 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/0.6691, allocations: 4 kB / 438.8 MB, free: 16 kB / 346.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001074/0.6701, allocations: 406.5 kB / 439.2 MB, free: 15.7 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.755e-05/0.6702, allocations: 33.7 kB / 439.2 MB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.6702, allocations: 0 / 439.2 MB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002361/0.6705, allocations: 52.19 kB / 439.3 MB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006349/0.6711, allocations: 71.27 kB / 439.3 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003879/0.675, allocations: 2.73 MB / 442.1 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001071/0.6762, allocations: 55 kB / 442.1 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.632e-05/0.6763, allocations: 15.94 kB / 442.1 MB, free: 12.65 MB / 362.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 (37): * Single equations (assignments): 34 * 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.0002766/0.6766, allocations: 134.9 kB / 442.3 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000258/0.6769, allocations: 47.44 kB / 442.3 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002669/0.6771, allocations: 50.44 kB / 442.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.81e-05/0.6772, allocations: 4 kB / 442.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.6772, allocations: 3.938 kB / 442.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001629/0.6789, allocations: 0.6358 MB / 443 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003609/0.6825, allocations: 0.8952 MB / 443.9 MB, free: 11.01 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.584e-06/0.6826, allocations: 0 / 443.9 MB, free: 11.01 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008928/0.6835, allocations: 71.77 kB / 444 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-05/0.6835, allocations: 0 / 444 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.668e-05/0.6836, allocations: 7.938 kB / 444 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.867e-06/0.6836, allocations: 3.938 kB / 444 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.6836, allocations: 3.953 kB / 444 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001963/0.6856, allocations: 0.5009 MB / 444.5 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004718/0.6861, allocations: 158.3 kB / 444.6 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001545/0.6863, allocations: 11.78 kB / 444.7 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006873/0.687, allocations: 19.38 kB / 444.7 MB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.6871, allocations: 27.55 kB / 444.7 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.359e-05/0.6872, allocations: 4 kB / 444.7 MB, free: 10.34 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0008667/0.6881, allocations: 315.9 kB / 445 MB, free: 10.11 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.01e-07/0.6881, allocations: 0 / 445 MB, free: 10.11 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001142/0.6893, allocations: 144.7 kB / 445.2 MB, free: 9.977 MB / 362.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 (33): * Single equations (assignments): 33 * 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.002286/0.6916, allocations: 1.059 MB / 446.2 MB, free: 9.023 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001922/0.6935, allocations: 0.541 MB / 446.8 MB, free: 8.539 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.308e-05/0.6936, allocations: 4 kB / 446.8 MB, free: 8.535 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004812/0.6941, allocations: 112 kB / 446.9 MB, free: 8.457 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001612/0.6957, allocations: 118.2 kB / 447 MB, free: 8.375 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003718/0.6995, allocations: 0.717 MB / 447.7 MB, free: 7.691 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006861/0.7002, allocations: 0.8315 MB / 448.5 MB, free: 6.828 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006522/0.7009, allocations: 60.23 kB / 448.6 MB, free: 6.77 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004584/0.7014, allocations: 160.9 kB / 448.7 MB, free: 6.719 MB / 362.7 MB Notification: Performance of SimCode: time 1.823e-06/0.7014, allocations: 0 / 448.7 MB, free: 6.719 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05763/0.7591, allocations: 11.34 MB / 460.1 MB, free: 11.55 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003462/0.7595, allocations: 188.5 kB / 460.3 MB, free: 11.32 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.195/3.954, allocations: 3.938 kB / 460.3 MB, free: 11.32 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat does not exist to compare? outputFormat=mat