Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.UniformNoise,fileNamePrefix="Modelica_3_2_2_Modelica_Blocks_Examples_NoiseExamples_UniformNoise",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.951/1.951, allocations: 194.9 MB / 202.5 MB, free: 6.934 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2172/2.168, allocations: 46.83 MB / 249.3 MB, free: 5.355 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09293/2.261, allocations: 44.5 MB / 293.8 MB, free: 10.94 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2985/2.56, allocations: 71.15 MB / 365 MB, free: 7.109 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002715/2.56, allocations: 69.53 kB / 365.1 MB, free: 7.109 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.01743/2.578, allocations: 4.221 MB / 369.3 MB, free: 6.477 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/2.578, allocations: 15.62 kB / 369.3 MB, free: 6.473 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006229/2.578, allocations: 40.61 kB / 369.3 MB, free: 6.465 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002513/2.579, allocations: 191.4 kB / 369.5 MB, free: 6.258 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.576e-05/2.579, allocations: 3.875 kB / 369.5 MB, free: 6.258 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.835e-05/2.579, allocations: 7.781 kB / 369.5 MB, free: 6.254 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001399/2.579, allocations: 36.48 kB / 369.6 MB, free: 6.254 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002782/2.579, allocations: 102.5 kB / 369.7 MB, free: 6.203 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/2.579, allocations: 0 / 369.7 MB, free: 6.203 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.074e-05/2.579, allocations: 1.828 kB / 369.7 MB, free: 6.203 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.942e-06/2.579, allocations: 0 / 369.7 MB, free: 6.203 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006101/2.58, allocations: 341.1 kB / 370 MB, free: 5.953 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002477/2.58, allocations: 95.59 kB / 370.1 MB, free: 5.902 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.641e-05/2.58, allocations: 51.75 kB / 370.1 MB, free: 5.883 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.43e-05/2.58, allocations: 3.875 kB / 370.2 MB, free: 5.883 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002032/2.581, allocations: 132.8 kB / 370.3 MB, free: 5.805 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 2.004e-06/2.581, allocations: 3.938 kB / 370.3 MB, free: 5.801 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003531/2.581, allocations: 127.3 kB / 370.4 MB, free: 5.762 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.806e-05/2.581, allocations: 97.42 kB / 370.5 MB, free: 5.664 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001738/2.581, allocations: 150.9 kB / 370.7 MB, free: 5.57 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001107/2.581, allocations: 44.06 kB / 370.7 MB, free: 5.539 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.199e-05/2.581, allocations: 100.2 kB / 370.8 MB, free: 5.453 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.91e-05/2.582, allocations: 36.89 kB / 370.8 MB, free: 5.43 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.538e-05/2.582, allocations: 6.938 kB / 370.8 MB, free: 5.43 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001677/2.582, allocations: 328.3 kB / 371.2 MB, free: 21.12 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003193/2.582, allocations: 70.11 kB / 371.2 MB, free: 21.11 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002509/2.582, allocations: 110.6 kB / 371.3 MB, free: 21.08 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005567/2.583, allocations: 102.8 kB / 371.4 MB, free: 21.08 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/2.583, allocations: 4 kB / 371.4 MB, free: 21.07 MB / 314.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007887/2.584, allocations: 262.9 kB / 371.7 MB, free: 21.02 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/2.584, allocations: 3.875 kB / 371.7 MB, free: 21.02 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.657e-05/2.584, allocations: 5.188 kB / 371.7 MB, free: 21.02 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/2.584, allocations: 0 / 371.7 MB, free: 21.02 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002714/2.584, allocations: 31.27 kB / 371.7 MB, free: 21.02 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.216e-06/2.584, allocations: 1.266 kB / 371.7 MB, free: 21.02 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001818/2.584, allocations: 29.12 kB / 371.8 MB, free: 21 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.724e-05/2.584, allocations: 12.69 kB / 371.8 MB, free: 21 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition2,$whenCondition1,$PRE.uniformNoise2.state[1],uniformNoise2.state[1],$PRE.uniformNoise2.state[2],uniformNoise2.state[2],$PRE.uniformNoise2.state[3],uniformNoise2.state[3],$PRE.uniformNoise2.state[4],uniformNoise2.state[4],$PRE.uniformNoise2.r,uniformNoise2.r,$PRE.uniformNoise2.r_raw,uniformNoise2.r_raw,$PRE.uniformNoise1.state[1],uniformNoise1.state[1],$PRE.uniformNoise1.state[2],uniformNoise1.state[2],$PRE.uniformNoise1.state[3],uniformNoise1.state[3],$PRE.uniformNoise1.state[4],uniformNoise1.state[4],$PRE.uniformNoise1.r,uniformNoise1.r,$PRE.uniformNoise1.r_raw,uniformNoise1.r_raw,globalSeed.id_impure,uniformNoise1.localSeed,uniformNoise1.actualGlobalSeed,uniformNoise2.localSeed,uniformNoise2.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 24 * 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.0001642/2.585, allocations: 126.7 kB / 371.9 MB, free: 20.89 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.102e-05/2.585, allocations: 16.81 kB / 371.9 MB, free: 20.88 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.997e-05/2.585, allocations: 13.97 kB / 371.9 MB, free: 20.88 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/2.585, allocations: 0 / 371.9 MB, free: 20.88 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/2.585, allocations: 4 kB / 371.9 MB, free: 20.88 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/2.585, allocations: 1.359 kB / 371.9 MB, free: 20.88 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002443/2.585, allocations: 177.9 kB / 372.1 MB, free: 20.71 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/2.585, allocations: 5.047 kB / 372.1 MB, free: 20.71 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.505e-05/2.585, allocations: 14.09 kB / 372.1 MB, free: 20.71 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/2.585, allocations: 0 / 372.1 MB, free: 20.71 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.849e-05/2.585, allocations: 4.594 kB / 372.1 MB, free: 20.71 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/2.585, allocations: 3.844 kB / 372.1 MB, free: 20.71 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/2.585, allocations: 0 / 372.1 MB, free: 20.71 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003041/2.586, allocations: 188.1 kB / 372.3 MB, free: 20.6 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006431/2.586, allocations: 0.6517 MB / 373 MB, free: 20.13 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.936e-05/2.586, allocations: 93.94 kB / 373.1 MB, free: 20.02 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.903e-05/2.586, allocations: 15.53 kB / 373.1 MB, free: 20.02 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001162/2.586, allocations: 9.297 kB / 373.1 MB, free: 20.02 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.503e-05/2.587, allocations: 13.36 kB / 373.1 MB, free: 20.02 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.129e-05/2.587, allocations: 5 kB / 373.1 MB, free: 20.02 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0001183/2.587, allocations: 120.4 kB / 373.2 MB, free: 19.95 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001541/2.588, allocations: 74.47 kB / 373.3 MB, free: 19.93 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: 14 ($whenCondition2,uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4],uniformNoise1.r,uniformNoise1.r_raw,$whenCondition1,uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise2.r,uniformNoise2.r_raw) * Number of discrete states: 8 (uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * 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.0007207/2.589, allocations: 229.4 kB / 373.5 MB, free: 19.79 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005706/2.59, allocations: 214.3 kB / 373.7 MB, free: 19.73 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/2.59, allocations: 3.906 kB / 373.7 MB, free: 19.73 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001161/2.59, allocations: 48.84 kB / 373.8 MB, free: 19.72 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001801/2.59, allocations: 9.031 kB / 373.8 MB, free: 19.72 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005195/2.59, allocations: 182.4 kB / 374 MB, free: 19.62 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003837/2.591, allocations: 0.7312 MB / 374.7 MB, free: 18.91 MB / 314.7 MB Notification: Performance of SimCode: time 8.32e-07/2.591, allocations: 0 / 374.7 MB, free: 18.91 MB / 314.7 MB