Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.069/2.069, allocations: 209.3 MB / 221.9 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.153e-05/4.171e-05, allocations: 4 kB / 273.2 MB, free: 0.6172 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1126, allocations: 48.7 MB / 321.8 MB, free: 15.82 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4252/0.5379, allocations: 87.02 MB / 408.9 MB, free: 2.871 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003771/0.5383, allocations: 99.92 kB / 409 MB, free: 2.773 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05656/0.5949, allocations: 11.09 MB / 420.1 MB, free: 7.652 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.2e-06/0.5949, allocations: 7.938 kB / 420.1 MB, free: 7.645 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.782e-05/0.595, allocations: 4 kB / 420.1 MB, free: 7.641 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.0009582/0.5959, allocations: 0.5567 MB / 420.6 MB, free: 7.039 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.369e-05/0.596, allocations: 12.03 kB / 420.6 MB, free: 7.027 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001162/0.5961, allocations: 78.52 kB / 420.7 MB, free: 6.941 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.837e-05/0.5962, allocations: 43.52 kB / 420.8 MB, free: 6.898 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003732/0.5966, allocations: 242.2 kB / 421 MB, free: 6.621 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.863e-05/0.5967, allocations: 28.78 kB / 421 MB, free: 6.59 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.832e-05/0.5967, allocations: 31.98 kB / 421.1 MB, free: 6.559 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008969/0.5976, allocations: 0.5543 MB / 421.6 MB, free: 5.875 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.481e-05/0.5977, allocations: 7.938 kB / 421.6 MB, free: 5.867 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.604e-05/0.5977, allocations: 15.94 kB / 421.6 MB, free: 5.852 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.179e-05/0.5978, allocations: 12 kB / 421.6 MB, free: 5.84 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006096/0.5984, allocations: 301.2 kB / 421.9 MB, free: 5.543 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003582/0.602, allocations: 4.047 MB / 426 MB, free: 1.293 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000479/0.6025, allocations: 94.52 kB / 426.1 MB, free: 1.191 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001105/0.6027, allocations: 24.98 kB / 426.1 MB, free: 1.164 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.976e-05/0.6027, allocations: 4 kB / 426.1 MB, free: 1.16 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.501e-05/0.6028, allocations: 38.5 kB / 426.1 MB, free: 1.113 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 3.036e-06/0.6028, allocations: 0 / 426.1 MB, free: 1.113 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004416/0.6032, allocations: 113.2 kB / 426.3 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.622e-05/0.6033, allocations: 51.41 kB / 426.3 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006004/0.6039, allocations: 351 kB / 426.6 MB, free: 0.582 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.777e-05/0.6039, allocations: 29.7 kB / 426.7 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000215/0.6042, allocations: 293.7 kB / 427 MB, free: 264 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.235e-05/0.6042, allocations: 27.66 kB / 427 MB, free: 236 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.037e-05/0.6043, allocations: 8 kB / 427 MB, free: 228 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.6044, allocations: 326.8 kB / 427.3 MB, free: 15.89 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001578/0.6046, allocations: 48.64 kB / 427.4 MB, free: 15.84 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003424/0.6049, allocations: 242.6 kB / 427.6 MB, free: 15.5 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002551/0.6052, allocations: 87.83 kB / 427.7 MB, free: 15.42 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.436e-06/0.6052, allocations: 7.938 kB / 427.7 MB, free: 15.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007915/0.606, allocations: 305.3 kB / 428 MB, free: 15.11 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.553e-05/0.6061, allocations: 8 kB / 428 MB, free: 15.1 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.628e-05/0.6061, allocations: 8 kB / 428 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.224e-05/0.6061, allocations: 12 kB / 428 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007803/0.6069, allocations: 107.8 kB / 428.1 MB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001023/0.608, allocations: 1.223 MB / 429.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000524/0.6085, allocations: 63.27 kB / 429.4 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.122e-05/0.6086, allocations: 24 kB / 429.4 MB, free: 13.62 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 5 (m_flow_IN_con_4.N,m_flow_IN_con_4.geometry,m_flow_IN_con_1.geometry,m_flow_IN_con_3.geometry,m_flow_IN_con_2.geometry) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * 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): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001503/0.6087, allocations: 133 kB / 429.6 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.536e-05/0.6088, allocations: 31.62 kB / 429.6 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005214/0.6094, allocations: 152.9 kB / 429.7 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.6094, allocations: 0 / 429.7 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.6094, allocations: 3.953 kB / 429.7 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.6094, allocations: 0 / 429.7 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000446/0.6099, allocations: 277.5 kB / 430 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.6099, allocations: 0 / 430 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004846/0.6104, allocations: 59.95 kB / 430.1 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.122e-06/0.6104, allocations: 0 / 430.1 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.627e-05/0.6104, allocations: 0 / 430.1 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008441/0.6113, allocations: 1.207 MB / 431.3 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.6113, allocations: 0 / 431.3 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000414/0.6117, allocations: 223.2 kB / 431.5 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001441/0.6119, allocations: 108.6 kB / 431.6 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.525e-05/0.612, allocations: 0 / 431.6 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002903/0.6123, allocations: 8 kB / 431.6 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.993e-05/0.6123, allocations: 11.98 kB / 431.6 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.236e-05/0.6124, allocations: 7.984 kB / 431.6 MB, free: 11.27 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004373/0.6128, allocations: 261.2 kB / 431.9 MB, free: 11.02 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6128, allocations: 0 / 431.9 MB, free: 11.02 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008473/0.6137, allocations: 131.9 kB / 432 MB, free: 10.89 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 (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001274/0.615, allocations: 0.8986 MB / 432.9 MB, free: 9.969 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007999/0.6158, allocations: 169.6 kB / 433.1 MB, free: 9.805 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.6158, allocations: 0 / 433.1 MB, free: 9.805 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003536/0.6162, allocations: 55.97 kB / 433.1 MB, free: 9.75 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000438/0.6166, allocations: 42.02 kB / 433.2 MB, free: 9.707 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001475/0.6181, allocations: 411.7 kB / 433.6 MB, free: 9.266 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003963/0.6186, allocations: 0.7797 MB / 434.4 MB, free: 8.461 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000213/0.6188, allocations: 99.41 kB / 434.5 MB, free: 8.367 MB / 362.7 MB Notification: Performance of SimCode: time 1.182e-06/0.6188, allocations: 0 / 434.5 MB, free: 8.367 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.833/3.452, allocations: 8.225 MB / 442.7 MB, free: 144 kB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_res.mat does not exist to compare? outputFormat=mat