Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Blocks_Examples_NoiseExamples_UniformNoiseProperties",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.666/1.666, allocations: 194.9 MB / 202.6 MB, free: 6.902 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2515/1.918, allocations: 46.83 MB / 249.4 MB, free: 5.328 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09244/2.01, allocations: 44.5 MB / 293.9 MB, free: 10.89 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2745/2.285, allocations: 72.91 MB / 366.8 MB, free: 7.125 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002565/2.285, allocations: 70.98 kB / 366.9 MB, free: 7.125 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.02287/2.308, allocations: 5.092 MB / 372 MB, free: 6.375 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/2.308, allocations: 7.5 kB / 372 MB, free: 6.375 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000296/2.309, allocations: 39.53 kB / 372 MB, free: 6.363 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003248/2.309, allocations: 242.5 kB / 372.3 MB, free: 6.148 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.748e-05/2.309, allocations: 11.86 kB / 372.3 MB, free: 6.141 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.922e-05/2.309, allocations: 16.61 kB / 372.3 MB, free: 6.137 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003211/2.309, allocations: 91.75 kB / 372.4 MB, free: 6.137 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003803/2.31, allocations: 138.8 kB / 372.5 MB, free: 6.105 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/2.31, allocations: 0 / 372.5 MB, free: 6.105 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.884e-05/2.31, allocations: 0.5156 kB / 372.5 MB, free: 6.105 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/2.31, allocations: 3.969 kB / 372.5 MB, free: 6.105 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001141/2.311, allocations: 0.5223 MB / 373 MB, free: 5.832 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001008/2.312, allocations: 219.5 kB / 373.2 MB, free: 5.797 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000193/2.312, allocations: 75.8 kB / 373.3 MB, free: 5.789 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.506e-05/2.312, allocations: 4.156 kB / 373.3 MB, free: 5.789 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002635/2.313, allocations: 127 kB / 373.4 MB, free: 5.734 MB / 298.7 MB Notification: Performance of pre-optimization done (n=22): time 2.224e-06/2.313, allocations: 0 / 373.4 MB, free: 5.734 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.0004878/2.313, allocations: 169.3 kB / 373.6 MB, free: 5.691 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.754e-05/2.313, allocations: 60.62 kB / 373.7 MB, free: 5.629 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001878/2.313, allocations: 166.5 kB / 373.8 MB, free: 5.531 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.27e-05/2.313, allocations: 34.12 kB / 373.9 MB, free: 5.5 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.057e-05/2.313, allocations: 119.1 kB / 374 MB, free: 5.398 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.165e-05/2.313, allocations: 70.7 kB / 374.1 MB, free: 5.355 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.611e-05/2.314, allocations: 0 / 374.1 MB, free: 5.355 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001035/2.314, allocations: 331.8 kB / 374.4 MB, free: 21.04 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002601/2.314, allocations: 84.78 kB / 374.5 MB, free: 21.04 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002861/2.314, allocations: 115.5 kB / 374.6 MB, free: 21.02 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003988/2.315, allocations: 108.5 kB / 374.7 MB, free: 21.01 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/2.315, allocations: 3.938 kB / 374.7 MB, free: 21 MB / 314.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007966/2.315, allocations: 278.3 kB / 375 MB, free: 20.96 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/2.315, allocations: 3.875 kB / 375 MB, free: 20.96 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.554e-05/2.315, allocations: 0.6094 kB / 375 MB, free: 20.96 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/2.316, allocations: 3.844 kB / 375 MB, free: 20.96 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006301/2.316, allocations: 87.22 kB / 375 MB, free: 20.95 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/2.316, allocations: 0 / 375 MB, free: 20.95 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003506/2.317, allocations: 49.64 kB / 375.1 MB, free: 20.93 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.235e-05/2.317, allocations: 20.03 kB / 375.1 MB, free: 20.92 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: 17 ($whenCondition1,$PRE.noise.state[1],noise.state[1],$PRE.noise.state[2],noise.state[2],$PRE.noise.state[3],noise.state[3],$PRE.noise.state[4],noise.state[4],$PRE.noise.r,noise.r,$PRE.noise.r_raw,noise.r_raw,globalSeed.id_impure,noise.localSeed,noise.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 36 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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.0001566/2.317, allocations: 113.7 kB / 375.2 MB, free: 20.81 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.749e-05/2.317, allocations: 19.28 kB / 375.2 MB, free: 20.8 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.387e-05/2.317, allocations: 14.25 kB / 375.3 MB, free: 20.8 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/2.317, allocations: 0.7031 kB / 375.3 MB, free: 20.8 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.196e-06/2.317, allocations: 7.812 kB / 375.3 MB, free: 20.79 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.206e-06/2.317, allocations: 5.25 kB / 375.3 MB, free: 20.79 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001241/2.318, allocations: 0.5229 MB / 375.8 MB, free: 20.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/2.318, allocations: 0.6562 kB / 375.8 MB, free: 20.5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005471/2.319, allocations: 64.58 kB / 375.9 MB, free: 20.49 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.173e-06/2.319, allocations: 0 / 375.9 MB, free: 20.49 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.665e-05/2.319, allocations: 6.297 kB / 375.9 MB, free: 20.49 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/2.319, allocations: 0 / 375.9 MB, free: 20.49 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/2.319, allocations: 4 kB / 375.9 MB, free: 20.49 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007502/2.32, allocations: 354.8 kB / 376.2 MB, free: 20.34 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001439/2.321, allocations: 0.9574 MB / 377.2 MB, free: 19.82 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001134/2.321, allocations: 98.92 kB / 377.3 MB, free: 19.71 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.964e-05/2.321, allocations: 5.422 kB / 377.3 MB, free: 19.71 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004049/2.322, allocations: 32.92 kB / 377.3 MB, free: 19.71 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.377e-05/2.322, allocations: 17.62 kB / 377.3 MB, free: 19.7 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.503e-05/2.322, allocations: 5.891 kB / 377.3 MB, free: 19.7 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.000158/2.322, allocations: 139.3 kB / 377.5 MB, free: 19.62 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001512/2.324, allocations: 81.27 kB / 377.5 MB, free: 19.61 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (mean.mu,variance.mu,variance.var,standardDeviation.variance.mu,standardDeviation.variance.var) * Number of discrete variables: 7 ($whenCondition1,noise.state[1],noise.state[2],noise.state[3],noise.state[4],noise.r,noise.r_raw) * Number of discrete states: 4 (noise.state[1],noise.state[2],noise.state[3],noise.state[4]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0006499/2.324, allocations: 248.4 kB / 377.8 MB, free: 19.46 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006448/2.325, allocations: 235.2 kB / 378 MB, free: 19.42 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/2.325, allocations: 4.062 kB / 378 MB, free: 19.42 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002035/2.325, allocations: 73.84 kB / 378.1 MB, free: 19.41 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000323/2.325, allocations: 25.39 kB / 378.1 MB, free: 19.41 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00091/2.326, allocations: 318.2 kB / 378.4 MB, free: 19.27 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005475/2.327, allocations: 0.7827 MB / 379.2 MB, free: 18.56 MB / 314.7 MB Notification: Performance of SimCode: time 1.012e-06/2.327, allocations: 0 / 379.2 MB, free: 18.56 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties_res.mat does not exist to compare? outputFormat=mat