Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.952/1.952, allocations: 209.4 MB / 216.9 MB, free: 6.66 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.684e-05/2.682e-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.69 MB / 316.3 MB, free: 4.512 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4282/0.5333, allocations: 81.52 MB / 397.8 MB, free: 10.75 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000403/0.5337, allocations: 104.2 kB / 397.9 MB, free: 10.69 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06074/0.5945, allocations: 13.86 MB / 411.8 MB, free: 15 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.5945, allocations: 0 / 411.8 MB, free: 15 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.992e-05/0.5946, allocations: 4 kB / 411.8 MB, free: 14.99 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: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.001385/0.596, allocations: 0.621 MB / 412.4 MB, free: 14.36 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/0.596, allocations: 12.03 kB / 412.4 MB, free: 14.34 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001472/0.5962, allocations: 51.34 kB / 412.5 MB, free: 14.29 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005833/0.5968, allocations: 308.2 kB / 412.8 MB, free: 13.96 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.425e-05/0.5968, allocations: 20 kB / 412.8 MB, free: 13.94 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.886e-05/0.5969, allocations: 32 kB / 412.8 MB, free: 13.91 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001367/0.5983, allocations: 0.6278 MB / 413.5 MB, free: 13.45 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001338/0.5997, allocations: 0.5942 MB / 414.1 MB, free: 12.97 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.231e-05/0.5997, allocations: 0 / 414.1 MB, free: 12.97 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.686e-05/0.5998, allocations: 0 / 414.1 MB, free: 12.97 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-05/0.5999, allocations: 41.28 kB / 414.1 MB, free: 12.93 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003543/0.6035, allocations: 1.296 MB / 415.4 MB, free: 11.77 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001267/0.6048, allocations: 0.5173 MB / 415.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004407/0.6052, allocations: 169.4 kB / 416.1 MB, free: 11.15 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.588e-05/0.6053, allocations: 4 kB / 416.1 MB, free: 11.14 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/0.6054, allocations: 37.88 kB / 416.1 MB, free: 11.1 MB / 346.7 MB Notification: Performance of pre-optimization done (n=37): time 3.767e-06/0.6054, allocations: 0 / 416.1 MB, free: 11.1 MB / 346.7 MB Notification: Performance of matching and sorting (n=37): time 0.001213/0.6066, allocations: 405.6 kB / 416.5 MB, free: 10.73 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/0.6067, allocations: 58.91 kB / 416.6 MB, free: 10.67 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002388/0.6069, allocations: 169.2 kB / 416.7 MB, free: 10.51 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.521e-05/0.607, allocations: 29.7 kB / 416.8 MB, free: 10.47 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001881/0.6072, allocations: 300.7 kB / 417.1 MB, free: 10.2 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001532/0.6073, allocations: 128.9 kB / 417.2 MB, free: 10.09 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.8e-05/0.6074, allocations: 3.938 kB / 417.2 MB, free: 10.08 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.6075, allocations: 326.1 kB / 417.5 MB, free: 9.762 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000411/0.608, allocations: 157.7 kB / 417.7 MB, free: 9.629 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004977/0.6085, allocations: 257.6 kB / 417.9 MB, free: 9.367 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005489/0.609, allocations: 198.5 kB / 418.1 MB, free: 9.195 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.257e-06/0.609, allocations: 4 kB / 418.1 MB, free: 9.191 MB / 346.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.00135/0.6104, allocations: 483.5 kB / 418.6 MB, free: 8.758 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.49e-05/0.6105, allocations: 4 kB / 418.6 MB, free: 8.754 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/0.6105, allocations: 4 kB / 418.6 MB, free: 8.75 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.529e-05/0.6105, allocations: 4 kB / 418.6 MB, free: 8.746 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002073/0.6126, allocations: 215.1 kB / 418.8 MB, free: 8.539 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005325/0.618, allocations: 7.348 MB / 426.2 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005427/0.6186, allocations: 27.77 kB / 426.2 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.608e-05/0.6186, allocations: 23.56 kB / 426.2 MB, free: 0.9492 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * 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: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002157/0.6189, allocations: 120.8 kB / 426.3 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001077/0.6199, allocations: 409.3 kB / 426.7 MB, free: 464 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.374e-05/0.6201, allocations: 23.72 kB / 426.7 MB, free: 440 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001594/0.6217, allocations: 0.5534 MB / 427.3 MB, free: 15.94 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.868e-06/0.6217, allocations: 4 kB / 427.3 MB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.6217, allocations: 0 / 427.3 MB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.6217, allocations: 0 / 427.3 MB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008676/0.6226, allocations: 397.6 kB / 427.7 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.6226, allocations: 0 / 427.7 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001988/0.6246, allocations: 203.1 kB / 427.9 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.276e-05/0.6247, allocations: 8 kB / 427.9 MB, free: 15.35 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.209e-05/0.6247, allocations: 7.984 kB / 427.9 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005267/0.63, allocations: 7.343 MB / 435.2 MB, free: 7.801 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.902e-06/0.6301, allocations: 288 / 435.2 MB, free: 7.801 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001203/0.6313, allocations: 0.4989 MB / 435.7 MB, free: 7.324 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001041/0.6314, allocations: 104.8 kB / 435.8 MB, free: 7.203 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.196e-05/0.6315, allocations: 0 / 435.8 MB, free: 7.203 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004786/0.632, allocations: 11.98 kB / 435.9 MB, free: 7.191 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001428/0.6322, allocations: 35.88 kB / 435.9 MB, free: 7.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.053e-05/0.6322, allocations: 15.81 kB / 435.9 MB, free: 7.148 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001689/0.6324, allocations: 137.5 kB / 436 MB, free: 7.027 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.705e-06/0.6324, allocations: 0 / 436 MB, free: 7.027 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008547/0.6333, allocations: 159.2 kB / 436.2 MB, free: 6.875 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 (37): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * 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: 12 {1,1,1,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.001848/0.6352, allocations: 1.131 MB / 437.3 MB, free: 5.762 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002468/0.6377, allocations: 0.4927 MB / 437.8 MB, free: 5.312 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/0.6377, allocations: 4 kB / 437.8 MB, free: 5.309 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001818/0.6396, allocations: 315.9 kB / 438.1 MB, free: 5.023 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000392/0.64, allocations: 19.84 kB / 438.2 MB, free: 5.008 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00265/0.6426, allocations: 0.8154 MB / 439 MB, free: 4.184 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006083/0.6433, allocations: 0.9032 MB / 439.9 MB, free: 3.27 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003052/0.6436, allocations: 133 kB / 440 MB, free: 3.23 MB / 362.7 MB Notification: Performance of SimCode: time 1.022e-06/0.6436, allocations: 0 / 440 MB, free: 3.23 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.393/4.036, allocations: 29.22 MB / 469.2 MB, free: 5.992 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC_res.mat does not exist to compare? outputFormat=mat