Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.691/1.691, allocations: 171.2 MB / 178.8 MB, free: 8.207 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.21e-05/3.228e-05, allocations: 4 kB / 219.6 MB, free: 11.36 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1121, allocations: 38.76 MB / 258.3 MB, free: 4.531 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3894/0.5015, allocations: 70.97 MB / 329.3 MB, free: 0.75 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002761/0.5018, allocations: 70.39 kB / 329.4 MB, free: 0.7148 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08747/0.5893, allocations: 17.84 MB / 347.2 MB, free: 2.094 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.5894, allocations: 0 / 347.2 MB, free: 2.094 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.557e-05/0.5895, allocations: 23.92 kB / 347.2 MB, free: 2.07 MB / 282.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.003963/0.5934, allocations: 1.127 MB / 348.4 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.234e-05/0.5935, allocations: 8.031 kB / 348.4 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004354/0.594, allocations: 118.7 kB / 348.5 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001889/0.5959, allocations: 0.5685 MB / 349 MB, free: 312 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003813/0.5963, allocations: 134.3 kB / 349.2 MB, free: 156 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002002/0.5965, allocations: 40 kB / 349.2 MB, free: 116 kB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002088/0.5986, allocations: 0.511 MB / 349.7 MB, free: 15.79 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002361/0.601, allocations: 0.7982 MB / 350.5 MB, free: 15.06 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.49e-05/0.6011, allocations: 0 / 350.5 MB, free: 15.06 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001324/0.6012, allocations: 0 / 350.5 MB, free: 15.06 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.032e-05/0.6013, allocations: 16 kB / 350.5 MB, free: 15.05 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008376/0.6097, allocations: 2.346 MB / 352.9 MB, free: 13.18 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005825/0.6155, allocations: 0.8501 MB / 353.7 MB, free: 12.52 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008664/0.6164, allocations: 304.2 kB / 354 MB, free: 12.33 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001155/0.6166, allocations: 16.27 kB / 354 MB, free: 12.31 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.979e-05/0.6166, allocations: 50.27 kB / 354.1 MB, free: 12.26 MB / 298.7 MB Notification: Performance of pre-optimization done (n=72): time 3.466e-06/0.6166, allocations: 0 / 354.1 MB, free: 12.26 MB / 298.7 MB Notification: Performance of matching and sorting (n=72): time 0.002269/0.6189, allocations: 0.6611 MB / 354.8 MB, free: 11.75 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000518/0.6195, allocations: 0.9528 MB / 355.7 MB, free: 10.57 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001138/0.6206, allocations: 0.5594 MB / 356.3 MB, free: 10.15 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001966/0.6208, allocations: 33.64 kB / 356.3 MB, free: 10.11 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003509/0.6212, allocations: 406.1 kB / 356.7 MB, free: 9.828 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002981/0.6215, allocations: 246.1 kB / 356.9 MB, free: 9.613 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.549e-05/0.6216, allocations: 4 kB / 356.9 MB, free: 9.609 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.6218, allocations: 334.2 kB / 357.3 MB, free: 9.285 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005736/0.6223, allocations: 215 kB / 357.5 MB, free: 9.164 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009211/0.6233, allocations: 0.5142 MB / 358 MB, free: 8.656 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007213/0.624, allocations: 263 kB / 358.3 MB, free: 8.492 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.6e-06/0.624, allocations: 0 / 358.3 MB, free: 8.492 MB / 298.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0023/0.6263, allocations: 0.7313 MB / 359 MB, free: 7.91 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.82e-05/0.6265, allocations: 89.11 kB / 359.1 MB, free: 7.805 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.6265, allocations: 0 / 359.1 MB, free: 7.805 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009731/0.6275, allocations: 164.2 kB / 359.2 MB, free: 7.629 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001398/0.6289, allocations: 163.8 kB / 359.4 MB, free: 7.469 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008188/0.6371, allocations: 6.652 MB / 366 MB, free: 244 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00127/0.6384, allocations: 83.41 kB / 366.1 MB, free: 160 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.844e-05/0.6385, allocations: 20 kB / 366.1 MB, free: 140 kB / 298.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.0004127/0.6389, allocations: 144.9 kB / 366.3 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002089/0.641, allocations: 0.6595 MB / 366.9 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002195/0.6413, allocations: 91.2 kB / 367 MB, free: 15.21 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002819/0.6416, allocations: 87.92 kB / 367.1 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.751e-05/0.6416, allocations: 8 kB / 367.1 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.6416, allocations: 0 / 367.1 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001575/0.6432, allocations: 0.8831 MB / 368 MB, free: 14.12 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004238/0.6475, allocations: 1.531 MB / 369.5 MB, free: 12.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/0.6475, allocations: 0 / 369.5 MB, free: 12.52 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001567/0.6491, allocations: 163.7 kB / 369.7 MB, free: 12.36 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001776/0.6493, allocations: 28.84 kB / 369.7 MB, free: 12.33 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.856e-05/0.6494, allocations: 7.984 kB / 369.7 MB, free: 12.32 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001522/0.6509, allocations: 1.384 MB / 371.1 MB, free: 10.83 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.151e-06/0.651, allocations: 7.922 kB / 371.1 MB, free: 10.82 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002558/0.6535, allocations: 0.94 MB / 372.1 MB, free: 9.859 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004143/0.654, allocations: 176.1 kB / 372.2 MB, free: 9.668 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002409/0.6542, allocations: 4 kB / 372.2 MB, free: 9.664 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008236/0.6551, allocations: 23.98 kB / 372.3 MB, free: 9.641 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001601/0.6552, allocations: 52.62 kB / 372.3 MB, free: 9.59 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.668e-05/0.6553, allocations: 28 kB / 372.3 MB, free: 9.562 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0008779/0.6562, allocations: 443.1 kB / 372.8 MB, free: 9.133 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6562, allocations: 0 / 372.8 MB, free: 9.133 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001348/0.6576, allocations: 257.7 kB / 373 MB, free: 8.883 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.002817/0.6604, allocations: 1.5 MB / 374.5 MB, free: 7.352 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003422/0.6639, allocations: 1.282 MB / 375.8 MB, free: 5.98 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.054e-05/0.6639, allocations: 7.859 kB / 375.8 MB, free: 5.973 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000898/0.6648, allocations: 384.5 kB / 376.2 MB, free: 5.59 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001672/0.6665, allocations: 204.8 kB / 376.4 MB, free: 5.395 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00487/0.6714, allocations: 1.394 MB / 377.8 MB, free: 3.953 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007533/0.6722, allocations: 0.9757 MB / 378.8 MB, free: 2.949 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008911/0.6731, allocations: 339.3 kB / 379.1 MB, free: 2.617 MB / 314.7 MB Notification: Performance of SimCode: time 1.032e-06/0.6731, allocations: 4 kB / 379.1 MB, free: 2.613 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.031/3.704, allocations: 25.3 MB / 404.4 MB, free: 9.27 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat does not exist to compare? outputFormat=mat