Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.978/1.978, allocations: 209.4 MB / 216.9 MB, free: 6.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.819e-05/2.831e-05, allocations: 4 kB / 267.6 MB, free: 5.297 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1042, allocations: 48.68 MB / 316.3 MB, free: 4.52 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4362/0.5405, allocations: 76.95 MB / 393.3 MB, free: 15.58 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004459/0.541, allocations: 99.22 kB / 393.4 MB, free: 15.52 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0254/0.5664, allocations: 4.788 MB / 398.1 MB, free: 11.5 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.704e-06/0.5665, allocations: 0 / 398.1 MB, free: 11.5 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.244e-05/0.5665, allocations: 0 / 398.1 MB, free: 11.5 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0007571/0.5673, allocations: 435.7 kB / 398.6 MB, free: 11.04 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/0.5674, allocations: 12.02 kB / 398.6 MB, free: 11.03 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009895/0.5684, allocations: 73.48 kB / 398.7 MB, free: 10.96 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003516/0.5687, allocations: 213.5 kB / 398.9 MB, free: 10.72 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.5688, allocations: 4 kB / 398.9 MB, free: 10.71 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.345e-05/0.5688, allocations: 8 kB / 398.9 MB, free: 10.71 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005478/0.5694, allocations: 194.9 kB / 399.1 MB, free: 10.56 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005032/0.5699, allocations: 231.9 kB / 399.3 MB, free: 10.35 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.5699, allocations: 0 / 399.3 MB, free: 10.35 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.924e-05/0.57, allocations: 0 / 399.3 MB, free: 10.35 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.346e-05/0.57, allocations: 18.92 kB / 399.3 MB, free: 10.34 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001961/0.572, allocations: 0.6083 MB / 399.9 MB, free: 9.727 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005368/0.5726, allocations: 206.9 kB / 400.1 MB, free: 9.539 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001864/0.5728, allocations: 72.53 kB / 400.2 MB, free: 9.473 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.267e-05/0.5728, allocations: 0 / 400.2 MB, free: 9.473 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.5729, allocations: 38.44 kB / 400.2 MB, free: 9.43 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 2.104e-06/0.5729, allocations: 0 / 400.2 MB, free: 9.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005709/0.5735, allocations: 177.1 kB / 400.4 MB, free: 9.266 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/0.5735, allocations: 55.41 kB / 400.5 MB, free: 9.199 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001986/0.5737, allocations: 144.5 kB / 400.6 MB, free: 9.059 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.991e-05/0.5738, allocations: 25.7 kB / 400.6 MB, free: 9.027 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.5739, allocations: 193.4 kB / 400.8 MB, free: 8.848 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.286e-05/0.574, allocations: 42.61 kB / 400.9 MB, free: 8.809 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.072e-05/0.574, allocations: 4 kB / 400.9 MB, free: 8.805 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.5742, allocations: 318.3 kB / 401.2 MB, free: 8.488 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001855/0.5744, allocations: 69.67 kB / 401.2 MB, free: 8.43 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002046/0.5746, allocations: 93.31 kB / 401.3 MB, free: 8.336 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002364/0.5748, allocations: 83.22 kB / 401.4 MB, free: 8.262 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.5748, allocations: 7.938 kB / 401.4 MB, free: 8.254 MB / 330.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005641/0.5754, allocations: 202.3 kB / 401.6 MB, free: 8.066 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.5755, allocations: 4 kB / 401.6 MB, free: 8.062 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.5755, allocations: 0 / 401.6 MB, free: 8.062 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.314e-05/0.5755, allocations: 4 kB / 401.6 MB, free: 8.059 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007579/0.5831, allocations: 475.3 kB / 402.1 MB, free: 7.598 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01384/0.597, allocations: 8.127 MB / 410.2 MB, free: 14.93 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003877/0.5974, allocations: 11.98 kB / 410.2 MB, free: 14.91 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.814e-05/0.5975, allocations: 15.36 kB / 410.2 MB, free: 14.9 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001387/0.5976, allocations: 108.9 kB / 410.3 MB, free: 14.79 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004806/0.5981, allocations: 181.8 kB / 410.5 MB, free: 14.62 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.298e-05/0.5982, allocations: 16 kB / 410.5 MB, free: 14.61 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005957/0.5988, allocations: 200.9 kB / 410.7 MB, free: 14.43 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.5988, allocations: 7.984 kB / 410.7 MB, free: 14.43 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.826e-06/0.5988, allocations: 4 kB / 410.7 MB, free: 14.42 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.5988, allocations: 4 kB / 410.8 MB, free: 14.42 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003701/0.5992, allocations: 218.2 kB / 411 MB, free: 14.18 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.5992, allocations: 0 / 411 MB, free: 14.18 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005541/0.6048, allocations: 419.3 kB / 411.4 MB, free: 13.78 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.059e-05/0.6049, allocations: 0 / 411.4 MB, free: 13.78 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.74e-05/0.6049, allocations: 0 / 411.4 MB, free: 13.78 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01185/0.6168, allocations: 7.996 MB / 419.4 MB, free: 5.234 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.95e-06/0.6168, allocations: 4.25 kB / 419.4 MB, free: 5.23 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005063/0.6173, allocations: 253.6 kB / 419.6 MB, free: 4.984 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.139e-05/0.6174, allocations: 89.02 kB / 419.7 MB, free: 4.879 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.445e-05/0.6175, allocations: 3.984 kB / 419.7 MB, free: 4.875 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003366/0.6178, allocations: 15.98 kB / 419.7 MB, free: 4.859 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001279/0.618, allocations: 30.89 kB / 419.8 MB, free: 4.832 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.89e-05/0.618, allocations: 0 / 419.8 MB, free: 4.832 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001649/0.6182, allocations: 136.5 kB / 419.9 MB, free: 4.711 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6182, allocations: 0 / 419.9 MB, free: 4.711 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006547/0.6189, allocations: 63.84 kB / 420 MB, free: 4.648 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 (13): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000909/0.6198, allocations: 0.7981 MB / 420.8 MB, free: 3.84 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.007419/0.6272, allocations: 0.5075 MB / 421.3 MB, free: 3.352 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.145e-06/0.6273, allocations: 4 kB / 421.3 MB, free: 3.348 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005331/0.6326, allocations: 409.5 kB / 421.7 MB, free: 2.957 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003776/0.6331, allocations: 23.28 kB / 421.7 MB, free: 2.938 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003342/0.6364, allocations: 468 kB / 422.1 MB, free: 2.457 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000418/0.6369, allocations: 0.7507 MB / 422.9 MB, free: 1.684 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000134/0.637, allocations: 44.36 kB / 422.9 MB, free: 1.664 MB / 346.7 MB Notification: Performance of SimCode: time 1.122e-06/0.6371, allocations: 0 / 422.9 MB, free: 1.664 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.96/3.597, allocations: 6.754 MB / 429.7 MB, free: 10.92 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC_res.mat does not exist to compare? outputFormat=mat