Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.997/1.997, allocations: 209.4 MB / 216.9 MB, free: 6.676 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.212e-05/2.211e-05, allocations: 0 / 267.6 MB, free: 5.32 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1038, allocations: 48.69 MB / 316.3 MB, free: 4.531 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3899/0.4938, allocations: 80.01 MB / 396.3 MB, free: 12.56 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000355/0.4943, allocations: 104.8 kB / 396.4 MB, free: 12.5 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04162/0.5359, allocations: 9.232 MB / 405.7 MB, free: 4.68 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.5359, allocations: 0 / 405.7 MB, free: 4.68 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.625e-05/0.536, allocations: 8 kB / 405.7 MB, free: 4.672 MB / 330.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.001102/0.5371, allocations: 0.5624 MB / 406.2 MB, free: 4.09 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.5371, allocations: 8.031 kB / 406.2 MB, free: 4.082 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001066/0.5373, allocations: 39.53 kB / 406.3 MB, free: 4.043 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004773/0.5378, allocations: 281.2 kB / 406.6 MB, free: 3.734 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.62e-05/0.5378, allocations: 12 kB / 406.6 MB, free: 3.723 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.505e-05/0.5379, allocations: 20 kB / 406.6 MB, free: 3.703 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001004/0.5389, allocations: 496.2 kB / 407.1 MB, free: 3.352 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001013/0.5399, allocations: 469.3 kB / 407.5 MB, free: 2.977 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/0.54, allocations: 0 / 407.5 MB, free: 2.977 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.453e-05/0.54, allocations: 0 / 407.5 MB, free: 2.977 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-05/0.5401, allocations: 36.73 kB / 407.6 MB, free: 2.945 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002594/0.5427, allocations: 1.047 MB / 408.6 MB, free: 1.98 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009966/0.5437, allocations: 414.5 kB / 409 MB, free: 1.609 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000333/0.5441, allocations: 134.3 kB / 409.2 MB, free: 1.492 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.531e-05/0.5442, allocations: 15.27 kB / 409.2 MB, free: 1.48 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/0.5442, allocations: 30.8 kB / 409.2 MB, free: 1.441 MB / 330.7 MB Notification: Performance of pre-optimization done (n=28): time 2.945e-06/0.5442, allocations: 4 kB / 409.2 MB, free: 1.438 MB / 330.7 MB Notification: Performance of matching and sorting (n=28): time 0.0009292/0.5452, allocations: 323.4 kB / 409.5 MB, free: 1.145 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.05e-05/0.5452, allocations: 55.41 kB / 409.6 MB, free: 1.078 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001461/0.5454, allocations: 143.6 kB / 409.7 MB, free: 0.9414 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.328e-05/0.5454, allocations: 25.7 kB / 409.7 MB, free: 0.9102 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001432/0.5456, allocations: 264.4 kB / 410 MB, free: 0.668 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001125/0.5457, allocations: 92.84 kB / 410.1 MB, free: 0.5859 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.851e-05/0.5457, allocations: 3.938 kB / 410.1 MB, free: 0.582 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.5459, allocations: 327.1 kB / 410.4 MB, free: 268 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003001/0.5462, allocations: 110 kB / 410.5 MB, free: 168 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003032/0.5465, allocations: 126.2 kB / 410.6 MB, free: 56 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003745/0.5469, allocations: 133.9 kB / 410.8 MB, free: 15.94 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.5469, allocations: 0 / 410.8 MB, free: 15.94 MB / 346.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008344/0.5478, allocations: 314.7 kB / 411.1 MB, free: 15.65 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/0.5478, allocations: 11.44 kB / 411.1 MB, free: 15.64 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.5478, allocations: 0 / 411.1 MB, free: 15.64 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.5478, allocations: 0 / 411.1 MB, free: 15.64 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001565/0.5494, allocations: 159.2 kB / 411.2 MB, free: 15.49 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003795/0.5532, allocations: 5.557 MB / 416.8 MB, free: 9.789 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003564/0.5536, allocations: 23.77 kB / 416.8 MB, free: 9.766 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.588e-05/0.5537, allocations: 8.281 kB / 416.8 MB, free: 9.758 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 (28): * Single equations (assignments): 19 * 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.0001603/0.5539, allocations: 109 kB / 416.9 MB, free: 9.645 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008675/0.5547, allocations: 330 kB / 417.3 MB, free: 9.344 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.525e-05/0.5548, allocations: 19 kB / 417.3 MB, free: 9.328 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001229/0.5561, allocations: 430.3 kB / 417.7 MB, free: 8.949 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.079e-05/0.5561, allocations: 7.953 kB / 417.7 MB, free: 8.941 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.5561, allocations: 0 / 417.7 MB, free: 8.941 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.5561, allocations: 3.984 kB / 417.7 MB, free: 8.938 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006974/0.5568, allocations: 345.6 kB / 418.1 MB, free: 8.598 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.5568, allocations: 0 / 418.1 MB, free: 8.598 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001548/0.5584, allocations: 159.5 kB / 418.2 MB, free: 8.445 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.116e-05/0.5584, allocations: 4 kB / 418.2 MB, free: 8.441 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.558e-05/0.5585, allocations: 4 kB / 418.2 MB, free: 8.438 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004076/0.5626, allocations: 5.554 MB / 423.8 MB, free: 2.742 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/0.5626, allocations: 0 / 423.8 MB, free: 2.742 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009325/0.5636, allocations: 422.7 kB / 424.2 MB, free: 2.344 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.01e-05/0.5637, allocations: 96.86 kB / 424.3 MB, free: 2.23 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.084e-05/0.5637, allocations: 192 / 424.3 MB, free: 2.23 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003299/0.5641, allocations: 11.98 kB / 424.3 MB, free: 2.219 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.5642, allocations: 35.09 kB / 424.3 MB, free: 2.188 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.337e-05/0.5642, allocations: 15.92 kB / 424.3 MB, free: 2.172 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001015/0.5644, allocations: 109.3 kB / 424.4 MB, free: 2.074 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5644, allocations: 0 / 424.4 MB, free: 2.074 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006639/0.5651, allocations: 131.2 kB / 424.6 MB, free: 1.949 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 (28): * Single equations (assignments): 19 * 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.001461/0.5666, allocations: 1.032 MB / 425.6 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001738/0.5683, allocations: 364.3 kB / 426 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.5683, allocations: 0 / 426 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001341/0.5697, allocations: 244.9 kB / 426.2 MB, free: 388 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003465/0.5701, allocations: 22.75 kB / 426.2 MB, free: 368 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001921/0.572, allocations: 0.6783 MB / 426.9 MB, free: 15.66 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005317/0.5725, allocations: 0.8586 MB / 427.8 MB, free: 14.79 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002395/0.5728, allocations: 112 kB / 427.9 MB, free: 14.75 MB / 362.7 MB Notification: Performance of SimCode: time 9.72e-07/0.5728, allocations: 0 / 427.9 MB, free: 14.75 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.213/3.786, allocations: 18.96 MB / 446.8 MB, free: 11.78 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_turbulent_KC_res.mat does not exist to compare? outputFormat=mat