Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.006/2.006, allocations: 209.3 MB / 221.9 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.707e-05/3.719e-05, allocations: 8 kB / 273.2 MB, free: 0.6172 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1014, allocations: 48.7 MB / 321.9 MB, free: 15.82 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.422/0.5235, allocations: 80.38 MB / 402.2 MB, free: 9.52 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003541/0.5239, allocations: 91.94 kB / 402.3 MB, free: 9.43 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04466/0.5686, allocations: 9.33 MB / 411.6 MB, free: 15.94 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.5686, allocations: 0 / 411.6 MB, free: 15.94 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.893e-05/0.5687, allocations: 4 kB / 411.7 MB, free: 15.94 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.001242/0.5699, allocations: 0.5568 MB / 412.2 MB, free: 15.34 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.485e-05/0.57, allocations: 8.031 kB / 412.2 MB, free: 15.33 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000144/0.5701, allocations: 82.52 kB / 412.3 MB, free: 15.24 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001085/0.5703, allocations: 39.53 kB / 412.3 MB, free: 15.2 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005444/0.5708, allocations: 290.2 kB / 412.6 MB, free: 14.88 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.875e-05/0.5709, allocations: 32.78 kB / 412.7 MB, free: 14.84 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.735e-05/0.571, allocations: 40 kB / 412.7 MB, free: 14.8 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001292/0.5723, allocations: 0.5124 MB / 413.2 MB, free: 14.29 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/0.5724, allocations: 0 / 413.2 MB, free: 14.29 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.167e-05/0.5724, allocations: 16 kB / 413.2 MB, free: 14.27 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.611e-05/0.5725, allocations: 36.92 kB / 413.3 MB, free: 14.23 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001338/0.5739, allocations: 0.5386 MB / 413.8 MB, free: 13.69 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003137/0.5771, allocations: 1.195 MB / 415 MB, free: 12.44 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001017/0.5781, allocations: 362.8 kB / 415.3 MB, free: 12.08 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003448/0.5785, allocations: 125.1 kB / 415.5 MB, free: 11.96 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.799e-05/0.5786, allocations: 4.172 kB / 415.5 MB, free: 11.95 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.545e-05/0.5786, allocations: 38.75 kB / 415.5 MB, free: 11.91 MB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 3.256e-06/0.5786, allocations: 0 / 415.5 MB, free: 11.91 MB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.001023/0.5797, allocations: 306.6 kB / 415.8 MB, free: 11.6 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.994e-05/0.5798, allocations: 55.41 kB / 415.9 MB, free: 11.54 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000815/0.5806, allocations: 403.5 kB / 416.3 MB, free: 11.13 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.516e-05/0.5807, allocations: 33.7 kB / 416.3 MB, free: 11.09 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001738/0.5809, allocations: 230.8 kB / 416.5 MB, free: 10.87 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001238/0.581, allocations: 78.89 kB / 416.6 MB, free: 10.79 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.543e-05/0.5811, allocations: 4 kB / 416.6 MB, free: 10.79 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.5812, allocations: 322.8 kB / 416.9 MB, free: 10.46 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003231/0.5815, allocations: 103.8 kB / 417 MB, free: 10.36 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003133/0.5819, allocations: 103.9 kB / 417.1 MB, free: 10.26 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003596/0.5822, allocations: 111.1 kB / 417.2 MB, free: 10.15 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.93e-06/0.5823, allocations: 0 / 417.2 MB, free: 10.15 MB / 346.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008928/0.5832, allocations: 293.3 kB / 417.5 MB, free: 9.859 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.831e-05/0.5832, allocations: 8 kB / 417.5 MB, free: 9.852 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.5832, allocations: 0 / 417.5 MB, free: 9.852 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.421e-05/0.5833, allocations: 0 / 417.5 MB, free: 9.852 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001507/0.5848, allocations: 147.8 kB / 417.7 MB, free: 9.707 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004104/0.5889, allocations: 5.524 MB / 423.2 MB, free: 3.973 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004753/0.5895, allocations: 47.36 kB / 423.2 MB, free: 3.926 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.817e-05/0.5895, allocations: 15.98 kB / 423.2 MB, free: 3.91 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001471/0.5897, allocations: 116.9 kB / 423.4 MB, free: 3.789 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.708e-05/0.5898, allocations: 35.72 kB / 423.4 MB, free: 3.754 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001311/0.5911, allocations: 427.8 kB / 423.8 MB, free: 3.336 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.417e-06/0.5912, allocations: 4 kB / 423.8 MB, free: 3.332 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.333e-06/0.5912, allocations: 0 / 423.8 MB, free: 3.332 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.5912, allocations: 0 / 423.8 MB, free: 3.332 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007982/0.592, allocations: 377.2 kB / 424.2 MB, free: 2.914 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.592, allocations: 0 / 424.2 MB, free: 2.914 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001438/0.5935, allocations: 159.8 kB / 424.3 MB, free: 2.758 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.134e-05/0.5935, allocations: 4 kB / 424.3 MB, free: 2.754 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.475e-05/0.5936, allocations: 11.92 kB / 424.4 MB, free: 2.742 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004069/0.5977, allocations: 5.516 MB / 429.9 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.5977, allocations: 4.094 kB / 429.9 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009848/0.5987, allocations: 414.8 kB / 430.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001847/0.5989, allocations: 120.7 kB / 430.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.995e-05/0.599, allocations: 0 / 430.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003746/0.5994, allocations: 15.98 kB / 430.4 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/0.5995, allocations: 15.97 kB / 430.4 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.328e-05/0.5996, allocations: 19.98 kB / 430.4 MB, free: 12.4 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006187/0.6002, allocations: 326.1 kB / 430.8 MB, free: 12.09 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6002, allocations: 3.938 kB / 430.8 MB, free: 12.08 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006602/0.6009, allocations: 111.8 kB / 430.9 MB, free: 11.97 MB / 362.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 (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001614/0.6025, allocations: 1.02 MB / 431.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001798/0.6044, allocations: 342.6 kB / 432.2 MB, free: 10.59 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.6044, allocations: 0 / 432.2 MB, free: 10.59 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001344/0.6058, allocations: 231.7 kB / 432.5 MB, free: 10.36 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007052/0.6065, allocations: 86.84 kB / 432.5 MB, free: 10.28 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002092/0.6086, allocations: 0.7052 MB / 433.3 MB, free: 9.535 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00055/0.6092, allocations: 0.8542 MB / 434.1 MB, free: 8.656 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002795/0.6095, allocations: 111.4 kB / 434.2 MB, free: 8.547 MB / 362.7 MB Notification: Performance of SimCode: time 1.152e-06/0.6095, allocations: 4 kB / 434.2 MB, free: 8.543 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.295/3.905, allocations: 20.4 MB / 454.6 MB, free: 4.133 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC_res.mat does not exist to compare? outputFormat=mat