Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_KC",fmuType="cs",version="2.0",platforms={"dynamic"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadModel(ModelicaTest): time 2.576/2.576, allocations: 235.1 MB / 242 MB, free: 9.746 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2181/2.794, allocations: 57.22 MB / 299.2 MB, free: 416 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/3.11, allocations: 54.85 MB / 354.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2014/3.312, allocations: 83.07 MB / 437.2 MB, free: 10.2 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004448/3.312, allocations: 91.94 kB / 437.3 MB, free: 10.11 MB / 378.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.04125/3.354, allocations: 5.764 MB / 443 MB, free: 4.266 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.492e-05/3.354, allocations: 12 kB / 443 MB, free: 4.254 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001661/3.355, allocations: 115.5 kB / 443.1 MB, free: 4.141 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004477/3.356, allocations: 226.7 kB / 443.4 MB, free: 3.879 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.344e-05/3.356, allocations: 4 kB / 443.4 MB, free: 3.875 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001424/3.356, allocations: 7.938 kB / 443.4 MB, free: 3.867 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001357/3.357, allocations: 264.1 kB / 443.6 MB, free: 3.605 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001088/3.359, allocations: 271.9 kB / 443.9 MB, free: 3.328 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/3.359, allocations: 0 / 443.9 MB, free: 3.328 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.456e-05/3.359, allocations: 0 / 443.9 MB, free: 3.328 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.531e-05/3.359, allocations: 19.98 kB / 443.9 MB, free: 3.309 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004355/3.363, allocations: 0.6736 MB / 444.6 MB, free: 2.594 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001436/3.365, allocations: 282.2 kB / 444.9 MB, free: 2.309 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004879/3.365, allocations: 93.62 kB / 445 MB, free: 2.215 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.305e-05/3.365, allocations: 0 / 445 MB, free: 2.215 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.302e-05/3.365, allocations: 38.56 kB / 445 MB, free: 2.168 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 4.188e-06/3.365, allocations: 4 kB / 445 MB, free: 2.164 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.001357/3.367, allocations: 225.3 kB / 445.2 MB, free: 1.938 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.288e-05/3.367, allocations: 55.41 kB / 445.3 MB, free: 1.871 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003094/3.367, allocations: 151 kB / 445.4 MB, free: 1.715 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.61e-05/3.367, allocations: 25.7 kB / 445.4 MB, free: 1.684 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001239/3.367, allocations: 116.2 kB / 445.6 MB, free: 1.562 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001159/3.368, allocations: 43.3 kB / 445.6 MB, free: 1.52 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.93e-05/3.368, allocations: 0 / 445.6 MB, free: 1.52 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002305/3.368, allocations: 330.8 kB / 445.9 MB, free: 1.188 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005007/3.368, allocations: 91.91 kB / 446 MB, free: 1.098 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004777/3.369, allocations: 123.3 kB / 446.1 MB, free: 0.9648 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005341/3.369, allocations: 108.1 kB / 446.2 MB, free: 0.8594 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.093e-06/3.369, allocations: 0 / 446.2 MB, free: 0.8594 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.001348/3.371, allocations: 273.3 kB / 446.5 MB, free: 0.5859 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.241e-05/3.371, allocations: 7.938 kB / 446.5 MB, free: 0.5781 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/3.371, allocations: 4 kB / 446.5 MB, free: 0.5742 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.507e-05/3.371, allocations: 0 / 446.5 MB, free: 0.5742 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2215/3.593, allocations: 0.9458 MB / 447.5 MB, free: 133.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05398/3.647, allocations: 9.827 MB / 457.3 MB, free: 125.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008879/3.648, allocations: 27.08 kB / 457.3 MB, free: 125.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.33e-05/3.648, allocations: 12.44 kB / 457.3 MB, free: 125.5 MB / 378.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.0001593/3.648, allocations: 110.5 kB / 457.4 MB, free: 125.4 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001657/3.648, allocations: 18.25 kB / 457.5 MB, free: 125.4 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02633/3.674, allocations: 0.6409 MB / 458.1 MB, free: 125.4 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.31e-05/3.674, allocations: 6.156 kB / 458.1 MB, free: 125.4 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.073e-05/3.674, allocations: 5.312 kB / 458.1 MB, free: 125.4 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.354e-05/3.674, allocations: 0.9375 kB / 458.1 MB, free: 125.4 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009024/3.675, allocations: 249.2 kB / 458.4 MB, free: 125.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/3.675, allocations: 0 / 458.4 MB, free: 125.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009992/3.676, allocations: 41.06 kB / 458.4 MB, free: 125.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02578/3.702, allocations: 493 kB / 458.9 MB, free: 125.2 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.82e-05/3.702, allocations: 10.55 kB / 458.9 MB, free: 125.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0311/3.734, allocations: 9.216 MB / 468.1 MB, free: 117.7 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.053e-06/3.734, allocations: 0.75 kB / 468.1 MB, free: 117.7 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02124/3.755, allocations: 0.6967 MB / 468.8 MB, free: 117.5 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0225/3.777, allocations: 1.069 MB / 469.9 MB, free: 117 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000116/3.778, allocations: 90.42 kB / 470 MB, free: 116.9 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001435/3.778, allocations: 2.344 kB / 470 MB, free: 116.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001025/3.779, allocations: 15.17 kB / 470 MB, free: 116.9 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001464/3.779, allocations: 22.41 kB / 470 MB, free: 116.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.464e-05/3.779, allocations: 13.08 kB / 470 MB, free: 116.9 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0002183/3.779, allocations: 121.1 kB / 470.1 MB, free: 116.8 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003701/3.783, allocations: 95.06 kB / 470.2 MB, free: 116.8 MB / 378.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): 3 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004379/3.784, allocations: 122.9 kB / 470.3 MB, free: 116.7 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.07686/3.861, allocations: 1.2 MB / 471.5 MB, free: 116.3 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.618e-06/3.861, allocations: 0 / 471.5 MB, free: 116.3 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00529/3.866, allocations: 490.8 kB / 472 MB, free: 115.9 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005395/3.866, allocations: 15.78 kB / 472 MB, free: 115.9 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008299/3.875, allocations: 0.6077 MB / 472.6 MB, free: 115.6 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000614/3.875, allocations: 0.776 MB / 473.4 MB, free: 114.9 MB / 378.7 MB Notification: Performance of SimCode: time 1.563e-06/3.876, allocations: 3.938 kB / 473.4 MB, free: 114.8 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC_res.mat does not exist to compare? outputFormat=mat