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.083/2.083, allocations: 209.4 MB / 216.9 MB, free: 6.66 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.654e-05/3.653e-05, allocations: 0 / 267.6 MB, free: 5.297 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1074, allocations: 48.7 MB / 316.3 MB, free: 4.5 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4973/0.6048, allocations: 79.97 MB / 396.3 MB, free: 12.28 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003497/0.6052, allocations: 94.06 kB / 396.4 MB, free: 12.22 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0429/0.6481, allocations: 9.193 MB / 405.6 MB, free: 4.434 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.6482, allocations: 0 / 405.6 MB, free: 4.434 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.848e-05/0.6482, allocations: 8 kB / 405.6 MB, free: 4.426 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.001155/0.6493, allocations: 0.5648 MB / 406.2 MB, free: 3.84 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/0.6494, allocations: 8.031 kB / 406.2 MB, free: 3.832 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001158/0.6495, allocations: 39.53 kB / 406.2 MB, free: 3.793 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005015/0.6501, allocations: 279.5 kB / 406.5 MB, free: 3.488 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.03e-05/0.6501, allocations: 12 kB / 406.5 MB, free: 3.477 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.462e-05/0.6502, allocations: 27.98 kB / 406.5 MB, free: 3.449 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001069/0.6513, allocations: 487.3 kB / 407 MB, free: 3.105 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001082/0.6524, allocations: 470 kB / 407.4 MB, free: 2.73 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.6524, allocations: 4 kB / 407.5 MB, free: 2.727 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.487e-05/0.6525, allocations: 4 kB / 407.5 MB, free: 2.723 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-05/0.6525, allocations: 32.3 kB / 407.5 MB, free: 2.695 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002813/0.6554, allocations: 1.05 MB / 408.5 MB, free: 1.727 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00104/0.6564, allocations: 413.2 kB / 408.9 MB, free: 1.359 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003431/0.6568, allocations: 138.1 kB / 409.1 MB, free: 1.238 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.611e-05/0.6569, allocations: 8.219 kB / 409.1 MB, free: 1.23 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/0.6569, allocations: 33.92 kB / 409.1 MB, free: 1.191 MB / 330.7 MB Notification: Performance of pre-optimization done (n=28): time 3.637e-06/0.6569, allocations: 4 kB / 409.1 MB, free: 1.188 MB / 330.7 MB Notification: Performance of matching and sorting (n=28): time 0.000957/0.6579, allocations: 323.1 kB / 409.4 MB, free: 0.8945 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.547e-05/0.658, allocations: 59.39 kB / 409.5 MB, free: 0.8242 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001532/0.6581, allocations: 135.5 kB / 409.6 MB, free: 0.6953 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.822e-05/0.6582, allocations: 29.7 kB / 409.7 MB, free: 0.6602 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001823/0.6584, allocations: 265.2 kB / 409.9 MB, free: 428 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001169/0.6585, allocations: 91.78 kB / 410 MB, free: 344 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.911e-05/0.6585, allocations: 0 / 410 MB, free: 344 kB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.6587, allocations: 330.6 kB / 410.3 MB, free: 12 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003326/0.659, allocations: 109.8 kB / 410.4 MB, free: 15.91 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003141/0.6594, allocations: 118.3 kB / 410.6 MB, free: 15.81 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000389/0.6598, allocations: 137.7 kB / 410.7 MB, free: 15.69 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.6598, allocations: 0 / 410.7 MB, free: 15.69 MB / 346.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008931/0.6607, allocations: 316.8 kB / 411 MB, free: 15.4 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.6607, allocations: 4 kB / 411 MB, free: 15.4 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.6607, allocations: 3.938 kB / 411 MB, free: 15.39 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.107e-05/0.6608, allocations: 4 kB / 411 MB, free: 15.39 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001621/0.6624, allocations: 162.8 kB / 411.2 MB, free: 15.23 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004084/0.6665, allocations: 5.547 MB / 416.7 MB, free: 9.543 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003526/0.6669, allocations: 24.14 kB / 416.7 MB, free: 9.52 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.269e-05/0.667, allocations: 8 kB / 416.7 MB, free: 9.512 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.0001615/0.6671, allocations: 116 kB / 416.9 MB, free: 9.395 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009183/0.6681, allocations: 326.5 kB / 417.2 MB, free: 9.098 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.243e-05/0.6682, allocations: 15.81 kB / 417.2 MB, free: 9.082 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001455/0.6696, allocations: 433.2 kB / 417.6 MB, free: 8.699 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/0.6697, allocations: 3.953 kB / 417.6 MB, free: 8.695 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.6697, allocations: 4 kB / 417.6 MB, free: 8.691 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/0.6697, allocations: 7.984 kB / 417.6 MB, free: 8.684 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007439/0.6705, allocations: 346.1 kB / 418 MB, free: 8.344 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.6705, allocations: 0 / 418 MB, free: 8.344 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001554/0.672, allocations: 159.1 kB / 418.1 MB, free: 8.191 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.106e-06/0.6721, allocations: 0 / 418.1 MB, free: 8.191 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.217e-05/0.6721, allocations: 4 kB / 418.1 MB, free: 8.188 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004106/0.6762, allocations: 5.552 MB / 423.7 MB, free: 2.492 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.062e-06/0.6763, allocations: 0 / 423.7 MB, free: 2.492 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009931/0.6773, allocations: 424.7 kB / 424.1 MB, free: 2.094 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.015e-05/0.6774, allocations: 96.86 kB / 424.2 MB, free: 1.98 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.241e-05/0.6775, allocations: 7.938 kB / 424.2 MB, free: 1.973 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003229/0.6778, allocations: 7.984 kB / 424.2 MB, free: 1.965 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001196/0.6779, allocations: 31.78 kB / 424.2 MB, free: 1.938 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.504e-05/0.678, allocations: 11.98 kB / 424.2 MB, free: 1.926 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001154/0.6781, allocations: 109.9 kB / 424.4 MB, free: 1.828 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6781, allocations: 3.938 kB / 424.4 MB, free: 1.824 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006923/0.6788, allocations: 123.5 kB / 424.5 MB, free: 1.703 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.00153/0.6804, allocations: 1.04 MB / 425.5 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001823/0.6822, allocations: 369 kB / 425.9 MB, free: 352 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.6822, allocations: 0 / 425.9 MB, free: 352 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001409/0.6837, allocations: 240.9 kB / 426.1 MB, free: 128 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003591/0.684, allocations: 19.12 kB / 426.1 MB, free: 112 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002044/0.6861, allocations: 0.666 MB / 426.8 MB, free: 15.43 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005961/0.6867, allocations: 0.8556 MB / 427.7 MB, free: 14.55 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002429/0.687, allocations: 114.2 kB / 427.8 MB, free: 14.52 MB / 362.7 MB Notification: Performance of SimCode: time 1.112e-06/0.687, allocations: 0 / 427.8 MB, free: 14.52 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.278/3.965, allocations: 18.94 MB / 446.7 MB, free: 11.57 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