Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.194/2.194, allocations: 209.4 MB / 216.9 MB, free: 6.66 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.332e-05/2.331e-05, allocations: 4 kB / 267.6 MB, free: 5.293 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.105, allocations: 48.7 MB / 316.3 MB, free: 4.504 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.424/0.5291, allocations: 89 MB / 405.3 MB, free: 3.562 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003939/0.5295, allocations: 98.83 kB / 405.4 MB, free: 3.504 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05668/0.5862, allocations: 11.88 MB / 417.3 MB, free: 9.934 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.5863, allocations: 0 / 417.3 MB, free: 9.934 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.66e-05/0.5863, allocations: 8 kB / 417.3 MB, free: 9.926 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001109/0.5874, allocations: 0.5889 MB / 417.9 MB, free: 9.316 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/0.5875, allocations: 8.031 kB / 417.9 MB, free: 9.309 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.919e-05/0.5876, allocations: 43.48 kB / 417.9 MB, free: 9.266 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003561/0.588, allocations: 233.5 kB / 418.2 MB, free: 9.004 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.861e-05/0.588, allocations: 12 kB / 418.2 MB, free: 8.992 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.109e-05/0.5881, allocations: 20 kB / 418.2 MB, free: 8.973 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004416/0.5885, allocations: 212.3 kB / 418.4 MB, free: 8.852 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005786/0.5891, allocations: 295.2 kB / 418.7 MB, free: 8.648 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/0.5892, allocations: 0 / 418.7 MB, free: 8.648 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.565e-05/0.5892, allocations: 0 / 418.7 MB, free: 8.648 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.702e-05/0.5892, allocations: 11.94 kB / 418.7 MB, free: 8.637 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001702/0.591, allocations: 0.7893 MB / 419.5 MB, free: 7.949 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002296/0.5912, allocations: 88.39 kB / 419.6 MB, free: 7.871 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.738e-05/0.5913, allocations: 24.73 kB / 419.6 MB, free: 7.848 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.398e-05/0.5914, allocations: 11.97 kB / 419.6 MB, free: 7.836 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/0.5914, allocations: 33.69 kB / 419.7 MB, free: 7.797 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.954e-06/0.5914, allocations: 0 / 419.7 MB, free: 7.797 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004088/0.5918, allocations: 109.2 kB / 419.8 MB, free: 7.691 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.764e-05/0.5919, allocations: 55.41 kB / 419.8 MB, free: 7.625 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002714/0.5922, allocations: 228.8 kB / 420 MB, free: 7.438 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.68e-05/0.5922, allocations: 25.7 kB / 420.1 MB, free: 7.406 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002001/0.5924, allocations: 313.4 kB / 420.4 MB, free: 7.125 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.471e-05/0.5925, allocations: 37.8 kB / 420.4 MB, free: 7.094 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.689e-05/0.5925, allocations: 0 / 420.4 MB, free: 7.094 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.5927, allocations: 322.6 kB / 420.7 MB, free: 6.773 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001311/0.5928, allocations: 34.53 kB / 420.8 MB, free: 6.746 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002821/0.5931, allocations: 240.5 kB / 421 MB, free: 6.441 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002272/0.5933, allocations: 76.22 kB / 421.1 MB, free: 6.379 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.5934, allocations: 0 / 421.1 MB, free: 6.379 MB / 346.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006609/0.594, allocations: 260.8 kB / 421.3 MB, free: 6.141 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.576e-05/0.5941, allocations: 8.906 kB / 421.3 MB, free: 6.133 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.451e-05/0.5942, allocations: 23.98 kB / 421.4 MB, free: 6.109 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.163e-05/0.5942, allocations: 16 kB / 421.4 MB, free: 6.094 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003535/0.5946, allocations: 63.41 kB / 421.4 MB, free: 6.035 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.89e-05/0.5946, allocations: 11.94 kB / 421.4 MB, free: 6.023 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003146/0.5949, allocations: 39.7 kB / 421.5 MB, free: 5.984 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.877e-05/0.595, allocations: 27.38 kB / 421.5 MB, free: 5.961 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 5 (m_flow_IN_con_4.N,m_flow_IN_con_4.geometry,m_flow_IN_con_3.geometry,m_flow_IN_con_2.geometry,m_flow_IN_con_1.geometry) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 prepare postOptimizeDAE: time 0.0001196/0.5951, allocations: 116.8 kB / 421.6 MB, free: 5.84 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003288/0.5955, allocations: 117.3 kB / 421.7 MB, free: 5.73 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.686e-05/0.5955, allocations: 23.72 kB / 421.8 MB, free: 5.707 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006126/0.5962, allocations: 176.7 kB / 421.9 MB, free: 5.543 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.5962, allocations: 0 / 421.9 MB, free: 5.543 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.5962, allocations: 4 kB / 421.9 MB, free: 5.539 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.5962, allocations: 3.984 kB / 421.9 MB, free: 5.535 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004478/0.5967, allocations: 257.1 kB / 422.2 MB, free: 5.281 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.221e-05/0.5967, allocations: 23.98 kB / 422.2 MB, free: 5.258 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.618e-05/0.5969, allocations: 8 kB / 422.2 MB, free: 5.25 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.5969, allocations: 0 / 422.2 MB, free: 5.25 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.213e-05/0.5969, allocations: 7.984 kB / 422.2 MB, free: 5.242 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.5969, allocations: 0 / 422.2 MB, free: 5.242 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.5969, allocations: 0 / 422.2 MB, free: 5.242 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003999/0.5973, allocations: 208.1 kB / 422.4 MB, free: 5.035 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.74e-05/0.5974, allocations: 96.78 kB / 422.5 MB, free: 4.922 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.634e-05/0.5975, allocations: 8 kB / 422.5 MB, free: 4.914 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002033/0.5977, allocations: 7.984 kB / 422.5 MB, free: 4.906 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.598e-05/0.5978, allocations: 8 kB / 422.6 MB, free: 4.898 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.437e-05/0.5978, allocations: 11.17 kB / 422.6 MB, free: 4.891 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001937/0.598, allocations: 156.9 kB / 422.7 MB, free: 4.758 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.598, allocations: 0 / 422.7 MB, free: 4.758 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009693/0.599, allocations: 142.7 kB / 422.9 MB, free: 4.621 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.001431/0.6005, allocations: 0.9295 MB / 423.8 MB, free: 3.684 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007633/0.6013, allocations: 269.6 kB / 424.1 MB, free: 3.418 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.6013, allocations: 3.938 kB / 424.1 MB, free: 3.414 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003922/0.6017, allocations: 174.7 kB / 424.2 MB, free: 3.227 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003028/0.602, allocations: 21.31 kB / 424.2 MB, free: 3.211 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001697/0.6037, allocations: 454.7 kB / 424.7 MB, free: 2.738 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004295/0.6042, allocations: 0.7828 MB / 425.5 MB, free: 1.926 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001518/0.6043, allocations: 105.1 kB / 425.6 MB, free: 1.902 MB / 346.7 MB Notification: Performance of SimCode: time 2.975e-06/0.6043, allocations: 0 / 425.6 MB, free: 1.902 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.88/3.484, allocations: 10.56 MB / 436.1 MB, free: 7.367 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat does not exist to compare? outputFormat=mat