Running command: "" <> buildModelFMU(ModelicaTest.Math.Random.TestSpecial,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Math_Random_TestSpecial",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.514/2.514, allocations: 234.9 MB / 241.9 MB, free: 9.766 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1621/2.676, allocations: 57.21 MB / 299.1 MB, free: 456 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2825/2.959, allocations: 54.84 MB / 354 MB, free: 13.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1633/3.122, allocations: 80.87 MB / 434.8 MB, free: 12.46 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002675/3.122, allocations: 67.91 kB / 434.9 MB, free: 12.39 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 7.889/11.01, allocations: 1.658 GB / 2.083 GB, free: 56.22 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.569e-05/11.01, allocations: 12 kB / 2.083 GB, free: 56.21 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.605e-05/11.01, allocations: 7.188 kB / 2.083 GB, free: 56.2 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.836e-05/11.01, allocations: 163 kB / 2.083 GB, free: 56 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/11.01, allocations: 0 / 2.083 GB, free: 56 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.869e-06/11.01, allocations: 0 / 2.083 GB, free: 56 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.139e-05/11.01, allocations: 7.984 kB / 2.083 GB, free: 56 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.959e-05/11.01, allocations: 29.58 kB / 2.083 GB, free: 55.96 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/11.01, allocations: 0 / 2.083 GB, free: 55.96 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/11.01, allocations: 0 / 2.083 GB, free: 55.96 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/11.01, allocations: 4.75 kB / 2.083 GB, free: 55.96 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001214/11.01, allocations: 126.2 kB / 2.084 GB, free: 55.8 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.055e-05/11.01, allocations: 14.58 kB / 2.084 GB, free: 55.78 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.778e-05/11.01, allocations: 8.797 kB / 2.084 GB, free: 55.77 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.819e-06/11.01, allocations: 0 / 2.084 GB, free: 55.77 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.429e-05/11.01, allocations: 68.23 kB / 2.084 GB, free: 55.69 MB / 458.7 MB Notification: Performance of pre-optimization done (n=1): time 1.673e-06/11.01, allocations: 0 / 2.084 GB, free: 55.69 MB / 458.7 MB Notification: Performance of matching and sorting (n=1): time 0.000163/11.01, allocations: 33.69 kB / 2.084 GB, free: 55.65 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.204e-05/11.01, allocations: 77.11 kB / 2.084 GB, free: 55.55 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.853e-05/11.01, allocations: 88.94 kB / 2.084 GB, free: 55.46 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.165e-05/11.01, allocations: 25.7 kB / 2.084 GB, free: 55.43 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.138e-05/11.01, allocations: 80.14 kB / 2.084 GB, free: 55.35 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.641e-05/11.01, allocations: 7.75 kB / 2.084 GB, free: 55.34 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-06/11.01, allocations: 0 / 2.084 GB, free: 55.34 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.917e-05/11.01, allocations: 310.8 kB / 2.084 GB, free: 55.03 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.392e-05/11.01, allocations: 4 kB / 2.084 GB, free: 55.03 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.185e-06/11.01, allocations: 0 / 2.084 GB, free: 55.03 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.341e-05/11.01, allocations: 4 kB / 2.084 GB, free: 55.02 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/11.01, allocations: 3.938 kB / 2.084 GB, free: 55.02 MB / 458.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.791e-05/11.01, allocations: 33.69 kB / 2.084 GB, free: 54.98 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/11.01, allocations: 11.84 kB / 2.084 GB, free: 54.97 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/11.01, allocations: 0 / 2.084 GB, free: 54.97 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/11.01, allocations: 3.719 kB / 2.084 GB, free: 54.97 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.986e-06/11.01, allocations: 4 kB / 2.084 GB, free: 54.97 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/11.01, allocations: 0 / 2.084 GB, free: 54.97 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.463e-05/11.01, allocations: 0 / 2.084 GB, free: 54.97 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/11.01, allocations: 0 / 2.084 GB, free: 54.97 MB / 458.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 9.843e-05/11.01, allocations: 134.6 kB / 2.084 GB, free: 54.82 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.913e-05/11.01, allocations: 0 / 2.084 GB, free: 54.82 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.166e-05/11.01, allocations: 10.83 kB / 2.084 GB, free: 54.82 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/11.01, allocations: 3.984 kB / 2.084 GB, free: 54.81 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/11.01, allocations: 0 / 2.084 GB, free: 54.81 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/11.01, allocations: 0 / 2.084 GB, free: 54.81 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.309e-05/11.01, allocations: 130.2 kB / 2.085 GB, free: 54.65 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/11.01, allocations: 0 / 2.085 GB, free: 54.65 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.042e-06/11.01, allocations: 0 / 2.085 GB, free: 54.65 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/11.01, allocations: 0 / 2.085 GB, free: 54.65 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-06/11.01, allocations: 0 / 2.085 GB, free: 54.65 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/11.01, allocations: 0 / 2.085 GB, free: 54.65 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/11.01, allocations: 4 kB / 2.085 GB, free: 54.64 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.966e-05/11.01, allocations: 64.94 kB / 2.085 GB, free: 54.57 MB / 458.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001823/11.01, allocations: 449.5 kB / 2.085 GB, free: 54.11 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.225e-05/11.01, allocations: 84.91 kB / 2.085 GB, free: 54.01 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/11.01, allocations: 0 / 2.085 GB, free: 54.01 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.59e-05/11.01, allocations: 4.031 kB / 2.085 GB, free: 54 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.117e-05/11.01, allocations: 4 kB / 2.085 GB, free: 54 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/11.01, allocations: 3.906 kB / 2.085 GB, free: 54 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.958e-05/11.01, allocations: 75.28 kB / 2.085 GB, free: 53.92 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001224/11.01, allocations: 4 kB / 2.085 GB, free: 53.92 MB / 458.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.0001322/11.01, allocations: 95.19 kB / 2.085 GB, free: 53.82 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001024/11.01, allocations: 37.56 kB / 2.085 GB, free: 53.78 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/11.01, allocations: 3.938 kB / 2.085 GB, free: 53.77 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.053e-05/11.01, allocations: 29.7 kB / 2.085 GB, free: 53.74 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001126/11.01, allocations: 0 / 2.085 GB, free: 53.74 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001548/11.02, allocations: 51 kB / 2.085 GB, free: 53.67 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002249/11.02, allocations: 0.6841 MB / 2.086 GB, free: 68.96 MB / 474.7 MB Notification: Performance of SimCode: time 8.52e-07/11.02, allocations: 0 / 2.086 GB, free: 68.96 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestSpecial_res.mat does not exist to compare? outputFormat=mat