Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.954/1.954, allocations: 194.9 MB / 208.4 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.866e-05/3.871e-05, allocations: 4 kB / 255.4 MB, free: 3.105 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09936/0.09943, allocations: 44.5 MB / 299.9 MB, free: 6.547 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4187/0.5182, allocations: 76.64 MB / 376.6 MB, free: 12.96 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002521/0.5185, allocations: 66.53 kB / 376.7 MB, free: 12.96 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07428/0.5928, allocations: 18.13 MB / 394.8 MB, free: 11.08 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.975e-06/0.5928, allocations: 0 / 394.8 MB, free: 11.08 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.765e-05/0.5929, allocations: 25.22 kB / 394.8 MB, free: 11.07 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.003112/0.596, allocations: 1.119 MB / 395.9 MB, free: 10.37 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.236e-05/0.5961, allocations: 11.62 kB / 395.9 MB, free: 10.37 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003074/0.5964, allocations: 121.5 kB / 396.1 MB, free: 10.33 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003372/0.5968, allocations: 129.5 kB / 396.2 MB, free: 10.27 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001363/0.5982, allocations: 0.5674 MB / 396.8 MB, free: 9.965 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002725/0.5985, allocations: 156.3 kB / 396.9 MB, free: 9.863 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001438/0.5986, allocations: 65.91 kB / 397 MB, free: 9.863 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001786/0.6004, allocations: 0.9086 MB / 397.9 MB, free: 9.496 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.168e-05/0.6005, allocations: 3.984 kB / 397.9 MB, free: 9.492 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000116/0.6006, allocations: 34.47 kB / 397.9 MB, free: 9.492 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.671e-05/0.6006, allocations: 15.53 kB / 397.9 MB, free: 9.492 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001507/0.6022, allocations: 0.541 MB / 398.5 MB, free: 9.488 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006422/0.6086, allocations: 2.535 MB / 401 MB, free: 8.633 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004495/0.6131, allocations: 0.8785 MB / 401.9 MB, free: 8.441 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009939/0.6142, allocations: 325.2 kB / 402.2 MB, free: 8.418 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.56e-05/0.6143, allocations: 12.19 kB / 402.2 MB, free: 8.418 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.795e-05/0.6144, allocations: 51.83 kB / 402.3 MB, free: 8.375 MB / 314.7 MB Notification: Performance of pre-optimization done (n=72): time 3.246e-06/0.6144, allocations: 0 / 402.3 MB, free: 8.375 MB / 314.7 MB Notification: Performance of matching and sorting (n=72): time 0.00213/0.6165, allocations: 0.689 MB / 403 MB, free: 8.188 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000279/0.6168, allocations: 0.9476 MB / 403.9 MB, free: 7.027 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001469/0.6183, allocations: 0.6503 MB / 404.6 MB, free: 6.859 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003102/0.6187, allocations: 46.33 kB / 404.6 MB, free: 6.828 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003254/0.619, allocations: 401.3 kB / 405 MB, free: 6.594 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003747/0.6194, allocations: 250 kB / 405.2 MB, free: 6.414 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.729e-05/0.6195, allocations: 13.66 kB / 405.2 MB, free: 6.414 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.831e-05/0.6196, allocations: 340.7 kB / 405.6 MB, free: 6.09 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006751/0.6203, allocations: 225.9 kB / 405.8 MB, free: 6.082 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001027/0.6213, allocations: 0.5379 MB / 406.3 MB, free: 5.734 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008835/0.6223, allocations: 365.8 kB / 406.7 MB, free: 5.59 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.658e-06/0.6223, allocations: 0 / 406.7 MB, free: 5.59 MB / 314.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00205/0.6244, allocations: 0.8338 MB / 407.5 MB, free: 5.328 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.034e-05/0.6245, allocations: 84.83 kB / 407.6 MB, free: 5.23 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/0.6245, allocations: 7.797 kB / 407.6 MB, free: 5.227 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004669/0.625, allocations: 129.2 kB / 407.7 MB, free: 5.168 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001402/0.6264, allocations: 158.3 kB / 407.9 MB, free: 5.133 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00742/0.6338, allocations: 6.904 MB / 414.8 MB, free: 14.52 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001512/0.6354, allocations: 111.8 kB / 414.9 MB, free: 14.46 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001455/0.6356, allocations: 34.25 kB / 414.9 MB, free: 14.46 MB / 330.7 MB 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 {3 1,1 1,3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003179/0.6359, allocations: 160 kB / 415.1 MB, free: 14.34 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003136/0.6363, allocations: 97 kB / 415.2 MB, free: 14.29 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000303/0.6366, allocations: 100.6 kB / 415.3 MB, free: 14.27 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.746e-06/0.6366, allocations: 7.656 kB / 415.3 MB, free: 14.27 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.234e-05/0.6366, allocations: 0 / 415.3 MB, free: 14.27 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00166/0.6383, allocations: 0.9218 MB / 416.2 MB, free: 13.66 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004238/0.6426, allocations: 1.68 MB / 417.9 MB, free: 12.91 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.684e-06/0.6426, allocations: 0 / 417.9 MB, free: 12.91 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001507/0.6441, allocations: 166.5 kB / 418.1 MB, free: 12.88 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001752/0.6444, allocations: 28.16 kB / 418.1 MB, free: 12.86 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.875e-05/0.6445, allocations: 18.38 kB / 418.1 MB, free: 12.86 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001478/0.646, allocations: 1.446 MB / 419.6 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.646, allocations: 0 / 419.6 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002526/0.6485, allocations: 0.9956 MB / 420.6 MB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004451/0.649, allocations: 177.7 kB / 420.7 MB, free: 11.04 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002573/0.6493, allocations: 25.98 kB / 420.8 MB, free: 11.04 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009983/0.6503, allocations: 49.66 kB / 420.8 MB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001523/0.6505, allocations: 46.75 kB / 420.8 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.935e-05/0.6506, allocations: 23.36 kB / 420.9 MB, free: 11 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0009781/0.6516, allocations: 0.5157 MB / 421.4 MB, free: 10.87 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6516, allocations: 0 / 421.4 MB, free: 10.87 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001311/0.6529, allocations: 294.8 kB / 421.7 MB, free: 10.85 MB / 330.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.002717/0.6556, allocations: 1.587 MB / 423.3 MB, free: 10.05 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002539/0.6582, allocations: 1.295 MB / 424.6 MB, free: 9.273 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.705e-06/0.6583, allocations: 0 / 424.6 MB, free: 9.273 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008208/0.6591, allocations: 387.6 kB / 424.9 MB, free: 9.141 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001752/0.6609, allocations: 235.4 kB / 425.2 MB, free: 9.082 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004375/0.6652, allocations: 1.439 MB / 426.6 MB, free: 8.34 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006339/0.6659, allocations: 0.9849 MB / 427.6 MB, free: 7.508 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008324/0.6668, allocations: 346.9 kB / 427.9 MB, free: 7.469 MB / 330.7 MB Notification: Performance of SimCode: time 1.473e-06/0.6668, allocations: 0 / 427.9 MB, free: 7.469 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.419/4.086, allocations: 26.06 MB / 454 MB, free: 6.191 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat does not exist to compare? outputFormat=mat