Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.602/2.602, allocations: 235 MB / 247.6 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.068e-05/4.12e-05, allocations: 4 kB / 305 MB, free: 5.539 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4064/0.4065, allocations: 54.85 MB / 359.9 MB, free: 2.336 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1686/0.5752, allocations: 87.73 MB / 447.6 MB, free: 9.133 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003766/0.5756, allocations: 87.94 kB / 447.7 MB, free: 9.047 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05741/0.6331, allocations: 10.6 MB / 458.3 MB, free: 14.32 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.6331, allocations: 0 / 458.3 MB, free: 14.32 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.479e-05/0.6332, allocations: 12 kB / 458.3 MB, free: 14.3 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001681/0.6349, allocations: 0.6114 MB / 458.9 MB, free: 13.65 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.578e-05/0.635, allocations: 11.97 kB / 458.9 MB, free: 13.64 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001789/0.6352, allocations: 78.53 kB / 459 MB, free: 13.55 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001565/0.6353, allocations: 49.97 kB / 459.1 MB, free: 13.5 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007048/0.6361, allocations: 282.4 kB / 459.3 MB, free: 13.19 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.152e-05/0.6361, allocations: 32.77 kB / 459.4 MB, free: 13.15 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001243/0.6363, allocations: 36 kB / 459.4 MB, free: 13.12 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001711/0.638, allocations: 0.5278 MB / 459.9 MB, free: 12.57 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.497e-05/0.6381, allocations: 0 / 459.9 MB, free: 12.57 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.804e-05/0.6382, allocations: 23.89 kB / 459.9 MB, free: 12.54 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.567e-05/0.6382, allocations: 20.78 kB / 460 MB, free: 12.52 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001284/0.6395, allocations: 361.3 kB / 460.3 MB, free: 12.17 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004079/0.6436, allocations: 1.397 MB / 461.7 MB, free: 10.71 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008962/0.6446, allocations: 239.6 kB / 462 MB, free: 10.45 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004408/0.645, allocations: 106.5 kB / 462.1 MB, free: 10.34 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.707e-05/0.6451, allocations: 15.95 kB / 462.1 MB, free: 10.32 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.712e-05/0.6452, allocations: 30.62 kB / 462.1 MB, free: 10.28 MB / 394.7 MB Notification: Performance of pre-optimization done (n=17): time 6.953e-06/0.6452, allocations: 112 / 462.1 MB, free: 10.28 MB / 394.7 MB Notification: Performance of matching and sorting (n=17): time 0.001315/0.6465, allocations: 285.8 kB / 462.4 MB, free: 9.996 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.538e-05/0.6466, allocations: 106.8 kB / 462.5 MB, free: 9.867 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001138/0.6478, allocations: 455.2 kB / 462.9 MB, free: 9.414 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.003e-05/0.6479, allocations: 25.7 kB / 463 MB, free: 9.383 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002498/0.6482, allocations: 242.5 kB / 463.2 MB, free: 9.145 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001165/0.6483, allocations: 59.19 kB / 463.3 MB, free: 9.086 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.575e-05/0.6483, allocations: 0 / 463.3 MB, free: 9.086 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001747/0.6485, allocations: 326.8 kB / 463.6 MB, free: 8.758 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004554/0.649, allocations: 100.1 kB / 463.7 MB, free: 8.656 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005061/0.6495, allocations: 144.2 kB / 463.8 MB, free: 8.5 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005017/0.65, allocations: 109 kB / 463.9 MB, free: 8.395 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.125e-06/0.6501, allocations: 4 kB / 463.9 MB, free: 8.391 MB / 394.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001289/0.6514, allocations: 294.1 kB / 464.2 MB, free: 8.098 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.705e-05/0.6514, allocations: 4 kB / 464.2 MB, free: 8.094 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001593/0.6516, allocations: 39.95 kB / 464.2 MB, free: 8.055 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.6516, allocations: 0 / 464.2 MB, free: 8.055 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005215/0.6522, allocations: 39.97 kB / 464.3 MB, free: 8.016 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.518e-05/0.6522, allocations: 4 kB / 464.3 MB, free: 8.012 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006925/0.6529, allocations: 63.47 kB / 464.4 MB, free: 7.949 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.189e-05/0.653, allocations: 16 kB / 464.4 MB, free: 7.934 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.0001624/0.6532, allocations: 112.9 kB / 464.5 MB, free: 7.816 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002049/0.6534, allocations: 44.89 kB / 464.5 MB, free: 7.773 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001531/0.6549, allocations: 362.5 kB / 464.9 MB, free: 7.418 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.599e-05/0.655, allocations: 8 kB / 464.9 MB, free: 7.41 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.655, allocations: 0 / 464.9 MB, free: 7.41 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/0.655, allocations: 0 / 464.9 MB, free: 7.41 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001184/0.6562, allocations: 365.3 kB / 465.2 MB, free: 7.004 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001297/0.6564, allocations: 27.97 kB / 465.3 MB, free: 6.977 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003798/0.6568, allocations: 35.91 kB / 465.3 MB, free: 6.941 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.813e-06/0.6568, allocations: 0 / 465.3 MB, free: 6.941 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.79e-05/0.6569, allocations: 19.94 kB / 465.3 MB, free: 6.922 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/0.6569, allocations: 4 kB / 465.3 MB, free: 6.918 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.6569, allocations: 0 / 465.3 MB, free: 6.918 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001267/0.6582, allocations: 0.5324 MB / 465.9 MB, free: 6.355 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002254/0.6584, allocations: 120.6 kB / 466 MB, free: 6.219 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001302/0.6586, allocations: 11.98 kB / 466 MB, free: 6.207 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007206/0.6593, allocations: 19.98 kB / 466 MB, free: 6.188 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000139/0.6595, allocations: 27.91 kB / 466 MB, free: 6.16 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.544e-05/0.6595, allocations: 8 kB / 466 MB, free: 6.152 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0009123/0.6605, allocations: 365.1 kB / 466.4 MB, free: 5.797 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.12e-07/0.6605, allocations: 0 / 466.4 MB, free: 5.797 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001188/0.6617, allocations: 135.8 kB / 466.5 MB, free: 5.664 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.002278/0.664, allocations: 1.305 MB / 467.8 MB, free: 4.324 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001272/0.6653, allocations: 463 kB / 468.3 MB, free: 3.816 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.6653, allocations: 0 / 468.3 MB, free: 3.816 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007121/0.666, allocations: 359.2 kB / 468.6 MB, free: 3.41 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001226/0.6673, allocations: 100.8 kB / 468.7 MB, free: 3.316 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003561/0.6709, allocations: 0.753 MB / 469.5 MB, free: 2.516 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007792/0.6717, allocations: 0.8499 MB / 470.3 MB, free: 1.637 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000354/0.6721, allocations: 107.4 kB / 470.4 MB, free: 1.531 MB / 394.7 MB Notification: Performance of SimCode: time 1.282e-06/0.6721, allocations: 0 / 470.4 MB, free: 1.531 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.848/3.52, allocations: 8.802 MB / 479.2 MB, free: 8.773 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_res.mat does not exist to compare? outputFormat=mat