Running command: "" <> buildModelFMU(ModelicaTest.Math.Random.TestRandomNumbers,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Math_Random_TestRandomNumbers",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.261/2.261, allocations: 234.9 MB / 241.9 MB, free: 9.805 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1526/2.414, allocations: 57.21 MB / 299.1 MB, free: 496 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.316/2.73, allocations: 54.84 MB / 354 MB, free: 13.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1644/2.894, allocations: 79.68 MB / 433.6 MB, free: 13.67 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002713/2.895, allocations: 71.89 kB / 433.7 MB, free: 13.6 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.02001/2.915, allocations: 5.16 MB / 438.9 MB, free: 8.391 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/2.915, allocations: 8 kB / 438.9 MB, free: 8.383 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.769e-05/2.915, allocations: 15.81 kB / 438.9 MB, free: 8.367 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000124/2.915, allocations: 174.9 kB / 439.1 MB, free: 8.156 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/2.915, allocations: 3.938 kB / 439.1 MB, free: 8.152 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.631e-05/2.915, allocations: 12 kB / 439.1 MB, free: 8.141 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001674/2.915, allocations: 100.4 kB / 439.2 MB, free: 8.043 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001998/2.915, allocations: 128.3 kB / 439.3 MB, free: 7.91 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/2.916, allocations: 7.844 kB / 439.3 MB, free: 7.902 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/2.916, allocations: 0 / 439.3 MB, free: 7.902 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/2.916, allocations: 0 / 439.3 MB, free: 7.902 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002022/2.916, allocations: 166.3 kB / 439.5 MB, free: 7.703 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002047/2.916, allocations: 163 kB / 439.6 MB, free: 7.535 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001942/2.916, allocations: 157.7 kB / 439.8 MB, free: 7.379 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.987e-06/2.916, allocations: 4 kB / 439.8 MB, free: 7.375 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002134/2.916, allocations: 162 kB / 440 MB, free: 7.207 MB / 378.7 MB Notification: Performance of pre-optimization done (n=54): time 1.824e-06/2.916, allocations: 0 / 440 MB, free: 7.207 MB / 378.7 MB Notification: Performance of matching and sorting (n=54): time 0.0008/2.917, allocations: 0.5402 MB / 440.5 MB, free: 6.652 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/2.917, allocations: 99.8 kB / 440.6 MB, free: 6.543 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.583e-05/2.917, allocations: 116.8 kB / 440.7 MB, free: 6.422 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001075/2.918, allocations: 53.72 kB / 440.8 MB, free: 6.363 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.099e-05/2.918, allocations: 93.44 kB / 440.9 MB, free: 6.266 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001784/2.918, allocations: 130.6 kB / 441 MB, free: 6.137 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.649e-05/2.918, allocations: 0 / 441 MB, free: 6.137 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001551/2.918, allocations: 342.8 kB / 441.3 MB, free: 5.793 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004356/2.919, allocations: 169.9 kB / 441.5 MB, free: 5.625 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000726/2.919, allocations: 0.5078 MB / 442 MB, free: 4.949 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006405/2.92, allocations: 260.1 kB / 442.2 MB, free: 4.695 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-05/2.92, allocations: 4 kB / 442.2 MB, free: 4.691 MB / 378.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001675/2.922, allocations: 0.6339 MB / 442.9 MB, free: 4.051 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.538e-05/2.922, allocations: 4 kB / 442.9 MB, free: 4.047 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.61e-05/2.922, allocations: 16 kB / 442.9 MB, free: 4.031 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.474e-05/2.922, allocations: 16 kB / 442.9 MB, free: 4.016 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000681/2.922, allocations: 123.7 kB / 443 MB, free: 3.895 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.196e-05/2.923, allocations: 24.48 kB / 443.1 MB, free: 3.871 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000344/2.923, allocations: 47.44 kB / 443.1 MB, free: 3.824 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.99e-05/2.923, allocations: 44 kB / 443.1 MB, free: 3.781 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * Number of states: 0 () * Number of discrete variables: 107 ($PRE.state33[33],state33[33],$PRE.state33[32],state33[32],$PRE.state33[31],state33[31],$PRE.state33[30],state33[30],$PRE.state33[29],state33[29],$PRE.state33[28],state33[28],$PRE.state33[27],state33[27],$PRE.state33[26],state33[26],$PRE.state33[25],state33[25],$PRE.state33[24],state33[24],$PRE.state33[23],state33[23],$PRE.state33[22],state33[22],$PRE.state33[21],state33[21],$PRE.state33[20],state33[20],$PRE.state33[19],state33[19],$PRE.state33[18],state33[18],$PRE.state33[17],state33[17],$PRE.state33[16],state33[16],$PRE.state33[15],state33[15],$PRE.state33[14],state33[14],$PRE.state33[13],state33[13],$PRE.state33[12],state33[12],$PRE.state33[11],state33[11],$PRE.state33[10],state33[10],$PRE.state33[9],state33[9],$PRE.state33[8],state33[8],$PRE.state33[7],state33[7],$PRE.state33[6],state33[6],$PRE.state33[5],state33[5],$PRE.state33[4],state33[4],$PRE.state33[3],state33[3],$PRE.state33[2],state33[2],$PRE.state33[1],state33[1],$PRE.state4c[4],state4c[4],$PRE.state4c[3],state4c[3],$PRE.state4c[2],state4c[2],$PRE.state4c[1],state4c[1],$PRE.state4b[4],state4b[4],$PRE.state4b[3],state4b[3],$PRE.state4b[2],state4b[2],$PRE.state4b[1],state4b[1],$PRE.state4a[4],state4a[4],$PRE.state4a[3],state4a[3],$PRE.state4a[2],state4a[2],$PRE.state4a[1],state4a[1],$PRE.state2[2],state2[2],$PRE.state2[1],state2[1],$PRE.r33,r33,$PRE.r4c,r4c,$PRE.r4b,r4b,$PRE.r4a,r4a,$PRE.r2,r2,$PRE.result,result,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 0 * 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.0002846/2.923, allocations: 188.6 kB / 443.3 MB, free: 3.59 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.305e-05/2.923, allocations: 19.66 kB / 443.4 MB, free: 3.57 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.615e-05/2.923, allocations: 13.58 kB / 443.4 MB, free: 3.562 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/2.923, allocations: 0 / 443.4 MB, free: 3.562 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/2.923, allocations: 0 / 443.4 MB, free: 3.562 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/2.923, allocations: 0 / 443.4 MB, free: 3.562 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001833/2.924, allocations: 146.4 kB / 443.5 MB, free: 3.383 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/2.924, allocations: 0 / 443.5 MB, free: 3.383 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.372e-05/2.924, allocations: 7.906 kB / 443.5 MB, free: 3.375 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/2.924, allocations: 3.938 kB / 443.5 MB, free: 3.371 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/2.924, allocations: 4 kB / 443.5 MB, free: 3.367 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.733e-06/2.924, allocations: 7.938 kB / 443.5 MB, free: 3.359 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/2.924, allocations: 0 / 443.5 MB, free: 3.359 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008546/2.925, allocations: 0.568 MB / 444.1 MB, free: 2.77 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001345/2.926, allocations: 1.285 MB / 445.4 MB, free: 1.465 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.152e-05/2.926, allocations: 100.9 kB / 445.5 MB, free: 1.348 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.177e-05/2.926, allocations: 7.891 kB / 445.5 MB, free: 1.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.669e-05/2.926, allocations: 4 kB / 445.5 MB, free: 1.336 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.695e-05/2.926, allocations: 0 / 445.5 MB, free: 1.336 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/2.926, allocations: 0 / 445.5 MB, free: 1.336 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.662e-05/2.926, allocations: 79.22 kB / 445.6 MB, free: 1.258 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001737/2.928, allocations: 103.9 kB / 445.7 MB, free: 1.156 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: 54 ($whenCondition1,result,r2,r4a,r4b,r4c,r33,state2[1],state2[2],state4a[1],state4a[2],state4a[3],state4a[4],state4b[1],state4b[2],state4b[3],state4b[4],state4c[1],state4c[2],state4c[3],state4c[4],state33[1],state33[2],state33[3],state33[4],state33[5],state33[6],state33[7],state33[8],state33[9],state33[10],state33[11],state33[12],state33[13],state33[14],state33[15],state33[16],state33[17],state33[18],state33[19],state33[20],state33[21],state33[22],state33[23],state33[24],state33[25],state33[26],state33[27],state33[28],state33[29],state33[30],state33[31],state33[32],state33[33]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0008292/2.929, allocations: 268.7 kB / 445.9 MB, free: 0.9141 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00106/2.93, allocations: 443.7 kB / 446.4 MB, free: 492 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/2.93, allocations: 0 / 446.4 MB, free: 492 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000216/2.93, allocations: 162.5 kB / 446.5 MB, free: 332 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001588/2.93, allocations: 0 / 446.5 MB, free: 332 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1482/3.078, allocations: 0.4923 MB / 447 MB, free: 132.6 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003869/3.079, allocations: 0.8178 MB / 447.8 MB, free: 131.9 MB / 378.7 MB Notification: Performance of SimCode: time 1.202e-06/3.079, allocations: 0 / 447.8 MB, free: 131.9 MB / 378.7 MB