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 2.016/2.016, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.103e-05/4.118e-05, allocations: 4 kB / 273.1 MB, free: 0.625 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.111, allocations: 48.71 MB / 321.9 MB, free: 15.82 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4372/0.5483, allocations: 81.93 MB / 403.8 MB, free: 7.973 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003748/0.5488, allocations: 95.16 kB / 403.9 MB, free: 7.883 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06054/0.6093, allocations: 14.03 MB / 417.9 MB, free: 9.633 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.6094, allocations: 3.938 kB / 417.9 MB, free: 9.629 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.715e-05/0.6094, allocations: 4 kB / 417.9 MB, free: 9.625 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.001387/0.6108, allocations: 0.6234 MB / 418.5 MB, free: 8.957 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/0.6109, allocations: 12.03 kB / 418.5 MB, free: 8.945 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001689/0.6111, allocations: 106.5 kB / 418.7 MB, free: 8.832 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001243/0.6112, allocations: 51.34 kB / 418.7 MB, free: 8.781 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005817/0.6118, allocations: 302.9 kB / 419 MB, free: 8.441 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.168e-05/0.6118, allocations: 41.3 kB / 419 MB, free: 8.398 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001125/0.612, allocations: 48 kB / 419.1 MB, free: 8.352 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001577/0.6136, allocations: 0.6701 MB / 419.8 MB, free: 7.68 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.055e-05/0.6136, allocations: 0 / 419.8 MB, free: 7.68 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.193e-05/0.6137, allocations: 20 kB / 419.8 MB, free: 7.66 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.471e-05/0.6138, allocations: 45.28 kB / 419.8 MB, free: 7.613 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001681/0.6155, allocations: 0.7039 MB / 420.5 MB, free: 6.906 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003506/0.619, allocations: 1.473 MB / 422 MB, free: 5.379 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001177/0.6202, allocations: 424.5 kB / 422.4 MB, free: 4.957 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000396/0.6206, allocations: 145.2 kB / 422.6 MB, free: 4.812 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.968e-05/0.6207, allocations: 8.219 kB / 422.6 MB, free: 4.805 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.48e-05/0.6207, allocations: 42.73 kB / 422.6 MB, free: 4.754 MB / 346.7 MB Notification: Performance of pre-optimization done (n=28): time 2.775e-06/0.6208, allocations: 0 / 422.6 MB, free: 4.754 MB / 346.7 MB Notification: Performance of matching and sorting (n=28): time 0.001161/0.6219, allocations: 378 kB / 423 MB, free: 4.379 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.727e-05/0.622, allocations: 59.52 kB / 423 MB, free: 4.309 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008529/0.6229, allocations: 482.9 kB / 423.5 MB, free: 3.832 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.149e-05/0.6229, allocations: 29.7 kB / 423.5 MB, free: 3.797 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000212/0.6231, allocations: 274.6 kB / 423.8 MB, free: 3.527 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001198/0.6233, allocations: 90.66 kB / 423.9 MB, free: 3.438 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.214e-05/0.6233, allocations: 4 kB / 423.9 MB, free: 3.434 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.6235, allocations: 322.8 kB / 424.2 MB, free: 3.109 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004159/0.6239, allocations: 144.5 kB / 424.3 MB, free: 2.965 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00049/0.6244, allocations: 236.2 kB / 424.6 MB, free: 2.695 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004964/0.6249, allocations: 171.8 kB / 424.7 MB, free: 2.527 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.6249, allocations: 0 / 424.7 MB, free: 2.527 MB / 346.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001227/0.6261, allocations: 444.8 kB / 425.2 MB, free: 2.086 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.702e-05/0.6262, allocations: 11.95 kB / 425.2 MB, free: 2.074 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.6262, allocations: 4 kB / 425.2 MB, free: 2.07 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.451e-05/0.6262, allocations: 8 kB / 425.2 MB, free: 2.062 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001841/0.6281, allocations: 208.1 kB / 425.4 MB, free: 1.859 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005029/0.6332, allocations: 7.314 MB / 432.7 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006654/0.6339, allocations: 63.27 kB / 432.8 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.098e-05/0.6339, allocations: 20 kB / 432.8 MB, free: 10.18 MB / 362.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 (40): * Single equations (assignments): 28 * 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.0002027/0.6342, allocations: 133 kB / 432.9 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/0.6343, allocations: 47.39 kB / 433 MB, free: 10 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00157/0.6359, allocations: 0.5099 MB / 433.5 MB, free: 9.484 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.405e-06/0.6359, allocations: 4 kB / 433.5 MB, free: 9.48 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.6359, allocations: 0 / 433.5 MB, free: 9.48 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.6359, allocations: 0 / 433.5 MB, free: 9.48 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008458/0.6368, allocations: 429.2 kB / 433.9 MB, free: 9.012 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.231e-06/0.6368, allocations: 7.984 kB / 433.9 MB, free: 9.004 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001744/0.6386, allocations: 195.8 kB / 434.1 MB, free: 8.812 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.099e-05/0.6386, allocations: 7.891 kB / 434.1 MB, free: 8.805 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.637e-05/0.6386, allocations: 15.98 kB / 434.1 MB, free: 8.789 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004989/0.6436, allocations: 7.306 MB / 441.4 MB, free: 1.203 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.6437, allocations: 0 / 441.4 MB, free: 1.203 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001157/0.6449, allocations: 483.4 kB / 441.9 MB, free: 0.7148 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002066/0.6451, allocations: 128.4 kB / 442 MB, free: 0.5703 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/0.6452, allocations: 4 kB / 442 MB, free: 0.5664 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004715/0.6457, allocations: 20.08 kB / 442.1 MB, free: 0.5469 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/0.6458, allocations: 19.97 kB / 442.1 MB, free: 0.5273 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.569e-05/0.6459, allocations: 23.92 kB / 442.1 MB, free: 0.5039 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006847/0.6466, allocations: 377.1 kB / 442.5 MB, free: 140 kB / 362.7 MB Notification: Performance of sort global known variables: time 4.5e-07/0.6466, allocations: 3.938 kB / 442.5 MB, free: 136 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007167/0.6473, allocations: 135.8 kB / 442.6 MB, free: 0 / 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 (28): * Single equations (assignments): 16 * 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.00175/0.6491, allocations: 1.119 MB / 443.7 MB, free: 14.85 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002334/0.6514, allocations: 468.2 kB / 444.2 MB, free: 14.39 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.6515, allocations: 0 / 444.2 MB, free: 14.39 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00168/0.6532, allocations: 287.6 kB / 444.5 MB, free: 14.11 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007066/0.6539, allocations: 85.97 kB / 444.5 MB, free: 14.03 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002381/0.6563, allocations: 0.8401 MB / 445.4 MB, free: 13.15 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006083/0.6569, allocations: 0.8975 MB / 446.3 MB, free: 12.23 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003301/0.6573, allocations: 143.4 kB / 446.4 MB, free: 12.09 MB / 378.7 MB Notification: Performance of SimCode: time 1.282e-06/0.6573, allocations: 3.938 kB / 446.4 MB, free: 12.08 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.446/4.103, allocations: 30.67 MB / 477.1 MB, free: 13.39 MB / 410.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