Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Blocks_Examples_NoiseExamples_ImpureGenerator",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.807/1.807, allocations: 194.9 MB / 202.6 MB, free: 6.906 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2112/2.018, allocations: 46.82 MB / 249.4 MB, free: 5.344 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08933/2.107, allocations: 44.51 MB / 293.9 MB, free: 10.88 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2807/2.388, allocations: 70.25 MB / 364.2 MB, free: 7.145 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002351/2.388, allocations: 69.56 kB / 364.2 MB, free: 7.145 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.008103/2.396, allocations: 2 MB / 366.2 MB, free: 6.676 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/2.397, allocations: 11.72 kB / 366.2 MB, free: 6.676 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.372e-05/2.397, allocations: 3.906 kB / 366.2 MB, free: 6.672 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.482e-05/2.397, allocations: 165 kB / 366.4 MB, free: 6.477 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/2.397, allocations: 1.469 kB / 366.4 MB, free: 6.477 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.471e-05/2.397, allocations: 0 / 366.4 MB, free: 6.477 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.931e-05/2.397, allocations: 5.188 kB / 366.4 MB, free: 6.477 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.525e-05/2.397, allocations: 37.83 kB / 366.4 MB, free: 6.441 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/2.397, allocations: 0 / 366.4 MB, free: 6.441 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/2.397, allocations: 5.219 kB / 366.5 MB, free: 6.438 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/2.397, allocations: 0 / 366.5 MB, free: 6.438 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002004/2.397, allocations: 219.1 kB / 366.7 MB, free: 6.199 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.957e-05/2.397, allocations: 25.33 kB / 366.7 MB, free: 6.176 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.062e-05/2.397, allocations: 15.61 kB / 366.7 MB, free: 6.164 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.184e-05/2.397, allocations: 1.781 kB / 366.7 MB, free: 6.164 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.298e-05/2.397, allocations: 48.45 kB / 366.8 MB, free: 6.113 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.813e-06/2.397, allocations: 3.875 kB / 366.8 MB, free: 6.113 MB / 298.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001533/2.397, allocations: 46.66 kB / 366.8 MB, free: 6.074 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.34e-05/2.398, allocations: 52.91 kB / 366.9 MB, free: 6.012 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.04e-05/2.398, allocations: 99.58 kB / 367 MB, free: 5.922 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.327e-06/2.398, allocations: 29.7 kB / 367 MB, free: 5.887 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.181e-05/2.398, allocations: 84.84 kB / 367.1 MB, free: 5.805 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.562e-05/2.398, allocations: 7.781 kB / 367.1 MB, free: 5.801 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.568e-06/2.398, allocations: 0 / 367.1 MB, free: 5.801 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001023/2.398, allocations: 316.5 kB / 367.4 MB, free: 21.48 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.42e-05/2.398, allocations: 7.031 kB / 367.4 MB, free: 21.48 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.102e-05/2.398, allocations: 17.38 kB / 367.4 MB, free: 21.46 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.785e-05/2.398, allocations: 5.625 kB / 367.4 MB, free: 21.46 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/2.398, allocations: 4 kB / 367.4 MB, free: 21.46 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001382/2.398, allocations: 56.12 kB / 367.5 MB, free: 21.43 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/2.398, allocations: 7.812 kB / 367.5 MB, free: 21.43 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.319e-06/2.398, allocations: 0 / 367.5 MB, free: 21.43 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/2.398, allocations: 0 / 367.5 MB, free: 21.43 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.679e-05/2.398, allocations: 9.234 kB / 367.5 MB, free: 21.43 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/2.398, allocations: 0 / 367.5 MB, free: 21.43 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.795e-05/2.398, allocations: 3.906 kB / 367.5 MB, free: 21.42 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/2.398, allocations: 3.875 kB / 367.5 MB, free: 21.42 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.376e-05/2.398, allocations: 118.4 kB / 367.6 MB, free: 21.3 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.42e-05/2.398, allocations: 3.906 kB / 367.6 MB, free: 21.3 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.996e-05/2.398, allocations: 15.12 kB / 367.6 MB, free: 21.29 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.165e-06/2.399, allocations: 0 / 367.6 MB, free: 21.29 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/2.399, allocations: 1.969 kB / 367.6 MB, free: 21.29 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/2.399, allocations: 0 / 367.6 MB, free: 21.29 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002438/2.399, allocations: 254.6 kB / 367.9 MB, free: 21.02 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/2.399, allocations: 3.906 kB / 367.9 MB, free: 21.02 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.34e-05/2.399, allocations: 6.109 kB / 367.9 MB, free: 21.02 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/2.399, allocations: 4 kB / 367.9 MB, free: 21.02 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-06/2.399, allocations: 0 / 367.9 MB, free: 21.02 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/2.399, allocations: 0 / 367.9 MB, free: 21.02 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/2.399, allocations: 0 / 367.9 MB, free: 21.02 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001331/2.399, allocations: 142.6 kB / 368 MB, free: 20.88 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003727/2.399, allocations: 0.5319 MB / 368.6 MB, free: 20.37 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.19e-05/2.399, allocations: 78.61 kB / 368.6 MB, free: 20.28 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.887e-05/2.4, allocations: 4 kB / 368.6 MB, free: 20.27 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.191e-05/2.4, allocations: 3.969 kB / 368.6 MB, free: 20.27 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.929e-05/2.4, allocations: 1.688 kB / 368.7 MB, free: 20.27 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.877e-06/2.4, allocations: 0 / 368.7 MB, free: 20.27 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.982e-05/2.4, allocations: 82.69 kB / 368.7 MB, free: 20.2 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001369/2.401, allocations: 42.27 kB / 368.8 MB, free: 20.19 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.000531/2.402, allocations: 192.8 kB / 369 MB, free: 20.07 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.6e-05/2.402, allocations: 24.81 kB / 369 MB, free: 20.06 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/2.402, allocations: 0 / 369 MB, free: 20.06 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.929e-05/2.402, allocations: 7.656 kB / 369 MB, free: 20.06 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001773/2.402, allocations: 7.219 kB / 369 MB, free: 20.06 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000231/2.402, allocations: 64.17 kB / 369.1 MB, free: 19.99 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003669/2.403, allocations: 0.696 MB / 369.8 MB, free: 19.29 MB / 314.7 MB Notification: Performance of SimCode: time 7.52e-07/2.403, allocations: 3.938 kB / 369.8 MB, free: 19.29 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator_res.mat does not exist to compare? outputFormat=mat