Running command: "" <> buildModelFMU(Modelica.Math.Random.Examples.GenerateRandomNumbers,fileNamePrefix="Modelica_3_2_2_Modelica_Math_Random_Examples_GenerateRandomNumbers",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(Modelica): time 1.82/1.82, allocations: 194.9 MB / 202.5 MB, free: 6.938 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2622/2.082, allocations: 46.84 MB / 249.3 MB, free: 5.355 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/2.183, allocations: 44.5 MB / 293.8 MB, free: 10.93 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2752/2.459, allocations: 70.39 MB / 364.2 MB, free: 7.09 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002236/2.459, allocations: 61.75 kB / 364.3 MB, free: 7.09 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.01212/2.471, allocations: 3.217 MB / 367.5 MB, free: 6.477 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/2.471, allocations: 7.875 kB / 367.5 MB, free: 6.477 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001729/2.471, allocations: 24.84 kB / 367.5 MB, free: 6.465 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001363/2.472, allocations: 180 kB / 367.7 MB, free: 6.258 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.874e-05/2.472, allocations: 3.875 kB / 367.7 MB, free: 6.258 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.057e-05/2.472, allocations: 3.875 kB / 367.7 MB, free: 6.258 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001851/2.472, allocations: 139 kB / 367.9 MB, free: 6.258 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003777/2.472, allocations: 281.9 kB / 368.1 MB, free: 6.199 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/2.472, allocations: 1.5 kB / 368.1 MB, free: 6.199 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.458e-05/2.472, allocations: 0 / 368.1 MB, free: 6.199 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/2.472, allocations: 3.938 kB / 368.1 MB, free: 6.195 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001918/2.472, allocations: 183.3 kB / 368.3 MB, free: 6.012 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003731/2.473, allocations: 491.5 kB / 368.8 MB, free: 5.965 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003322/2.473, allocations: 471.1 kB / 369.3 MB, free: 5.945 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.107e-05/2.473, allocations: 0 / 369.3 MB, free: 5.945 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004644/2.474, allocations: 476.8 kB / 369.7 MB, free: 5.742 MB / 298.7 MB Notification: Performance of pre-optimization done (n=46): time 1.824e-06/2.474, allocations: 0 / 369.7 MB, free: 5.742 MB / 298.7 MB Notification: Performance of matching and sorting (n=46): time 0.0008992/2.475, allocations: 0.5492 MB / 370.3 MB, free: 5.695 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.869e-05/2.475, allocations: 164.7 kB / 370.4 MB, free: 5.535 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.809e-05/2.475, allocations: 94.36 kB / 370.5 MB, free: 5.441 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/2.475, allocations: 29.39 kB / 370.6 MB, free: 5.41 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.559e-05/2.475, allocations: 84.67 kB / 370.6 MB, free: 5.328 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.352e-05/2.475, allocations: 85.94 kB / 370.7 MB, free: 5.273 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.114e-06/2.475, allocations: 0 / 370.7 MB, free: 5.273 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001508/2.475, allocations: 327.5 kB / 371 MB, free: 20.96 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.073e-05/2.475, allocations: 79.27 kB / 371.1 MB, free: 20.96 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001075/2.475, allocations: 110.5 kB / 371.2 MB, free: 20.94 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002072/2.475, allocations: 107 kB / 371.3 MB, free: 20.94 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/2.475, allocations: 3.906 kB / 371.3 MB, free: 20.94 MB / 314.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0004563/2.476, allocations: 415.5 kB / 371.7 MB, free: 20.89 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/2.476, allocations: 10.09 kB / 371.7 MB, free: 20.88 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/2.476, allocations: 0.625 kB / 371.7 MB, free: 20.88 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/2.476, allocations: 3.938 kB / 371.8 MB, free: 20.88 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.365e-06/2.476, allocations: 0 / 371.8 MB, free: 20.88 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/2.476, allocations: 5.203 kB / 371.8 MB, free: 20.88 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.048e-05/2.476, allocations: 15.69 kB / 371.8 MB, free: 20.87 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.264e-05/2.476, allocations: 5.438 kB / 371.8 MB, free: 20.87 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 46 ($whenCondition2,r64,r128,r1024,state64[1],state64[2],state128[1],state128[2],state128[3],state128[4],state1024[1],state1024[2],state1024[3],state1024[4],state1024[5],state1024[6],state1024[7],state1024[8],state1024[9],state1024[10],state1024[11],state1024[12],state1024[13],state1024[14],state1024[15],state1024[16],state1024[17],state1024[18],state1024[19],state1024[20],state1024[21],state1024[22],state1024[23],state1024[24],state1024[25],state1024[26],state1024[27],state1024[28],state1024[29],state1024[30],state1024[31],state1024[32],state1024[33],$whenCondition1,rImpure,iImpure) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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.0003299/2.476, allocations: 264.7 kB / 372 MB, free: 20.69 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.765e-05/2.477, allocations: 23.25 kB / 372.1 MB, free: 20.68 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.128e-05/2.477, allocations: 10.81 kB / 372.1 MB, free: 20.68 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/2.477, allocations: 0 / 372.1 MB, free: 20.68 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/2.477, allocations: 3.906 kB / 372.1 MB, free: 20.68 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/2.477, allocations: 4 kB / 372.1 MB, free: 20.67 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002465/2.477, allocations: 211.5 kB / 372.3 MB, free: 20.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/2.477, allocations: 0 / 372.3 MB, free: 20.5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.204e-06/2.477, allocations: 1.969 kB / 372.3 MB, free: 20.5 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/2.477, allocations: 0 / 372.3 MB, free: 20.5 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.032e-05/2.477, allocations: 24.28 kB / 372.3 MB, free: 20.5 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/2.477, allocations: 0 / 372.3 MB, free: 20.5 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/2.477, allocations: 4.5 kB / 372.3 MB, free: 20.5 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001132/2.478, allocations: 0.7413 MB / 373.1 MB, free: 20.39 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002008/2.48, allocations: 1.62 MB / 374.7 MB, free: 19.91 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.38e-05/2.48, allocations: 99.83 kB / 374.8 MB, free: 19.81 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002369/2.481, allocations: 84.75 kB / 374.9 MB, free: 19.8 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/2.481, allocations: 15.62 kB / 374.9 MB, free: 19.8 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.147e-05/2.481, allocations: 13.83 kB / 374.9 MB, free: 19.79 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.959e-05/2.481, allocations: 27.97 kB / 374.9 MB, free: 19.79 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.412e-05/2.481, allocations: 79.06 kB / 375 MB, free: 19.72 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001528/2.482, allocations: 99.66 kB / 375.1 MB, free: 19.7 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 46 ($whenCondition2,r64,r128,r1024,state64[1],state64[2],state128[1],state128[2],state128[3],state128[4],state1024[1],state1024[2],state1024[3],state1024[4],state1024[5],state1024[6],state1024[7],state1024[8],state1024[9],state1024[10],state1024[11],state1024[12],state1024[13],state1024[14],state1024[15],state1024[16],state1024[17],state1024[18],state1024[19],state1024[20],state1024[21],state1024[22],state1024[23],state1024[24],state1024[25],state1024[26],state1024[27],state1024[28],state1024[29],state1024[30],state1024[31],state1024[32],state1024[33],$whenCondition1,rImpure,iImpure) * Number of discrete states: 46 (iImpure,rImpure,$whenCondition1,r1024,r128,r64,state1024[33],state1024[32],state1024[31],state1024[30],state1024[29],state1024[28],state1024[27],state1024[26],state1024[25],state1024[24],state1024[23],state1024[22],state1024[21],state1024[20],state1024[19],state1024[18],state1024[17],state1024[16],state1024[15],state1024[14],state1024[13],state1024[12],state1024[11],state1024[10],state1024[9],state1024[8],state1024[7],state1024[6],state1024[5],state1024[4],state1024[3],state1024[2],state1024[1],state128[4],state128[3],state128[2],state128[1],state64[2],state64[1],$whenCondition2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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.0008229/2.483, allocations: 307 kB / 375.4 MB, free: 19.56 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006289/2.484, allocations: 0.5056 MB / 375.9 MB, free: 19.5 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/2.484, allocations: 0 / 375.9 MB, free: 19.5 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001851/2.486, allocations: 2.149 MB / 378 MB, free: 19.43 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002152/2.486, allocations: 16.34 kB / 378.1 MB, free: 19.43 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006715/2.487, allocations: 308.8 kB / 378.4 MB, free: 19.32 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003702/2.487, allocations: 0.7393 MB / 379.1 MB, free: 18.61 MB / 314.7 MB Notification: Performance of SimCode: time 1.462e-06/2.487, allocations: 0 / 379.1 MB, free: 18.61 MB / 314.7 MB