Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator,fileNamePrefix="Modelica_3_2_2_Modelica_Blocks_Examples_NoiseExamples_ImpureGenerator",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.765/1.765, allocations: 194.9 MB / 202.5 MB, free: 6.926 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2871/2.052, allocations: 46.83 MB / 249.3 MB, free: 5.336 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.092/2.145, allocations: 44.5 MB / 293.8 MB, free: 10.94 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2905/2.435, allocations: 70.25 MB / 364.1 MB, free: 7.133 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002349/2.435, allocations: 69.48 kB / 364.2 MB, free: 7.133 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.007588/2.443, allocations: 1.999 MB / 366.2 MB, free: 6.664 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/2.443, allocations: 11.59 kB / 366.2 MB, free: 6.664 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.216e-05/2.443, allocations: 3.906 kB / 366.2 MB, free: 6.66 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.862e-05/2.443, allocations: 165.1 kB / 366.3 MB, free: 6.465 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/2.443, allocations: 0.875 kB / 366.3 MB, free: 6.465 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.084e-05/2.443, allocations: 4 kB / 366.3 MB, free: 6.461 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.477e-05/2.443, allocations: 5.281 kB / 366.3 MB, free: 6.461 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.891e-05/2.443, allocations: 34.73 kB / 366.4 MB, free: 6.43 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/2.443, allocations: 5.25 kB / 366.4 MB, free: 6.426 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/2.443, allocations: 3.906 kB / 366.4 MB, free: 6.422 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/2.443, allocations: 3.938 kB / 366.4 MB, free: 6.418 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001975/2.444, allocations: 211.4 kB / 366.6 MB, free: 6.188 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.419e-05/2.444, allocations: 31.69 kB / 366.6 MB, free: 6.16 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.719e-05/2.444, allocations: 8.703 kB / 366.6 MB, free: 6.152 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.799e-06/2.444, allocations: 0 / 366.6 MB, free: 6.152 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.796e-05/2.444, allocations: 53.05 kB / 366.7 MB, free: 6.102 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 2.214e-06/2.444, allocations: 7.891 kB / 366.7 MB, free: 6.098 MB / 298.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001565/2.444, allocations: 44.22 kB / 366.7 MB, free: 6.062 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.272e-05/2.444, allocations: 56.91 kB / 366.8 MB, free: 5.996 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.274e-05/2.444, allocations: 98.22 kB / 366.9 MB, free: 5.906 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.708e-06/2.444, allocations: 25.7 kB / 366.9 MB, free: 5.875 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.02e-05/2.444, allocations: 80.14 kB / 367 MB, free: 5.793 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.594e-05/2.444, allocations: 11.72 kB / 367 MB, free: 5.785 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.127e-06/2.444, allocations: 0 / 367 MB, free: 5.785 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.726e-05/2.444, allocations: 320.1 kB / 367.3 MB, free: 21.47 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.267e-05/2.444, allocations: 5.328 kB / 367.3 MB, free: 21.47 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.97e-05/2.444, allocations: 21.34 kB / 367.3 MB, free: 21.45 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.029e-05/2.444, allocations: 9.156 kB / 367.3 MB, free: 21.45 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/2.444, allocations: 0 / 367.3 MB, free: 21.45 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000126/2.445, allocations: 53.73 kB / 367.4 MB, free: 21.41 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/2.445, allocations: 7.75 kB / 367.4 MB, free: 21.41 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/2.445, allocations: 0 / 367.4 MB, free: 21.41 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/2.445, allocations: 1.734 kB / 367.4 MB, free: 21.41 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.722e-05/2.445, allocations: 7.75 kB / 367.4 MB, free: 21.41 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/2.445, allocations: 1.641 kB / 367.4 MB, free: 21.41 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.676e-05/2.445, allocations: 7.938 kB / 367.4 MB, free: 21.41 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.928e-06/2.445, allocations: 3.875 kB / 367.4 MB, free: 21.41 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: 4 ($whenCondition1,impureRandom.y,globalSeed.seed,globalSeed.id_impure) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 7.793e-05/2.445, allocations: 108.7 kB / 367.5 MB, free: 21.29 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.368e-05/2.445, allocations: 7.844 kB / 367.5 MB, free: 21.29 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.166e-05/2.445, allocations: 13.41 kB / 367.6 MB, free: 21.28 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/2.445, allocations: 0 / 367.6 MB, free: 21.28 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.84e-06/2.445, allocations: 0 / 367.6 MB, free: 21.28 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/2.445, allocations: 0 / 367.6 MB, free: 21.28 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000236/2.445, allocations: 259.7 kB / 367.8 MB, free: 21.01 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/2.445, allocations: 3.906 kB / 367.8 MB, free: 21.01 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.804e-05/2.445, allocations: 384 / 367.8 MB, free: 21.01 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/2.445, allocations: 0 / 367.8 MB, free: 21.01 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/2.445, allocations: 3.875 kB / 367.8 MB, free: 21.01 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/2.445, allocations: 5.453 kB / 367.8 MB, free: 21 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/2.445, allocations: 0 / 367.8 MB, free: 21 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001227/2.446, allocations: 143.3 kB / 368 MB, free: 20.87 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002919/2.446, allocations: 0.5315 MB / 368.5 MB, free: 20.36 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.358e-05/2.446, allocations: 77.11 kB / 368.6 MB, free: 20.27 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.932e-05/2.446, allocations: 1.219 kB / 368.6 MB, free: 20.27 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.448e-05/2.446, allocations: 0 / 368.6 MB, free: 20.27 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.482e-05/2.446, allocations: 5.5 kB / 368.6 MB, free: 20.27 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.237e-06/2.446, allocations: 240 / 368.6 MB, free: 20.27 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.846e-05/2.446, allocations: 86.72 kB / 368.7 MB, free: 20.19 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001263/2.447, allocations: 40.92 kB / 368.7 MB, free: 20.18 MB / 314.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: 2 ($whenCondition1,impureRandom.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * 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.0005443/2.448, allocations: 193 kB / 368.9 MB, free: 20.05 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001064/2.448, allocations: 20.95 kB / 368.9 MB, free: 20.05 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/2.448, allocations: 0 / 368.9 MB, free: 20.05 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.848e-05/2.448, allocations: 13.33 kB / 368.9 MB, free: 20.05 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001662/2.448, allocations: 0 / 368.9 MB, free: 20.05 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002401/2.449, allocations: 71.84 kB / 369 MB, free: 19.98 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002813/2.449, allocations: 0.6994 MB / 369.7 MB, free: 19.27 MB / 314.7 MB Notification: Performance of SimCode: time 8.62e-07/2.449, allocations: 0 / 369.7 MB, free: 19.27 MB / 314.7 MB