Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,fileNamePrefix="Modelica_3_2_1_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.865/1.865, allocations: 171.3 MB / 178.4 MB, free: 164 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 3.066e-05/3.073e-05, allocations: 8 kB / 219.6 MB, free: 6.957 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2743/0.2743, allocations: 38.77 MB / 258.3 MB, free: 12.19 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1396/0.414, allocations: 70.63 MB / 329 MB, free: 7.145 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002898/0.4144, allocations: 67.97 kB / 329 MB, free: 7.078 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09382/0.5082, allocations: 17.83 MB / 346.9 MB, free: 5.129 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.236e-06/0.5083, allocations: 3.938 kB / 346.9 MB, free: 5.125 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001455/0.5085, allocations: 23.94 kB / 346.9 MB, free: 5.102 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.005492/0.514, allocations: 1.115 MB / 348 MB, free: 3.922 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.142e-05/0.5141, allocations: 8.031 kB / 348 MB, free: 3.914 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006054/0.5147, allocations: 122.7 kB / 348.1 MB, free: 3.793 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002506/0.5173, allocations: 0.5714 MB / 348.7 MB, free: 3.18 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000463/0.5178, allocations: 142.3 kB / 348.9 MB, free: 3.02 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000246/0.518, allocations: 43.98 kB / 348.9 MB, free: 2.977 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002415/0.5205, allocations: 0.5102 MB / 349.4 MB, free: 2.469 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002712/0.5232, allocations: 0.7906 MB / 350.2 MB, free: 1.559 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.977e-05/0.5233, allocations: 0 / 350.2 MB, free: 1.559 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001467/0.5235, allocations: 4 kB / 350.2 MB, free: 1.555 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.469e-05/0.5235, allocations: 16 kB / 350.2 MB, free: 1.539 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01041/0.534, allocations: 2.343 MB / 352.6 MB, free: 15.08 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007414/0.5415, allocations: 0.8484 MB / 353.4 MB, free: 14.2 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001505/0.543, allocations: 301.8 kB / 353.7 MB, free: 13.91 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001724/0.5433, allocations: 24.75 kB / 353.7 MB, free: 13.88 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.399e-05/0.5434, allocations: 47.34 kB / 353.8 MB, free: 13.83 MB / 314.7 MB Notification: Performance of pre-optimization done (n=72): time 6.282e-06/0.5434, allocations: 0 / 353.8 MB, free: 13.83 MB / 314.7 MB Notification: Performance of matching and sorting (n=72): time 0.003735/0.5471, allocations: 0.6634 MB / 354.4 MB, free: 13.14 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006859/0.5479, allocations: 0.9568 MB / 355.4 MB, free: 11.96 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001823/0.5497, allocations: 0.5505 MB / 355.9 MB, free: 11.4 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002944/0.5501, allocations: 29.7 kB / 356 MB, free: 11.36 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006411/0.5507, allocations: 396.2 kB / 356.4 MB, free: 10.97 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005064/0.5513, allocations: 240.3 kB / 356.6 MB, free: 10.73 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.74e-05/0.5514, allocations: 0 / 356.6 MB, free: 10.73 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0003398/0.5518, allocations: 394.7 kB / 357 MB, free: 10.34 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009988/0.5528, allocations: 213.5 kB / 357.2 MB, free: 10.13 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001567/0.5544, allocations: 0.5138 MB / 357.7 MB, free: 9.492 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001198/0.5556, allocations: 271.6 kB / 358 MB, free: 9.23 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.137e-06/0.5556, allocations: 0 / 358 MB, free: 9.23 MB / 314.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.004013/0.5597, allocations: 0.7767 MB / 358.7 MB, free: 8.434 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001336/0.5599, allocations: 88.7 kB / 358.8 MB, free: 8.332 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.203e-05/0.5599, allocations: 4 kB / 358.8 MB, free: 8.328 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001636/0.5616, allocations: 172.2 kB / 359 MB, free: 8.145 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002271/0.5639, allocations: 159.8 kB / 359.2 MB, free: 7.988 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01303/0.5769, allocations: 6.644 MB / 365.8 MB, free: 0.7656 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001476/0.5785, allocations: 87.41 kB / 365.9 MB, free: 0.6797 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001283/0.5786, allocations: 31.98 kB / 365.9 MB, free: 0.6484 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: outerPump.flowPort_b.H_flow:VARIABLE(flow=true unit = "W" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: absolutePressure.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: innerPipe.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: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 4 {1 3,1 1,1 3,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003991/0.5791, allocations: 140.7 kB / 366.1 MB, free: 0.5039 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.2365/0.8156, allocations: 0.6546 MB / 366.7 MB, free: 87.84 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004449/0.8161, allocations: 91.59 kB / 366.8 MB, free: 87.84 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003114/0.8164, allocations: 83.38 kB / 366.9 MB, free: 87.83 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.625e-05/0.8164, allocations: 7.125 kB / 366.9 MB, free: 87.83 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.044e-06/0.8164, allocations: 1.094 kB / 366.9 MB, free: 87.83 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001703/0.8181, allocations: 0.8818 MB / 367.8 MB, free: 87.29 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003688/0.8218, allocations: 1.523 MB / 369.3 MB, free: 86.94 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/0.8219, allocations: 1.094 kB / 369.3 MB, free: 86.94 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001475/0.8234, allocations: 163.9 kB / 369.5 MB, free: 86.94 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001489/0.8236, allocations: 30.88 kB / 369.5 MB, free: 86.93 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.862e-05/0.8236, allocations: 10.95 kB / 369.5 MB, free: 86.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001137/0.8248, allocations: 1.389 MB / 370.9 MB, free: 85.68 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.8248, allocations: 1.094 kB / 370.9 MB, free: 85.68 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002334/0.8271, allocations: 0.9353 MB / 371.8 MB, free: 85.47 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003138/0.8275, allocations: 174.1 kB / 372 MB, free: 85.34 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002309/0.8277, allocations: 6.797 kB / 372 MB, free: 85.33 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008183/0.8286, allocations: 30.22 kB / 372 MB, free: 85.33 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001573/0.8287, allocations: 51.05 kB / 372.1 MB, free: 85.33 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.025e-05/0.8288, allocations: 14.56 kB / 372.1 MB, free: 85.33 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0008376/0.8297, allocations: 440.9 kB / 372.5 MB, free: 85.23 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.2e-07/0.8297, allocations: 2.656 kB / 372.5 MB, free: 85.23 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001312/0.831, allocations: 260.1 kB / 372.8 MB, free: 85.22 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (heatCapacitor.T,pipe1.T,outerPipe.T,innerPipe.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 68 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002491/0.8335, allocations: 1.505 MB / 374.3 MB, free: 84.48 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002953/0.8365, allocations: 1.284 MB / 375.6 MB, free: 83.78 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.247e-06/0.8365, allocations: 7.781 kB / 375.6 MB, free: 83.78 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007294/0.8373, allocations: 388.6 kB / 376 MB, free: 83.67 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001561/0.8388, allocations: 209.7 kB / 376.2 MB, free: 83.66 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004141/0.843, allocations: 1.348 MB / 377.5 MB, free: 83.28 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004605/0.8435, allocations: 0.9832 MB / 378.5 MB, free: 82.57 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0007728/0.8443, allocations: 108.4 kB / 378.6 MB, free: 82.55 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006135/0.8449, allocations: 336.1 kB / 378.9 MB, free: 82.54 MB / 314.7 MB Notification: Performance of SimCode: time 1.333e-06/0.8449, allocations: 3.938 kB / 378.9 MB, free: 82.54 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07346/0.9184, allocations: 20.37 MB / 399.3 MB, free: 70.99 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002492/0.9187, allocations: 139.6 kB / 399.4 MB, free: 70.8 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.69/4.609, allocations: 7.938 kB / 399.4 MB, free: 70.8 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat does not exist to compare? outputFormat=mat