Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.Distributions,fileNamePrefix="Modelica_3_2_2_Modelica_Blocks_Examples_NoiseExamples_Distributions",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.909/1.909, allocations: 194.9 MB / 202.5 MB, free: 6.926 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2176/2.127, allocations: 46.83 MB / 249.3 MB, free: 5.348 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/2.245, allocations: 44.51 MB / 293.8 MB, free: 10.93 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3701/2.615, allocations: 73.22 MB / 367.1 MB, free: 7.082 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003746/2.615, allocations: 72.95 kB / 367.1 MB, free: 7.078 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.043/2.658, allocations: 7.624 MB / 374.8 MB, free: 6.16 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/2.658, allocations: 7.719 kB / 374.8 MB, free: 6.16 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000322/2.659, allocations: 37.42 kB / 374.8 MB, free: 6.148 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001986/2.659, allocations: 203.6 kB / 375 MB, free: 5.938 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.674e-05/2.659, allocations: 8.641 kB / 375 MB, free: 5.93 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.475e-05/2.659, allocations: 3.938 kB / 375 MB, free: 5.93 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001413/2.659, allocations: 42.67 kB / 375.1 MB, free: 5.926 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002167/2.659, allocations: 113.5 kB / 375.2 MB, free: 5.867 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/2.659, allocations: 3.938 kB / 375.2 MB, free: 5.867 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.954e-05/2.659, allocations: 0 / 375.2 MB, free: 5.867 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/2.659, allocations: 0 / 375.2 MB, free: 5.867 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007517/2.66, allocations: 0.5176 MB / 375.7 MB, free: 5.461 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002761/2.66, allocations: 125.6 kB / 375.8 MB, free: 5.383 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001041/2.661, allocations: 50.5 kB / 375.9 MB, free: 5.359 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.607e-05/2.661, allocations: 4.531 kB / 375.9 MB, free: 5.359 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002101/2.661, allocations: 134.7 kB / 376 MB, free: 5.277 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 2.184e-06/2.661, allocations: 0 / 376 MB, free: 5.277 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0009121/2.662, allocations: 168.9 kB / 376.2 MB, free: 5.234 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.709e-05/2.662, allocations: 120.6 kB / 376.3 MB, free: 5.105 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002018/2.662, allocations: 178.7 kB / 376.5 MB, free: 5.004 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.836e-05/2.662, allocations: 44.28 kB / 376.5 MB, free: 4.973 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.301e-05/2.662, allocations: 97.17 kB / 376.6 MB, free: 4.891 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.241e-05/2.662, allocations: 42.81 kB / 376.6 MB, free: 4.867 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.906e-05/2.662, allocations: 0 / 376.6 MB, free: 4.867 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001432/2.662, allocations: 329.1 kB / 377 MB, free: 20.55 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002082/2.663, allocations: 74.66 kB / 377 MB, free: 20.55 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002334/2.663, allocations: 121 kB / 377.2 MB, free: 20.52 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009328/2.664, allocations: 137.3 kB / 377.3 MB, free: 20.51 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/2.664, allocations: 0 / 377.3 MB, free: 20.51 MB / 314.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001245/2.665, allocations: 311 kB / 377.6 MB, free: 20.43 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/2.665, allocations: 3.875 kB / 377.6 MB, free: 20.43 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.469e-05/2.665, allocations: 0 / 377.6 MB, free: 20.43 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/2.665, allocations: 7.812 kB / 377.6 MB, free: 20.43 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000249/2.665, allocations: 27.33 kB / 377.6 MB, free: 20.42 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/2.666, allocations: 0 / 377.6 MB, free: 20.42 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001697/2.666, allocations: 27.45 kB / 377.7 MB, free: 20.41 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.472e-05/2.666, allocations: 11.66 kB / 377.7 MB, free: 20.41 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition2,$whenCondition1,n,$PRE.truncatedNormalNoise.state[1],truncatedNormalNoise.state[1],$PRE.truncatedNormalNoise.state[2],truncatedNormalNoise.state[2],$PRE.truncatedNormalNoise.state[3],truncatedNormalNoise.state[3],$PRE.truncatedNormalNoise.state[4],truncatedNormalNoise.state[4],$PRE.truncatedNormalNoise.r,truncatedNormalNoise.r,$PRE.truncatedNormalNoise.r_raw,truncatedNormalNoise.r_raw,$PRE.uniformNoise.state[1],uniformNoise.state[1],$PRE.uniformNoise.state[2],uniformNoise.state[2],$PRE.uniformNoise.state[3],uniformNoise.state[3],$PRE.uniformNoise.state[4],uniformNoise.state[4],$PRE.uniformNoise.r,uniformNoise.r,$PRE.uniformNoise.r_raw,uniformNoise.r_raw,globalSeed.id_impure,uniformNoise.localSeed,uniformNoise.actualGlobalSeed,truncatedNormalNoise.localSeed,truncatedNormalNoise.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 25 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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.0001996/2.666, allocations: 132.3 kB / 377.8 MB, free: 20.28 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.293e-05/2.666, allocations: 23.36 kB / 377.8 MB, free: 20.27 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.314e-05/2.666, allocations: 13.22 kB / 377.8 MB, free: 20.27 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/2.666, allocations: 0 / 377.8 MB, free: 20.27 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/2.666, allocations: 0 / 377.8 MB, free: 20.27 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.603e-06/2.666, allocations: 7.781 kB / 377.8 MB, free: 20.26 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002367/2.666, allocations: 185.1 kB / 378 MB, free: 20.08 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/2.666, allocations: 7.938 kB / 378 MB, free: 20.07 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001056/2.666, allocations: 19.39 kB / 378 MB, free: 20.06 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.02e-06/2.667, allocations: 7.812 kB / 378.1 MB, free: 20.06 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.802e-05/2.667, allocations: 3.984 kB / 378.1 MB, free: 20.05 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/2.667, allocations: 0 / 378.1 MB, free: 20.05 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/2.667, allocations: 3.875 kB / 378.1 MB, free: 20.05 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008157/2.667, allocations: 233.3 kB / 378.3 MB, free: 19.91 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001204/2.669, allocations: 0.7176 MB / 379 MB, free: 19.37 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.26e-05/2.669, allocations: 92.73 kB / 379.1 MB, free: 19.27 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.671e-05/2.669, allocations: 15.55 kB / 379.1 MB, free: 19.26 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001416/2.669, allocations: 15.73 kB / 379.1 MB, free: 19.25 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.538e-05/2.669, allocations: 15.67 kB / 379.1 MB, free: 19.25 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.237e-05/2.669, allocations: 7.859 kB / 379.2 MB, free: 19.24 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0001438/2.669, allocations: 126.7 kB / 379.3 MB, free: 19.16 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001726/2.671, allocations: 175.8 kB / 379.4 MB, free: 19.11 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition2,uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4],uniformNoise.r,uniformNoise.r_raw,$whenCondition1,truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4],truncatedNormalNoise.r,truncatedNormalNoise.r_raw,n) * Number of discrete states: 8 (truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4],uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001614/2.673, allocations: 430 kB / 379.9 MB, free: 18.87 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005532/2.673, allocations: 222.5 kB / 380.1 MB, free: 18.79 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/2.673, allocations: 4.188 kB / 380.1 MB, free: 18.79 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001289/2.673, allocations: 61.94 kB / 380.1 MB, free: 18.77 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001998/2.674, allocations: 11.47 kB / 380.2 MB, free: 18.77 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005964/2.674, allocations: 198.4 kB / 380.4 MB, free: 18.64 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004406/2.675, allocations: 0.7458 MB / 381.1 MB, free: 17.9 MB / 314.7 MB Notification: Performance of SimCode: time 1.001e-06/2.675, allocations: 0 / 381.1 MB, free: 17.9 MB / 314.7 MB