Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Noise_Modelica_Noise.Math.Random.Examples.GenerateRandomNumbers.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/package.mo", uses=false) Using package Modelica_Noise with version 1.0 Beta.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica_Noise.Math.Random.Examples.GenerateRandomNumbers,fileNamePrefix="Modelica_Noise_Modelica_Noise_Math_Random_Examples_GenerateRandomNumbers",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Noise.Math.Random.Examples.GenerateRandomNumbers,fileNamePrefix="Modelica_Noise_Modelica_Noise_Math_Random_Examples_GenerateRandomNumbers",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.006543/0.006543, allocations: 162.5 kB / 15.11 MB, free: 6.035 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.226/1.226, allocations: 170.8 MB / 186.6 MB, free: 1.133 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001524/0.001524, allocations: 110.3 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/package.mo): time 0.01865/0.01865, allocations: 3.12 MB / 268.7 MB, free: 15.45 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003321/0.0003321, allocations: 8 kB / 318.7 MB, free: 63.19 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06265/0.063, allocations: 39.39 MB / 358.1 MB, free: 23.9 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica_Noise.Math.Random.Examples.GenerateRandomNumbers): time 0.0009343/0.06398, allocations: 0.918 MB / 359 MB, free: 22.97 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009175/0.06491, allocations: 0.7676 MB / 359.8 MB, free: 22.2 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.524e-05/0.06495, allocations: 0 / 359.8 MB, free: 22.2 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.916e-05/0.06499, allocations: 0 / 359.8 MB, free: 22.2 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 2.433e-05/0.06502, allocations: 7.984 kB / 359.8 MB, free: 22.19 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004149/0.06544, allocations: 127.6 kB / 359.9 MB, free: 22.07 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 5.088e-05/0.0655, allocations: 35.91 kB / 360 MB, free: 22.03 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.645e-05/0.06555, allocations: 4 kB / 360 MB, free: 22.03 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.814e-05/0.06558, allocations: 19.97 kB / 360 MB, free: 22.01 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.246e-05/0.06562, allocations: 15.92 kB / 360 MB, free: 21.99 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.045e-05/0.06563, allocations: 4 kB / 360 MB, free: 21.99 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001823/0.06582, allocations: 119.8 kB / 360.1 MB, free: 21.87 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.677e-05/0.06586, allocations: 27.86 kB / 360.1 MB, free: 21.84 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.716e-05/0.0659, allocations: 49.62 kB / 360.2 MB, free: 21.79 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001385/0.06605, allocations: 127.8 kB / 360.3 MB, free: 21.66 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.993e-06/0.06606, allocations: 3.938 kB / 360.3 MB, free: 21.66 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.06606, allocations: 4 kB / 360.3 MB, free: 21.66 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.06607, allocations: 0 / 360.3 MB, free: 21.66 MB / 250.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.0003416/0.06642, allocations: 0.5526 MB / 360.9 MB, free: 21.05 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.06646, allocations: 16.02 kB / 360.9 MB, free: 21.03 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.228e-05/0.06649, allocations: 50.55 kB / 360.9 MB, free: 20.97 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001092/0.06661, allocations: 23.81 kB / 361 MB, free: 20.95 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.078e-05/0.06669, allocations: 174.9 kB / 361.1 MB, free: 20.74 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.06671, allocations: 3.953 kB / 361.1 MB, free: 20.73 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.27e-05/0.06672, allocations: 7.938 kB / 361.1 MB, free: 20.73 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002211/0.06695, allocations: 284.1 kB / 361.4 MB, free: 20.43 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.06697, allocations: 3.938 kB / 361.4 MB, free: 20.43 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.06698, allocations: 4 kB / 361.4 MB, free: 20.43 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.06699, allocations: 0 / 361.4 MB, free: 20.43 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001005/0.0671, allocations: 143.9 kB / 361.6 MB, free: 20.29 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001199/0.06722, allocations: 202.3 kB / 361.8 MB, free: 20.04 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002353/0.06747, allocations: 0.4971 MB / 362.3 MB, free: 19.52 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.068e-06/0.06748, allocations: 0 / 362.3 MB, free: 19.52 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003033/0.06778, allocations: 486.8 kB / 362.7 MB, free: 19 MB / 250.7 MB Notification: Performance of pre-optimization done (n=47): time 9.22e-07/0.06779, allocations: 0 / 362.7 MB, free: 19 MB / 250.7 MB Notification: Performance of matching and sorting (n=47): time 0.0006292/0.06843, allocations: 0.8972 MB / 363.6 MB, free: 18.05 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.06848, allocations: 164.5 kB / 363.8 MB, free: 17.86 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.378e-05/0.06853, allocations: 105.8 kB / 363.9 MB, free: 17.75 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.137e-06/0.06855, allocations: 29.7 kB / 363.9 MB, free: 17.71 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.598e-05/0.06857, allocations: 81.14 kB / 364 MB, free: 17.63 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.947e-05/0.06861, allocations: 86.75 kB / 364.1 MB, free: 17.54 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-06/0.06862, allocations: 0 / 364.1 MB, free: 17.54 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 4.568e-05/0.06867, allocations: 330.8 kB / 364.4 MB, free: 17.21 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.717e-05/0.06873, allocations: 80.41 kB / 364.5 MB, free: 17.13 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.665e-05/0.06881, allocations: 120.3 kB / 364.6 MB, free: 17.01 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000112/0.06892, allocations: 196.4 kB / 364.8 MB, free: 16.8 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.06893, allocations: 0 / 364.8 MB, free: 16.8 MB / 250.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0002448/0.06918, allocations: 360.6 kB / 365.2 MB, free: 16.43 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.521e-05/0.06925, allocations: 114 kB / 365.3 MB, free: 16.31 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.06926, allocations: 4 kB / 365.3 MB, free: 16.31 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.06927, allocations: 0 / 365.3 MB, free: 16.31 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.002e-06/0.06928, allocations: 3.938 kB / 365.3 MB, free: 16.3 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.06929, allocations: 0 / 365.3 MB, free: 16.3 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.784e-05/0.06934, allocations: 27.84 kB / 365.3 MB, free: 16.28 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.528e-05/0.06936, allocations: 8 kB / 365.3 MB, free: 16.27 MB / 250.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: 47 ($whenCondition2,r64,r128,r1024,state64[1],state64[2],state128[1],state128[2],state128[3],state128[4],state1024[1],state1024[2],state1024[3],state1024[4],state1024[5],state1024[6],state1024[7],state1024[8],state1024[9],state1024[10],state1024[11],state1024[12],state1024[13],state1024[14],state1024[15],state1024[16],state1024[17],state1024[18],state1024[19],state1024[20],state1024[21],state1024[22],state1024[23],state1024[24],state1024[25],state1024[26],state1024[27],state1024[28],state1024[29],state1024[30],state1024[31],state1024[32],state1024[33],$whenCondition1,id,rImpure,iImpure) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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 0.000172/0.06954, allocations: 299.7 kB / 365.6 MB, free: 15.95 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.136e-05/0.06958, allocations: 27.77 kB / 365.6 MB, free: 15.93 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.042e-05/0.06959, allocations: 5.562 kB / 365.6 MB, free: 15.92 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.0696, allocations: 0 / 365.6 MB, free: 15.92 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.06961, allocations: 4 kB / 365.6 MB, free: 15.91 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.06961, allocations: 0 / 365.6 MB, free: 15.91 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001338/0.06975, allocations: 233.4 kB / 365.9 MB, free: 15.64 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.06976, allocations: 3.984 kB / 365.9 MB, free: 15.63 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.553e-06/0.06977, allocations: 0 / 365.9 MB, free: 15.63 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.06978, allocations: 3.938 kB / 365.9 MB, free: 15.63 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.456e-05/0.06981, allocations: 23.95 kB / 365.9 MB, free: 15.61 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.06981, allocations: 0 / 365.9 MB, free: 15.61 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.06982, allocations: 3.984 kB / 365.9 MB, free: 15.6 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008043/0.07063, allocations: 1.244 MB / 367.1 MB, free: 14.32 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.494e-05/0.07066, allocations: 100.8 kB / 367.2 MB, free: 14.2 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.712e-05/0.07074, allocations: 67.95 kB / 367.3 MB, free: 14.13 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.109e-05/0.0708, allocations: 12.03 kB / 367.3 MB, free: 14.12 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.138e-05/0.07084, allocations: 7.984 kB / 367.3 MB, free: 14.11 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-05/0.07086, allocations: 23.98 kB / 367.4 MB, free: 14.09 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.798e-05/0.07089, allocations: 83.28 kB / 367.4 MB, free: 14.01 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.07089, allocations: 0 / 367.4 MB, free: 14.01 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002761/0.07117, allocations: 95.92 kB / 367.5 MB, free: 13.91 MB / 250.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: 47 ($whenCondition2,r64,r128,r1024,state64[1],state64[2],state128[1],state128[2],state128[3],state128[4],state1024[1],state1024[2],state1024[3],state1024[4],state1024[5],state1024[6],state1024[7],state1024[8],state1024[9],state1024[10],state1024[11],state1024[12],state1024[13],state1024[14],state1024[15],state1024[16],state1024[17],state1024[18],state1024[19],state1024[20],state1024[21],state1024[22],state1024[23],state1024[24],state1024[25],state1024[26],state1024[27],state1024[28],state1024[29],state1024[30],state1024[31],state1024[32],state1024[33],$whenCondition1,id,rImpure,iImpure) * Number of discrete states: 47 (iImpure,rImpure,id,$whenCondition1,r1024,r128,r64,state1024[33],state1024[32],state1024[31],state1024[30],state1024[29],state1024[28],state1024[27],state1024[26],state1024[25],state1024[24],state1024[23],state1024[22],state1024[21],state1024[20],state1024[19],state1024[18],state1024[17],state1024[16],state1024[15],state1024[14],state1024[13],state1024[12],state1024[11],state1024[10],state1024[9],state1024[8],state1024[7],state1024[6],state1024[5],state1024[4],state1024[3],state1024[2],state1024[1],state128[4],state128[3],state128[2],state128[1],state64[2],state64[1],$whenCondition2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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 Backend phase and start with SimCode phase: time 0.001158/0.07234, allocations: 2.019 MB / 369.6 MB, free: 11.85 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.001016/0.07336, allocations: 2.132 MB / 371.7 MB, free: 9.695 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.07337, allocations: 0 / 371.7 MB, free: 9.695 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009359/0.07431, allocations: 2.19 MB / 373.9 MB, free: 7.48 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001204/0.07444, allocations: 12 kB / 373.9 MB, free: 7.469 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005599/0.07501, allocations: 489.2 kB / 374.4 MB, free: 6.945 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001424/0.07516, allocations: 0.7286 MB / 375.1 MB, free: 6.188 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 7.444e-06/0.07518, allocations: 0 / 375.1 MB, free: 6.188 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.501e-05/0.07522, allocations: 31.42 kB / 375.1 MB, free: 6.156 MB / 250.7 MB Notification: Performance of SimCode: time 3.41e-07/0.07522, allocations: 0 / 375.1 MB, free: 6.156 MB / 250.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01684/0.09206, allocations: 4.446 MB / 379.6 MB, free: 1.809 MB / 250.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001639/0.09227, allocations: 199.2 kB / 379.8 MB, free: 1.562 MB / 250.7 MB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -c -o Modelica_Noise_Modelica_Noise_Math_Random_Examples_GenerateRandomNumbers.o Modelica_Noise_Modelica_Noise_Math_Random_Examples_GenerateRandomNumbers.c In file included from Modelica_Noise_Modelica_Noise_Math_Random_Examples_GenerateRandomNumbers.c:7: In file included from ./Modelica_Noise_Modelica_Noise_Math_Random_Examples_GenerateRandomNumbers_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ Modelica_Noise_Modelica_Noise_Math_Random_Examples_GenerateRandomNumbers.c:310:59: error: use of undeclared identifier 'state' integer_array_create(&tmp1, ((modelica_integer*)&((&state)[calc_base_index_dims_subs(1, (_index_t)stateSize, ((modelica_integer) 1))])), 1, (_index_t)stateSize); ^ Modelica_Noise_Modelica_Noise_Math_Random_Examples_GenerateRandomNumbers.c:310:105: error: use of undeclared identifier 'stateSize' integer_array_create(&tmp1, ((modelica_integer*)&((&state)[calc_base_index_dims_subs(1, (_index_t)stateSize, ((modelica_integer) 1))])), 1, (_index_t)stateSize); ^ Modelica_Noise_Modelica_Noise_Math_Random_Examples_GenerateRandomNumbers.c:310:157: error: use of undeclared identifier 'stateSize' integer_array_create(&tmp1, ((modelica_integer*)&((&state)[calc_base_index_dims_subs(1, (_index_t)stateSize, ((modelica_integer) 1))])), 1, (_index_t)stateSize); ^ Modelica_Noise_Modelica_Noise_Math_Random_Examples_GenerateRandomNumbers.c:315:59: error: use of undeclared identifier 'state' integer_array_create(&tmp4, ((modelica_integer*)&((&state)[calc_base_index_dims_subs(1, (_index_t)stateSize, ((modelica_integer) 1))])), 1, (_index_t)stateSize); ^ Modelica_Noise_Modelica_Noise_Math_Random_Examples_GenerateRandomNumbers.c:315:105: error: use of undeclared identifier 'stateSize' integer_array_create(&tmp4, ((modelica_integer*)&((&state)[calc_base_index_dims_subs(1, (_index_t)stateSize, ((modelica_integer) 1))])), 1, (_index_t)stateSize); ^ Modelica_Noise_Modelica_Noise_Math_Random_Examples_GenerateRandomNumbers.c:315:157: error: use of undeclared identifier 'stateSize' integer_array_create(&tmp4, ((modelica_integer*)&((&state)[calc_base_index_dims_subs(1, (_index_t)stateSize, ((modelica_integer) 1))])), 1, (_index_t)stateSize); ^ 2 warnings and 6 errors generated. make: *** [: Modelica_Noise_Modelica_Noise_Math_Random_Examples_GenerateRandomNumbers.o] Error 1