Running command: "" <> buildModelFMU(ModelicaTest.Math.Random.TestDistributions,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Math_Random_TestDistributions",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.438/2.438, allocations: 235.1 MB / 242 MB, free: 9.75 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2017/2.64, allocations: 57.2 MB / 299.2 MB, free: 440 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3223/2.962, allocations: 54.85 MB / 354.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1969/3.159, allocations: 81.32 MB / 435.4 MB, free: 11.96 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002789/3.159, allocations: 67.91 kB / 435.5 MB, free: 11.9 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.446/10.6, allocations: 1.008 GB / 1.433 GB, free: 86.82 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.679e-05/10.61, allocations: 8 kB / 1.433 GB, free: 86.81 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.162e-05/10.61, allocations: 11.91 kB / 1.433 GB, free: 86.8 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.399e-05/10.61, allocations: 159.1 kB / 1.433 GB, free: 86.6 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.115e-05/10.61, allocations: 0 / 1.433 GB, free: 86.6 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.535e-05/10.61, allocations: 0 / 1.433 GB, free: 86.6 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.57e-05/10.61, allocations: 0 / 1.433 GB, free: 86.6 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.258e-05/10.61, allocations: 41.42 kB / 1.433 GB, free: 86.56 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/10.61, allocations: 0 / 1.433 GB, free: 86.56 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/10.61, allocations: 0 / 1.433 GB, free: 86.56 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/10.61, allocations: 3.844 kB / 1.433 GB, free: 86.56 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001377/10.61, allocations: 126.2 kB / 1.433 GB, free: 86.4 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.21e-05/10.61, allocations: 18.61 kB / 1.434 GB, free: 86.37 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.989e-05/10.61, allocations: 4.859 kB / 1.434 GB, free: 86.36 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.432e-06/10.61, allocations: 0 / 1.434 GB, free: 86.36 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.63e-05/10.61, allocations: 56.27 kB / 1.434 GB, free: 86.29 MB / 474.7 MB Notification: Performance of pre-optimization done (n=1): time 2.274e-06/10.61, allocations: 3.969 kB / 1.434 GB, free: 86.29 MB / 474.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001806/10.61, allocations: 45.67 kB / 1.434 GB, free: 86.24 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.315e-05/10.61, allocations: 81.11 kB / 1.434 GB, free: 86.14 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.011e-05/10.61, allocations: 85 kB / 1.434 GB, free: 86.05 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/10.61, allocations: 25.7 kB / 1.434 GB, free: 86.02 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.16e-05/10.61, allocations: 80.14 kB / 1.434 GB, free: 85.94 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.076e-05/10.61, allocations: 0 / 1.434 GB, free: 85.94 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.659e-06/10.61, allocations: 0 / 1.434 GB, free: 85.94 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.81e-05/10.61, allocations: 322.2 kB / 1.434 GB, free: 85.62 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.161e-05/10.61, allocations: 0 / 1.434 GB, free: 85.62 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.043e-05/10.61, allocations: 4 kB / 1.434 GB, free: 85.62 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.161e-05/10.61, allocations: 0 / 1.434 GB, free: 85.62 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/10.61, allocations: 0 / 1.434 GB, free: 85.62 MB / 474.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.497e-05/10.61, allocations: 33.69 kB / 1.434 GB, free: 85.58 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/10.61, allocations: 4 kB / 1.434 GB, free: 85.58 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/10.61, allocations: 0 / 1.434 GB, free: 85.58 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/10.61, allocations: 4 kB / 1.434 GB, free: 85.57 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.505e-06/10.61, allocations: 7.812 kB / 1.434 GB, free: 85.57 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/10.61, allocations: 0 / 1.434 GB, free: 85.57 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.084e-05/10.61, allocations: 8 kB / 1.434 GB, free: 85.56 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/10.61, allocations: 0 / 1.434 GB, free: 85.56 MB / 474.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.0001235/10.61, allocations: 138.5 kB / 1.434 GB, free: 85.41 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.722e-05/10.61, allocations: 0 / 1.434 GB, free: 85.41 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.915e-05/10.61, allocations: 6.953 kB / 1.434 GB, free: 85.41 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.778e-06/10.61, allocations: 0 / 1.434 GB, free: 85.41 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/10.61, allocations: 3.984 kB / 1.434 GB, free: 85.4 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/10.61, allocations: 3.875 kB / 1.434 GB, free: 85.4 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.146e-05/10.61, allocations: 126.2 kB / 1.435 GB, free: 85.24 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/10.61, allocations: 3.906 kB / 1.435 GB, free: 85.24 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.794e-06/10.61, allocations: 0 / 1.435 GB, free: 85.24 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/10.61, allocations: 0 / 1.435 GB, free: 85.24 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/10.61, allocations: 0 / 1.435 GB, free: 85.24 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/10.61, allocations: 0 / 1.435 GB, free: 85.24 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/10.61, allocations: 0 / 1.435 GB, free: 85.24 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001167/10.61, allocations: 65.03 kB / 1.435 GB, free: 85.16 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002641/10.61, allocations: 453.4 kB / 1.435 GB, free: 84.7 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3e-05/10.61, allocations: 77.11 kB / 1.435 GB, free: 84.6 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.293e-05/10.61, allocations: 0 / 1.435 GB, free: 84.6 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.819e-05/10.61, allocations: 0 / 1.435 GB, free: 84.6 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.975e-05/10.61, allocations: 7.891 kB / 1.435 GB, free: 84.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.267e-05/10.61, allocations: 4.031 kB / 1.435 GB, free: 84.59 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.243e-05/10.61, allocations: 79.11 kB / 1.435 GB, free: 84.52 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00268/10.61, allocations: 7.906 kB / 1.435 GB, free: 84.51 MB / 474.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.0001513/10.61, allocations: 99.25 kB / 1.435 GB, free: 84.41 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001054/10.61, allocations: 29.69 kB / 1.435 GB, free: 84.37 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/10.61, allocations: 4 kB / 1.435 GB, free: 84.37 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 2.099e-05/10.61, allocations: 29.58 kB / 1.435 GB, free: 84.34 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001322/10.61, allocations: 4 kB / 1.435 GB, free: 84.33 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001741/10.61, allocations: 47.88 kB / 1.435 GB, free: 84.26 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001624/10.61, allocations: 0.6841 MB / 1.436 GB, free: 83.55 MB / 474.7 MB Notification: Performance of SimCode: time 1.603e-06/10.61, allocations: 0 / 1.436 GB, free: 83.55 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Math.Random.TestDistributions_res.mat does not exist to compare? outputFormat=mat