Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.25/2.25, allocations: 195 MB / 202.9 MB, free: 6.727 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.991e-05/2.993e-05, allocations: 2.688 kB / 249.8 MB, free: 5.23 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1101, allocations: 44.5 MB / 294.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4938/0.6039, allocations: 74.96 MB / 369.2 MB, free: 7.168 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002967/0.6043, allocations: 69.17 kB / 369.3 MB, free: 7.168 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04353/0.6478, allocations: 8.889 MB / 378.2 MB, free: 21.75 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.6479, allocations: 4 kB / 378.2 MB, free: 21.75 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.237e-05/0.6479, allocations: 15.5 kB / 378.2 MB, free: 21.74 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001519/0.6495, allocations: 0.6678 MB / 378.9 MB, free: 21.2 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.739e-05/0.6495, allocations: 7.281 kB / 378.9 MB, free: 21.2 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000169/0.6497, allocations: 58.12 kB / 379 MB, free: 21.17 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007984/0.6505, allocations: 368.4 kB / 379.3 MB, free: 20.89 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001416/0.6507, allocations: 57.31 kB / 379.4 MB, free: 20.85 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.533e-05/0.6508, allocations: 15.59 kB / 379.4 MB, free: 20.85 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008075/0.6516, allocations: 243.4 kB / 379.6 MB, free: 20.84 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008679/0.6525, allocations: 389.1 kB / 380 MB, free: 20.62 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.388e-05/0.6525, allocations: 0 / 380 MB, free: 20.62 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.688e-05/0.6526, allocations: 0 / 380 MB, free: 20.62 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/0.6526, allocations: 7.688 kB / 380 MB, free: 20.62 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003262/0.6559, allocations: 1.15 MB / 381.2 MB, free: 19.96 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002028/0.658, allocations: 413.5 kB / 381.6 MB, free: 19.81 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003356/0.6583, allocations: 125.9 kB / 381.7 MB, free: 19.79 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.36e-05/0.6584, allocations: 4.156 kB / 381.7 MB, free: 19.79 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.983e-05/0.6584, allocations: 42.19 kB / 381.7 MB, free: 19.75 MB / 314.7 MB Notification: Performance of pre-optimization done (n=33): time 3.667e-06/0.6585, allocations: 0 / 381.7 MB, free: 19.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=33): time 0.001154/0.6596, allocations: 312.9 kB / 382 MB, free: 19.65 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001725/0.6598, allocations: 456.1 kB / 382.5 MB, free: 19.11 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006091/0.6604, allocations: 320.1 kB / 382.8 MB, free: 18.98 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.9e-05/0.6606, allocations: 29.69 kB / 382.8 MB, free: 18.94 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002104/0.6608, allocations: 227.4 kB / 383 MB, free: 18.8 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001253/0.6609, allocations: 106.9 kB / 383.2 MB, free: 18.72 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.245e-05/0.661, allocations: 0 / 383.2 MB, free: 18.72 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.6611, allocations: 352.2 kB / 383.5 MB, free: 18.39 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002883/0.6614, allocations: 90.44 kB / 383.6 MB, free: 18.39 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004054/0.6619, allocations: 224 kB / 383.8 MB, free: 18.25 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003522/0.6622, allocations: 122.5 kB / 383.9 MB, free: 18.22 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.6622, allocations: 0 / 383.9 MB, free: 18.22 MB / 314.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001212/0.6635, allocations: 363 kB / 384.3 MB, free: 18.12 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.37e-05/0.6635, allocations: 33.36 kB / 384.3 MB, free: 18.09 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.829e-06/0.6636, allocations: 0 / 384.3 MB, free: 18.09 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000549/0.6641, allocations: 74.47 kB / 384.4 MB, free: 18.05 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007369/0.6649, allocations: 73.33 kB / 384.5 MB, free: 18.04 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00378/0.6687, allocations: 2.652 MB / 387.1 MB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000704/0.6694, allocations: 42.97 kB / 387.1 MB, free: 15.51 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.051e-05/0.6695, allocations: 11.12 kB / 387.2 MB, free: 15.51 MB / 314.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 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 {1 3,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002757/0.6698, allocations: 120.5 kB / 387.3 MB, free: 15.39 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00106/0.6709, allocations: 313.4 kB / 387.6 MB, free: 15.29 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001218/0.671, allocations: 46.86 kB / 387.6 MB, free: 15.27 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001936/0.6712, allocations: 39.72 kB / 387.7 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.6712, allocations: 3.906 kB / 387.7 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.6713, allocations: 0 / 387.7 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009029/0.6722, allocations: 0.6167 MB / 388.3 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001891/0.6741, allocations: 0.8101 MB / 389.1 MB, free: 14.23 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.6741, allocations: 0 / 389.1 MB, free: 14.23 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007988/0.6749, allocations: 73.83 kB / 389.2 MB, free: 14.22 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.297e-06/0.6749, allocations: 0 / 389.2 MB, free: 14.22 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.74e-05/0.675, allocations: 3.875 kB / 389.2 MB, free: 14.22 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.675, allocations: 0 / 389.2 MB, free: 14.22 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.675, allocations: 0 / 389.2 MB, free: 14.22 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001091/0.6761, allocations: 491.3 kB / 389.7 MB, free: 14.02 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001919/0.6763, allocations: 122.9 kB / 389.8 MB, free: 13.9 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001259/0.6765, allocations: 0 / 389.8 MB, free: 13.9 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005081/0.677, allocations: 11.77 kB / 389.8 MB, free: 13.9 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.911e-05/0.6771, allocations: 23.25 kB / 389.8 MB, free: 13.89 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.448e-05/0.6771, allocations: 15.19 kB / 389.8 MB, free: 13.88 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004502/0.6776, allocations: 248.6 kB / 390.1 MB, free: 13.79 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.6776, allocations: 0 / 390.1 MB, free: 13.79 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008339/0.6785, allocations: 132.4 kB / 390.2 MB, free: 13.77 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 (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.001488/0.68, allocations: 1.013 MB / 391.2 MB, free: 13.05 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001586/0.6816, allocations: 0.5207 MB / 391.7 MB, free: 12.76 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.6816, allocations: 0 / 391.7 MB, free: 12.76 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003/0.6819, allocations: 122 kB / 391.8 MB, free: 12.74 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000976/0.6829, allocations: 97.64 kB / 391.9 MB, free: 12.71 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002408/0.6853, allocations: 0.6523 MB / 392.6 MB, free: 12.33 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004605/0.6858, allocations: 0.8243 MB / 393.4 MB, free: 11.57 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004285/0.6862, allocations: 50.44 kB / 393.5 MB, free: 11.54 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003516/0.6866, allocations: 148.7 kB / 393.6 MB, free: 11.52 MB / 314.7 MB Notification: Performance of SimCode: time 1.432e-06/0.6866, allocations: 0 / 393.6 MB, free: 11.52 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06924/0.7559, allocations: 9.665 MB / 403.3 MB, free: 6.902 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003317/0.7563, allocations: 149.8 kB / 403.4 MB, free: 6.707 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.595/4.351, allocations: 3.781 kB / 403.4 MB, free: 6.707 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat does not exist to compare? outputFormat=mat