Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.173/2.173, allocations: 209.4 MB / 216.5 MB, free: 6.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.372e-05/2.375e-05, allocations: 4 kB / 267.7 MB, free: 4.918 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1308, allocations: 48.69 MB / 316.3 MB, free: 4.133 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4202/0.5511, allocations: 86.58 MB / 402.9 MB, free: 5.828 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003707/0.5515, allocations: 94.5 kB / 403 MB, free: 5.773 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05346/0.605, allocations: 10.87 MB / 413.9 MB, free: 12.94 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.605, allocations: 0 / 413.9 MB, free: 12.94 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.714e-05/0.6051, allocations: 4 kB / 413.9 MB, free: 12.94 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.0009979/0.6061, allocations: 0.5662 MB / 414.5 MB, free: 12.35 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/0.6061, allocations: 11.97 kB / 414.5 MB, free: 12.34 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001246/0.6063, allocations: 39.53 kB / 414.5 MB, free: 12.3 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004216/0.6067, allocations: 245 kB / 414.8 MB, free: 12.03 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.574e-05/0.6068, allocations: 12 kB / 414.8 MB, free: 12.02 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.101e-05/0.6068, allocations: 20 kB / 414.8 MB, free: 12 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005286/0.6074, allocations: 225.6 kB / 415 MB, free: 11.86 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007829/0.6082, allocations: 0.4966 MB / 415.5 MB, free: 11.3 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.759e-05/0.6082, allocations: 7.938 kB / 415.5 MB, free: 11.3 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.847e-05/0.6082, allocations: 4 kB / 415.5 MB, free: 11.29 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.525e-05/0.6083, allocations: 12 kB / 415.5 MB, free: 11.28 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003713/0.612, allocations: 3.953 MB / 419.5 MB, free: 7.281 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004435/0.6125, allocations: 85.36 kB / 419.6 MB, free: 7.199 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.6126, allocations: 28.56 kB / 419.6 MB, free: 7.172 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.928e-05/0.6127, allocations: 0 / 419.6 MB, free: 7.172 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.183e-05/0.6127, allocations: 34.55 kB / 419.6 MB, free: 7.129 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 2.003e-06/0.6127, allocations: 0 / 419.6 MB, free: 7.129 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003889/0.6131, allocations: 96.47 kB / 419.7 MB, free: 7.035 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/0.6132, allocations: 51.41 kB / 419.8 MB, free: 6.973 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000307/0.6135, allocations: 232.4 kB / 420 MB, free: 6.785 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.613e-05/0.6136, allocations: 29.7 kB / 420 MB, free: 6.75 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002026/0.6138, allocations: 262.7 kB / 420.3 MB, free: 6.523 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.231e-05/0.6138, allocations: 30.98 kB / 420.3 MB, free: 6.496 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.688e-05/0.6139, allocations: 0 / 420.3 MB, free: 6.496 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.614, allocations: 333.4 kB / 420.6 MB, free: 6.172 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001273/0.6142, allocations: 41.78 kB / 420.7 MB, free: 6.137 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002802/0.6144, allocations: 234 kB / 420.9 MB, free: 5.824 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002154/0.6147, allocations: 82.83 kB / 421 MB, free: 5.758 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.686e-06/0.6147, allocations: 4 kB / 421 MB, free: 5.754 MB / 346.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006678/0.6154, allocations: 265 kB / 421.2 MB, free: 5.512 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.872e-05/0.6154, allocations: 15.39 kB / 421.3 MB, free: 5.5 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.602e-05/0.6154, allocations: 8 kB / 421.3 MB, free: 5.492 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.775e-05/0.6155, allocations: 8 kB / 421.3 MB, free: 5.484 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000782/0.6163, allocations: 107.8 kB / 421.4 MB, free: 5.379 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009838/0.6173, allocations: 1.22 MB / 422.6 MB, free: 4.129 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004443/0.6178, allocations: 39.62 kB / 422.6 MB, free: 4.09 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.322e-05/0.6178, allocations: 23.25 kB / 422.7 MB, free: 4.07 MB / 346.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.0001381/0.618, allocations: 120.5 kB / 422.8 MB, free: 3.949 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002898/0.6183, allocations: 104.5 kB / 422.9 MB, free: 3.848 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.868e-05/0.6183, allocations: 19.72 kB / 422.9 MB, free: 3.828 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004513/0.6188, allocations: 132.2 kB / 423 MB, free: 3.707 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.6188, allocations: 3.953 kB / 423 MB, free: 3.703 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.278e-05/0.6188, allocations: 4 kB / 423 MB, free: 3.699 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.6189, allocations: 3.984 kB / 423 MB, free: 3.695 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004396/0.6193, allocations: 241.7 kB / 423.3 MB, free: 3.453 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.6193, allocations: 0 / 423.3 MB, free: 3.453 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005025/0.6198, allocations: 55.91 kB / 423.3 MB, free: 3.402 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.6199, allocations: 3.938 kB / 423.3 MB, free: 3.398 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.916e-05/0.6199, allocations: 8 kB / 423.3 MB, free: 3.391 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009014/0.6208, allocations: 1.201 MB / 424.5 MB, free: 2.156 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.209e-06/0.6208, allocations: 0 / 424.5 MB, free: 2.156 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003546/0.6212, allocations: 209.9 kB / 424.8 MB, free: 1.945 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.79e-05/0.6213, allocations: 92.83 kB / 424.8 MB, free: 1.836 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.393e-05/0.6214, allocations: 4 kB / 424.8 MB, free: 1.832 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002513/0.6217, allocations: 7.984 kB / 424.9 MB, free: 1.824 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.759e-05/0.6217, allocations: 4 kB / 424.9 MB, free: 1.82 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-05/0.6218, allocations: 11.36 kB / 424.9 MB, free: 1.812 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001978/0.622, allocations: 158.6 kB / 425 MB, free: 1.68 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.284e-06/0.622, allocations: 4 kB / 425 MB, free: 1.676 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008939/0.6229, allocations: 134.9 kB / 425.2 MB, free: 1.547 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 (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.001264/0.6242, allocations: 0.8807 MB / 426 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007187/0.6249, allocations: 149.6 kB / 426.2 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.6249, allocations: 2 kB / 426.2 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003674/0.6253, allocations: 55.03 kB / 426.2 MB, free: 492 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003172/0.6257, allocations: 15.7 kB / 426.3 MB, free: 480 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001414/0.6271, allocations: 361.5 kB / 426.6 MB, free: 88 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004067/0.6275, allocations: 0.775 MB / 427.4 MB, free: 15.29 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002084/0.6278, allocations: 30 kB / 427.4 MB, free: 15.26 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001674/0.6279, allocations: 95.97 kB / 427.5 MB, free: 15.23 MB / 362.7 MB Notification: Performance of SimCode: time 1.123e-06/0.6279, allocations: 0 / 427.5 MB, free: 15.23 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06068/0.6886, allocations: 7.218 MB / 434.7 MB, free: 8.02 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003003/0.689, allocations: 200.1 kB / 434.9 MB, free: 7.816 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.181/3.87, allocations: 2.812 kB / 434.9 MB, free: 7.816 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_res.mat does not exist to compare? outputFormat=mat