Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Blocks_Examples_NoiseExamples_AutomaticSeed",fmuType="cs",version="2.0",platforms={"dynamic"}) [: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.709/1.709, allocations: 194.9 MB / 202.6 MB, free: 6.887 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2087/1.917, allocations: 46.82 MB / 249.4 MB, free: 5.332 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09231/2.01, allocations: 44.51 MB / 293.9 MB, free: 10.88 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2952/2.305, allocations: 71.2 MB / 365.1 MB, free: 7.102 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002363/2.305, allocations: 64.88 kB / 365.2 MB, free: 7.102 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0358/2.341, allocations: 8.346 MB / 373.5 MB, free: 6.059 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/2.341, allocations: 15.66 kB / 373.5 MB, free: 6.055 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001359/2.342, allocations: 120.7 kB / 373.6 MB, free: 6.031 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003341/2.343, allocations: 247.6 kB / 373.9 MB, free: 5.805 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.478e-05/2.343, allocations: 5.969 kB / 373.9 MB, free: 5.805 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.906e-05/2.343, allocations: 19.41 kB / 373.9 MB, free: 5.801 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003501/2.343, allocations: 105.8 kB / 374 MB, free: 5.797 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005291/2.344, allocations: 250.6 kB / 374.3 MB, free: 5.711 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/2.344, allocations: 0 / 374.3 MB, free: 5.711 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.815e-05/2.344, allocations: 0 / 374.3 MB, free: 5.711 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/2.344, allocations: 3.906 kB / 374.3 MB, free: 5.711 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001444/2.345, allocations: 0.7517 MB / 375 MB, free: 5.266 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006519/2.346, allocations: 295.9 kB / 375.3 MB, free: 5.109 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002674/2.346, allocations: 136.1 kB / 375.4 MB, free: 5.062 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.749e-05/2.346, allocations: 11.69 kB / 375.5 MB, free: 5.059 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005268/2.347, allocations: 289.9 kB / 375.7 MB, free: 4.914 MB / 298.7 MB Notification: Performance of pre-optimization done (n=48): time 3.276e-06/2.347, allocations: 0 / 375.7 MB, free: 4.914 MB / 298.7 MB Notification: Performance of matching and sorting (n=48): time 0.0009757/2.348, allocations: 334.9 kB / 376.1 MB, free: 4.828 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001124/2.348, allocations: 234.4 kB / 376.3 MB, free: 4.59 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004316/2.349, allocations: 281.6 kB / 376.6 MB, free: 4.457 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002138/2.349, allocations: 79.47 kB / 376.6 MB, free: 4.414 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.172e-05/2.349, allocations: 128 kB / 376.8 MB, free: 4.312 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001411/2.349, allocations: 116.5 kB / 376.9 MB, free: 4.238 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.135e-05/2.349, allocations: 0 / 376.9 MB, free: 4.238 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002086/2.349, allocations: 357.6 kB / 377.2 MB, free: 19.91 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006133/2.35, allocations: 217.4 kB / 377.4 MB, free: 19.9 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006906/2.351, allocations: 303.1 kB / 377.7 MB, free: 19.81 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001176/2.352, allocations: 293.5 kB / 378 MB, free: 19.75 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.723e-06/2.352, allocations: 4 kB / 378 MB, free: 19.74 MB / 314.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002095/2.354, allocations: 0.6961 MB / 378.7 MB, free: 19.58 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/2.354, allocations: 3.969 kB / 378.7 MB, free: 19.58 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.982e-05/2.354, allocations: 7.562 kB / 378.7 MB, free: 19.58 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.661e-05/2.354, allocations: 3.938 kB / 378.7 MB, free: 19.58 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006374/2.355, allocations: 81.48 kB / 378.8 MB, free: 19.55 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/2.355, allocations: 3.844 kB / 378.8 MB, free: 19.55 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004211/2.355, allocations: 62.47 kB / 378.9 MB, free: 19.52 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.507e-05/2.355, allocations: 29.75 kB / 378.9 MB, free: 19.52 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 92 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.manualSeed3.state[1],manualSeed3.state[1],$PRE.manualSeed3.state[2],manualSeed3.state[2],$PRE.manualSeed3.state[3],manualSeed3.state[3],$PRE.manualSeed3.state[4],manualSeed3.state[4],$PRE.manualSeed3.r,manualSeed3.r,$PRE.manualSeed3.r_raw,manualSeed3.r_raw,$PRE.manualSeed2.state[1],manualSeed2.state[1],$PRE.manualSeed2.state[2],manualSeed2.state[2],$PRE.manualSeed2.state[3],manualSeed2.state[3],$PRE.manualSeed2.state[4],manualSeed2.state[4],$PRE.manualSeed2.r,manualSeed2.r,$PRE.manualSeed2.r_raw,manualSeed2.r_raw,$PRE.manualSeed1.state[1],manualSeed1.state[1],$PRE.manualSeed1.state[2],manualSeed1.state[2],$PRE.manualSeed1.state[3],manualSeed1.state[3],$PRE.manualSeed1.state[4],manualSeed1.state[4],$PRE.manualSeed1.r,manualSeed1.r,$PRE.manualSeed1.r_raw,manualSeed1.r_raw,$PRE.automaticSeed3.state[1],automaticSeed3.state[1],$PRE.automaticSeed3.state[2],automaticSeed3.state[2],$PRE.automaticSeed3.state[3],automaticSeed3.state[3],$PRE.automaticSeed3.state[4],automaticSeed3.state[4],$PRE.automaticSeed3.r,automaticSeed3.r,$PRE.automaticSeed3.r_raw,automaticSeed3.r_raw,$PRE.automaticSeed2.state[1],automaticSeed2.state[1],$PRE.automaticSeed2.state[2],automaticSeed2.state[2],$PRE.automaticSeed2.state[3],automaticSeed2.state[3],$PRE.automaticSeed2.state[4],automaticSeed2.state[4],$PRE.automaticSeed2.r,automaticSeed2.r,$PRE.automaticSeed2.r_raw,automaticSeed2.r_raw,$PRE.automaticSeed1.state[1],automaticSeed1.state[1],$PRE.automaticSeed1.state[2],automaticSeed1.state[2],$PRE.automaticSeed1.state[3],automaticSeed1.state[3],$PRE.automaticSeed1.state[4],automaticSeed1.state[4],$PRE.automaticSeed1.r,automaticSeed1.r,$PRE.automaticSeed1.r_raw,automaticSeed1.r_raw,globalSeed.id_impure,automaticSeed1.localSeed,automaticSeed1.actualGlobalSeed,automaticSeed2.localSeed,automaticSeed2.actualGlobalSeed,automaticSeed3.localSeed,automaticSeed3.actualGlobalSeed,manualSeed1.localSeed,manualSeed1.actualGlobalSeed,manualSeed2.localSeed,manualSeed2.actualGlobalSeed,manualSeed3.localSeed,manualSeed3.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 68 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 6 * 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.0002981/2.356, allocations: 174.8 kB / 379.1 MB, free: 19.37 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.772e-05/2.356, allocations: 46.08 kB / 379.1 MB, free: 19.34 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.112e-05/2.356, allocations: 29.17 kB / 379.2 MB, free: 19.33 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/2.356, allocations: 3.875 kB / 379.2 MB, free: 19.33 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/2.356, allocations: 3.906 kB / 379.2 MB, free: 19.33 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.253e-06/2.356, allocations: 0 / 379.2 MB, free: 19.33 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00048/2.356, allocations: 306.7 kB / 379.5 MB, free: 19.1 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/2.356, allocations: 0 / 379.5 MB, free: 19.1 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002371/2.357, allocations: 38.94 kB / 379.5 MB, free: 19.09 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.103e-06/2.357, allocations: 0 / 379.5 MB, free: 19.09 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.114e-05/2.357, allocations: 11.86 kB / 379.5 MB, free: 19.08 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/2.357, allocations: 0 / 379.5 MB, free: 19.08 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/2.357, allocations: 7.812 kB / 379.5 MB, free: 19.08 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007656/2.357, allocations: 461.3 kB / 380 MB, free: 18.82 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001576/2.359, allocations: 1.139 MB / 381.1 MB, free: 18.17 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001224/2.359, allocations: 119.5 kB / 381.2 MB, free: 18.05 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001574/2.359, allocations: 38.94 kB / 381.3 MB, free: 18.04 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003711/2.36, allocations: 31.53 kB / 381.3 MB, free: 18.02 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001453/2.36, allocations: 38.69 kB / 381.3 MB, free: 18 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.328e-05/2.36, allocations: 11.62 kB / 381.3 MB, free: 18 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0003086/2.36, allocations: 206.9 kB / 381.6 MB, free: 17.91 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001675/2.362, allocations: 111.2 kB / 381.7 MB, free: 17.89 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 42 ($whenCondition6,automaticSeed1.state[1],automaticSeed1.state[2],automaticSeed1.state[3],automaticSeed1.state[4],automaticSeed1.r,automaticSeed1.r_raw,$whenCondition5,automaticSeed2.state[1],automaticSeed2.state[2],automaticSeed2.state[3],automaticSeed2.state[4],automaticSeed2.r,automaticSeed2.r_raw,$whenCondition4,automaticSeed3.state[1],automaticSeed3.state[2],automaticSeed3.state[3],automaticSeed3.state[4],automaticSeed3.r,automaticSeed3.r_raw,$whenCondition3,manualSeed1.state[1],manualSeed1.state[2],manualSeed1.state[3],manualSeed1.state[4],manualSeed1.r,manualSeed1.r_raw,$whenCondition2,manualSeed2.state[1],manualSeed2.state[2],manualSeed2.state[3],manualSeed2.state[4],manualSeed2.r,manualSeed2.r_raw,$whenCondition1,manualSeed3.state[1],manualSeed3.state[2],manualSeed3.state[3],manualSeed3.state[4],manualSeed3.r,manualSeed3.r_raw) * Number of discrete states: 24 (manualSeed3.state[1],manualSeed3.state[2],manualSeed3.state[3],manualSeed3.state[4],manualSeed2.state[1],manualSeed2.state[2],manualSeed2.state[3],manualSeed2.state[4],manualSeed1.state[1],manualSeed1.state[2],manualSeed1.state[3],manualSeed1.state[4],automaticSeed3.state[1],automaticSeed3.state[2],automaticSeed3.state[3],automaticSeed3.state[4],automaticSeed2.state[1],automaticSeed2.state[2],automaticSeed2.state[3],automaticSeed2.state[4],automaticSeed1.state[1],automaticSeed1.state[2],automaticSeed1.state[3],automaticSeed1.state[4]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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.0007859/2.363, allocations: 275 kB / 381.9 MB, free: 17.74 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001405/2.364, allocations: 0.6308 MB / 382.6 MB, free: 17.51 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/2.364, allocations: 0 / 382.6 MB, free: 17.51 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003843/2.365, allocations: 156 kB / 382.7 MB, free: 17.5 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003019/2.365, allocations: 20.41 kB / 382.7 MB, free: 17.49 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001258/2.366, allocations: 453.3 kB / 383.2 MB, free: 17.25 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006398/2.367, allocations: 0.8331 MB / 384 MB, free: 16.48 MB / 314.7 MB Notification: Performance of SimCode: time 1.102e-06/2.367, allocations: 0 / 384 MB, free: 16.48 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed_res.mat does not exist to compare? outputFormat=mat