Running command: "" <> buildModelFMU(ModelicaTest.Math.TestMatrices,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Math_TestMatrices",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.556/2.556, allocations: 235.1 MB / 242 MB, free: 9.652 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1769/2.733, allocations: 57.18 MB / 299.2 MB, free: 360 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3209/3.054, allocations: 54.87 MB / 354.1 MB, free: 13.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1848/3.239, allocations: 80.62 MB / 434.7 MB, free: 12.63 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003396/3.239, allocations: 63.98 kB / 434.8 MB, free: 12.57 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.02125/3.26, allocations: 2.838 MB / 437.6 MB, free: 9.676 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.85e-05/3.26, allocations: 11.94 kB / 437.6 MB, free: 9.664 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.234e-05/3.26, allocations: 0 / 437.6 MB, free: 9.664 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001784/3.261, allocations: 159.1 kB / 437.8 MB, free: 9.469 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.993e-05/3.261, allocations: 0 / 437.8 MB, free: 9.469 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.605e-05/3.261, allocations: 0 / 437.8 MB, free: 9.469 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.505e-05/3.261, allocations: 4 kB / 437.8 MB, free: 9.465 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.839e-05/3.261, allocations: 37.55 kB / 437.8 MB, free: 9.422 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/3.261, allocations: 0 / 437.8 MB, free: 9.422 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/3.261, allocations: 0 / 437.8 MB, free: 9.422 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/3.261, allocations: 0 / 437.8 MB, free: 9.422 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002362/3.261, allocations: 130.2 kB / 437.9 MB, free: 9.258 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.298e-05/3.261, allocations: 18.52 kB / 438 MB, free: 9.23 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.884e-05/3.261, allocations: 4.859 kB / 438 MB, free: 9.223 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.61e-05/3.261, allocations: 4 kB / 438 MB, free: 9.219 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.802e-05/3.261, allocations: 64.36 kB / 438 MB, free: 9.141 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 2.825e-06/3.261, allocations: 0 / 438 MB, free: 9.141 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002706/3.262, allocations: 29.7 kB / 438.1 MB, free: 9.105 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.167e-05/3.262, allocations: 81.09 kB / 438.1 MB, free: 9.008 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.181e-05/3.262, allocations: 85 kB / 438.2 MB, free: 8.918 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.326e-05/3.262, allocations: 25.7 kB / 438.2 MB, free: 8.887 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.272e-05/3.262, allocations: 80.14 kB / 438.3 MB, free: 8.805 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.812e-05/3.262, allocations: 3.906 kB / 438.3 MB, free: 8.801 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-06/3.262, allocations: 4.031 kB / 438.3 MB, free: 8.797 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002532/3.262, allocations: 314.8 kB / 438.6 MB, free: 8.48 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.148e-05/3.262, allocations: 4 kB / 438.6 MB, free: 8.477 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.004e-05/3.263, allocations: 0 / 438.6 MB, free: 8.477 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.447e-05/3.263, allocations: 3.938 kB / 438.6 MB, free: 8.473 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.125e-06/3.263, allocations: 0 / 438.6 MB, free: 8.473 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002046/3.263, allocations: 33.7 kB / 438.7 MB, free: 8.434 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.78e-05/3.263, allocations: 7.938 kB / 438.7 MB, free: 8.426 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/3.263, allocations: 8.078 kB / 438.7 MB, free: 8.418 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/3.263, allocations: 0 / 438.7 MB, free: 8.418 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.745e-06/3.263, allocations: 0 / 438.7 MB, free: 8.418 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/3.263, allocations: 3.906 kB / 438.7 MB, free: 8.414 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.426e-05/3.263, allocations: 4 kB / 438.7 MB, free: 8.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/3.263, allocations: 4 kB / 438.7 MB, free: 8.406 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000163/3.263, allocations: 126.7 kB / 438.8 MB, free: 8.27 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.481e-05/3.263, allocations: 0 / 438.8 MB, free: 8.27 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.628e-05/3.263, allocations: 6.953 kB / 438.8 MB, free: 8.262 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/3.263, allocations: 8 kB / 438.8 MB, free: 8.254 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/3.263, allocations: 0 / 438.8 MB, free: 8.254 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/3.263, allocations: 0 / 438.8 MB, free: 8.254 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001809/3.264, allocations: 134.1 kB / 439 MB, free: 8.086 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/3.264, allocations: 0 / 439 MB, free: 8.086 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.573e-06/3.264, allocations: 0 / 439 MB, free: 8.086 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/3.264, allocations: 0 / 439 MB, free: 8.086 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.74e-05/3.264, allocations: 4 kB / 439 MB, free: 8.082 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/3.264, allocations: 0 / 439 MB, free: 8.082 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-06/3.264, allocations: 0 / 439 MB, free: 8.082 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002175/3.264, allocations: 72.97 kB / 439 MB, free: 7.992 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004177/3.264, allocations: 433.5 kB / 439.5 MB, free: 7.547 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.359e-05/3.265, allocations: 81.11 kB / 439.5 MB, free: 7.449 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.916e-05/3.265, allocations: 0 / 439.5 MB, free: 7.449 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.494e-05/3.265, allocations: 3.906 kB / 439.6 MB, free: 7.445 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.121e-05/3.265, allocations: 8.062 kB / 439.6 MB, free: 7.438 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.348e-06/3.265, allocations: 0 / 439.6 MB, free: 7.438 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.666e-05/3.265, allocations: 79.28 kB / 439.6 MB, free: 7.359 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002984/3.268, allocations: 75.92 kB / 439.7 MB, free: 7.285 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: 1 (result) * Number of discrete states: 1 (result) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001272/3.269, allocations: 233.1 kB / 439.9 MB, free: 7.059 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001476/3.269, allocations: 29.7 kB / 440 MB, free: 7.023 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/3.269, allocations: 0 / 440 MB, free: 7.023 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.183e-05/3.269, allocations: 29.7 kB / 440 MB, free: 6.988 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001842/3.27, allocations: 0 / 440 MB, free: 6.988 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002505/3.27, allocations: 44.06 kB / 440 MB, free: 6.922 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004191/3.27, allocations: 0.6802 MB / 440.7 MB, free: 6.215 MB / 378.7 MB Notification: Performance of SimCode: time 4.639e-06/3.27, allocations: 4.125 kB / 440.7 MB, free: 6.211 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Math.TestMatrices_res.mat does not exist to compare? outputFormat=mat