Running command: "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2b,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Math_TestMatrices2b",fmuType="me",version="2.0",platforms={"static"}) [: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.272/2.272, allocations: 234.9 MB / 241.9 MB, free: 13.11 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.1852/2.457, allocations: 57.2 MB / 299.1 MB, free: 3.805 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3249/2.782, allocations: 54.84 MB / 354 MB, free: 1.25 MB / 286.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2118/2.994, allocations: 82.96 MB / 436.9 MB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003255/2.995, allocations: 63.91 kB / 437 MB, free: 14.11 MB / 382.1 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.4677/3.462, allocations: 45.5 MB / 482.5 MB, free: 70.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/3.462, allocations: 8 kB / 482.5 MB, free: 70.15 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.076e-05/3.462, allocations: 0 / 482.5 MB, free: 70.15 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.156e-05/3.463, allocations: 163.1 kB / 482.7 MB, free: 69.95 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/3.463, allocations: 5.156 kB / 482.7 MB, free: 69.95 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.445e-05/3.463, allocations: 4 kB / 482.7 MB, free: 69.95 MB / 382.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.795e-05/3.463, allocations: 0 / 482.7 MB, free: 69.95 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.768e-05/3.463, allocations: 29.61 kB / 482.7 MB, free: 69.91 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.158e-06/3.463, allocations: 0 / 482.7 MB, free: 69.91 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/3.463, allocations: 8 kB / 482.7 MB, free: 69.9 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-06/3.463, allocations: 0 / 482.7 MB, free: 69.9 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000115/3.463, allocations: 126.2 kB / 482.8 MB, free: 69.74 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.08e-05/3.463, allocations: 14.58 kB / 482.8 MB, free: 69.72 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.056e-05/3.463, allocations: 12.95 kB / 482.9 MB, free: 69.7 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.092e-05/3.463, allocations: 0 / 482.9 MB, free: 69.7 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.984e-05/3.463, allocations: 60.2 kB / 482.9 MB, free: 69.63 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.914e-06/3.463, allocations: 4 kB / 482.9 MB, free: 69.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001866/3.463, allocations: 33.64 kB / 482.9 MB, free: 69.59 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.538e-05/3.463, allocations: 77.11 kB / 483 MB, free: 69.49 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.6e-05/3.463, allocations: 85 kB / 483.1 MB, free: 69.4 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.023e-05/3.463, allocations: 25.7 kB / 483.1 MB, free: 69.37 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.799e-05/3.463, allocations: 80.14 kB / 483.2 MB, free: 69.29 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.379e-05/3.464, allocations: 11.89 kB / 483.2 MB, free: 69.28 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-06/3.464, allocations: 3.938 kB / 483.2 MB, free: 69.27 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.73e-05/3.464, allocations: 318.9 kB / 483.5 MB, free: 68.95 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.927e-06/3.464, allocations: 0 / 483.5 MB, free: 68.95 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.414e-06/3.464, allocations: 0 / 483.5 MB, free: 68.95 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.149e-05/3.464, allocations: 4 kB / 483.5 MB, free: 68.95 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/3.464, allocations: 0 / 483.5 MB, free: 68.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001086/3.464, allocations: 33.64 kB / 483.6 MB, free: 68.91 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.001308/3.465, allocations: 4 kB / 483.6 MB, free: 68.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/3.465, allocations: 0 / 483.6 MB, free: 68.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.254e-05/3.465, allocations: 0 / 483.6 MB, free: 68.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.375e-06/3.465, allocations: 4.094 kB / 483.6 MB, free: 68.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/3.465, allocations: 11.89 kB / 483.6 MB, free: 68.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.035e-05/3.465, allocations: 4 kB / 483.6 MB, free: 68.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.639e-05/3.465, allocations: 0 / 483.6 MB, free: 68.89 MB / 382.1 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.0001175/3.466, allocations: 126.7 kB / 483.7 MB, free: 68.75 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.473e-05/3.466, allocations: 0 / 483.7 MB, free: 68.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.921e-05/3.466, allocations: 7 kB / 483.7 MB, free: 68.74 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/3.466, allocations: 0 / 483.7 MB, free: 68.74 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/3.466, allocations: 0 / 483.7 MB, free: 68.74 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/3.466, allocations: 4 kB / 483.7 MB, free: 68.74 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.262e-05/3.466, allocations: 131.7 kB / 483.9 MB, free: 68.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/3.466, allocations: 0 / 483.9 MB, free: 68.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.392e-06/3.466, allocations: 0 / 483.9 MB, free: 68.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/3.466, allocations: 4 kB / 483.9 MB, free: 68.57 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.397e-06/3.466, allocations: 0 / 483.9 MB, free: 68.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/3.466, allocations: 0 / 483.9 MB, free: 68.57 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/3.466, allocations: 0 / 483.9 MB, free: 68.57 MB / 382.1 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001666/3.466, allocations: 72.97 kB / 483.9 MB, free: 68.48 MB / 382.1 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002254/3.466, allocations: 437.5 kB / 484.4 MB, free: 68.03 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.829e-05/3.466, allocations: 81.09 kB / 484.4 MB, free: 67.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.134e-05/3.466, allocations: 0 / 484.4 MB, free: 67.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.408e-05/3.466, allocations: 3.906 kB / 484.4 MB, free: 67.93 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.496e-05/3.466, allocations: 0 / 484.4 MB, free: 67.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-06/3.466, allocations: 4.062 kB / 484.4 MB, free: 67.93 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.252e-05/3.466, allocations: 79.28 kB / 484.5 MB, free: 67.85 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002818/3.469, allocations: 208.8 kB / 484.7 MB, free: 67.64 MB / 382.1 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.00242/3.472, allocations: 392.4 kB / 485.1 MB, free: 67.29 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001067/3.472, allocations: 29.7 kB / 485.1 MB, free: 67.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/3.472, allocations: 0 / 485.1 MB, free: 67.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.626e-05/3.472, allocations: 37.75 kB / 485.2 MB, free: 67.21 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001542/3.472, allocations: 0 / 485.2 MB, free: 67.21 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001674/3.472, allocations: 48.02 kB / 485.2 MB, free: 67.14 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001661/3.473, allocations: 0.6846 MB / 485.9 MB, free: 66.43 MB / 382.1 MB Notification: Performance of SimCode: time 1.011e-06/3.473, allocations: 0 / 485.9 MB, free: 66.43 MB / 382.1 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2b_res.mat does not exist to compare? outputFormat=mat