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: translateModel(Modelica_Noise.Math.Random.Examples.GenerateRandomNumbers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Noise_Modelica_Noise.Math.Random.Examples.GenerateRandomNumbers") translateModel(Modelica_Noise.Math.Random.Examples.GenerateRandomNumbers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Noise_Modelica_Noise.Math.Random.Examples.GenerateRandomNumbers") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.005014/0.005014, allocations: 158.4 kB / 15.12 MB, free: 6.031 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 0.9668/0.9668, allocations: 170.8 MB / 186.7 MB, free: 1.016 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.001362/0.001362, allocations: 109.8 kB / 226.2 MB, free: 10.08 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.01809/0.01809, allocations: 3.123 MB / 268.8 MB, free: 15.42 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002923/0.0002923, allocations: 8 kB / 318.6 MB, free: 63.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04622/0.04653, allocations: 39.39 MB / 358 MB, free: 23.96 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica_Noise.Math.Random.Examples.GenerateRandomNumbers): time 0.0007625/0.04732, allocations: 0.9236 MB / 358.9 MB, free: 23.03 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000821/0.04815, allocations: 0.7619 MB / 359.7 MB, free: 22.26 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.874e-05/0.04818, allocations: 3.938 kB / 359.7 MB, free: 22.26 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 1.971e-05/0.04821, allocations: 0 / 359.7 MB, free: 22.26 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 2.703e-05/0.04824, allocations: 3.938 kB / 359.7 MB, free: 22.25 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003794/0.04863, allocations: 139.7 kB / 359.9 MB, free: 22.12 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 4.426e-05/0.04868, allocations: 39.91 kB / 359.9 MB, free: 22.08 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.295e-05/0.04872, allocations: 4 kB / 359.9 MB, free: 22.07 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.724e-05/0.04875, allocations: 23.91 kB / 359.9 MB, free: 22.05 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.787e-05/0.04879, allocations: 19.92 kB / 359.9 MB, free: 22.03 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.112e-05/0.0488, allocations: 4 kB / 359.9 MB, free: 22.03 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001861/0.049, allocations: 139.7 kB / 360.1 MB, free: 21.89 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.555e-05/0.04903, allocations: 27.92 kB / 360.1 MB, free: 21.86 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.939e-05/0.04907, allocations: 49.62 kB / 360.2 MB, free: 21.81 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001252/0.0492, allocations: 131.8 kB / 360.3 MB, free: 21.68 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.04921, allocations: 0 / 360.3 MB, free: 21.68 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.04921, allocations: 3.938 kB / 360.3 MB, free: 21.68 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.965e-06/0.04922, allocations: 0 / 360.3 MB, free: 21.68 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.0002959/0.04952, allocations: 0.5569 MB / 360.8 MB, free: 21.06 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.507e-05/0.04955, allocations: 12.03 kB / 360.9 MB, free: 21.05 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001019/0.04966, allocations: 19.81 kB / 360.9 MB, free: 21.03 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.885e-05/0.04973, allocations: 178.9 kB / 361.1 MB, free: 20.81 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.04975, allocations: 7.891 kB / 361.1 MB, free: 20.8 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.165e-05/0.04976, allocations: 8 kB / 361.1 MB, free: 20.8 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001977/0.04997, allocations: 272.2 kB / 361.3 MB, free: 20.52 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.94e-06/0.04998, allocations: 7.938 kB / 361.3 MB, free: 20.51 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.04999, allocations: 0 / 361.3 MB, free: 20.51 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.226e-06/0.05, allocations: 4 kB / 361.3 MB, free: 20.5 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.674e-05/0.0501, allocations: 147.9 kB / 361.5 MB, free: 20.36 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001/0.05021, allocations: 202.3 kB / 361.7 MB, free: 20.11 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000222/0.05044, allocations: 497.2 kB / 362.2 MB, free: 19.61 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001963/0.05064, allocations: 478.3 kB / 362.6 MB, free: 19.13 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.37e-06/0.05065, allocations: 4 kB / 362.6 MB, free: 19.13 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002612/0.05092, allocations: 486.8 kB / 363.1 MB, free: 18.61 MB / 250.7 MB Notification: Performance of pre-optimization done (n=47): time 9.02e-07/0.05093, allocations: 0 / 363.1 MB, free: 18.61 MB / 250.7 MB Notification: Performance of matching and sorting (n=47): time 0.0005225/0.05146, allocations: 0.727 MB / 363.8 MB, free: 17.87 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.179e-05/0.05151, allocations: 160.5 kB / 364 MB, free: 17.68 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.368e-05/0.05155, allocations: 97.92 kB / 364.1 MB, free: 17.57 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.346e-06/0.05156, allocations: 29.7 kB / 364.1 MB, free: 17.54 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.136e-05/0.05158, allocations: 85.12 kB / 364.2 MB, free: 17.45 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.675e-05/0.05162, allocations: 90.66 kB / 364.3 MB, free: 17.36 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.25e-06/0.05163, allocations: 8 kB / 364.3 MB, free: 17.36 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 3.57e-05/0.05167, allocations: 322.8 kB / 364.6 MB, free: 17.03 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.431e-05/0.05173, allocations: 88.34 kB / 364.7 MB, free: 16.95 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.004e-05/0.0518, allocations: 108.3 kB / 364.8 MB, free: 16.83 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001043/0.05191, allocations: 204.5 kB / 365 MB, free: 16.62 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.05191, allocations: 0 / 365 MB, free: 16.62 MB / 250.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0002262/0.05214, allocations: 360.7 kB / 365.4 MB, free: 16.25 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.891e-05/0.0522, allocations: 111.3 kB / 365.5 MB, free: 16.13 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-06/0.05221, allocations: 0 / 365.5 MB, free: 16.13 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.945e-06/0.05222, allocations: 0 / 365.5 MB, free: 16.13 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.853e-06/0.05223, allocations: 4 kB / 365.5 MB, free: 16.12 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.05224, allocations: 3.938 kB / 365.5 MB, free: 16.12 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.528e-05/0.05229, allocations: 23.75 kB / 365.5 MB, free: 16.1 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.523e-05/0.05231, allocations: 8 kB / 365.5 MB, free: 16.09 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.0001524/0.05247, allocations: 301.8 kB / 365.8 MB, free: 15.77 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.045e-05/0.0525, allocations: 27.77 kB / 365.8 MB, free: 15.75 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.666e-06/0.05252, allocations: 13.89 kB / 365.8 MB, free: 15.73 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-06/0.05252, allocations: 0 / 365.8 MB, free: 15.73 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.05253, allocations: 0 / 365.8 MB, free: 15.73 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.05254, allocations: 7.969 kB / 365.9 MB, free: 15.72 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.511e-05/0.05264, allocations: 233.4 kB / 366.1 MB, free: 15.45 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.05264, allocations: 0 / 366.1 MB, free: 15.45 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-07/0.05265, allocations: 0 / 366.1 MB, free: 15.45 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.05265, allocations: 3.938 kB / 366.1 MB, free: 15.44 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.102e-05/0.05268, allocations: 23.94 kB / 366.1 MB, free: 15.42 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.05269, allocations: 4 kB / 366.1 MB, free: 15.41 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.05269, allocations: 0 / 366.1 MB, free: 15.41 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007402/0.05344, allocations: 1.239 MB / 367.4 MB, free: 14.14 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.85e-05/0.05346, allocations: 92.86 kB / 367.4 MB, free: 14.03 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.264e-05/0.05354, allocations: 67.94 kB / 367.5 MB, free: 13.96 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.872e-05/0.0536, allocations: 15.95 kB / 367.5 MB, free: 13.95 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.132e-05/0.05363, allocations: 15.97 kB / 367.5 MB, free: 13.93 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.081e-05/0.05366, allocations: 16 kB / 367.6 MB, free: 13.92 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.597e-05/0.05368, allocations: 87.3 kB / 367.6 MB, free: 13.83 MB / 250.7 MB Notification: Performance of sort global known variables: time 1e-07/0.05368, allocations: 0 / 367.6 MB, free: 13.83 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002486/0.05394, allocations: 95.94 kB / 367.7 MB, free: 13.74 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.0002634/0.05421, allocations: 254.2 kB / 368 MB, free: 13.49 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0009885/0.0552, allocations: 2.136 MB / 370.1 MB, free: 11.33 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.05521, allocations: 0 / 370.1 MB, free: 11.33 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008696/0.05609, allocations: 2.19 MB / 372.3 MB, free: 9.117 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001531/0.05625, allocations: 24 kB / 372.3 MB, free: 9.094 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000374/0.05663, allocations: 411.5 kB / 372.7 MB, free: 8.66 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.933e-05/0.05674, allocations: 0.7247 MB / 373.5 MB, free: 7.906 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.963e-06/0.05675, allocations: 0 / 373.5 MB, free: 7.906 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.9e-06/0.05676, allocations: 11.38 kB / 373.5 MB, free: 7.895 MB / 250.7 MB Notification: Performance of SimCode: time 3.01e-07/0.05677, allocations: 3.938 kB / 373.5 MB, free: 7.891 MB / 250.7 MB Notification: Performance of Templates: time 0.003891/0.06066, allocations: 2.876 MB / 376.4 MB, free: 5.023 MB / 250.7 MB make -j1 -f Modelica_Noise_Modelica_Noise.Math.Random.Examples.GenerateRandomNumbers.makefile make -j1 -f Modelica_Noise_Modelica_Noise.Math.Random.Examples.GenerateRandomNumbers.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Noise_Modelica_Noise_Math_Random_Examples_GenerateRandomNumbers -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_Noise_Modelica_Noise.Math.Random.Examples.GenerateRandomNumbers.o Modelica_Noise_Modelica_Noise.Math.Random.Examples.GenerateRandomNumbers.c Modelica_Noise_Modelica_Noise.Math.Random.Examples.GenerateRandomNumbers.c:316:59: error: use of undeclared identifier 'state'; did you mean 'stat'? integer_array_create(&tmp3, ((modelica_integer*)&((&state)[calc_base_index_dims_subs(1, (_index_t)stateSize, ((modelica_integer) 1))])), 1, (_index_t)stateSize); ^~~~~ stat /usr/include/x86_64-linux-gnu/sys/stat.h:205:12: note: 'stat' declared here extern int stat (const char *__restrict __file, ^ Modelica_Noise_Modelica_Noise.Math.Random.Examples.GenerateRandomNumbers.c:316:105: error: use of undeclared identifier 'stateSize' integer_array_create(&tmp3, ((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:316:157: error: use of undeclared identifier 'stateSize' integer_array_create(&tmp3, ((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:321:59: error: use of undeclared identifier 'state'; did you mean 'stat'? integer_array_create(&tmp6, ((modelica_integer*)&((&state)[calc_base_index_dims_subs(1, (_index_t)stateSize, ((modelica_integer) 1))])), 1, (_index_t)stateSize); ^~~~~ stat /usr/include/x86_64-linux-gnu/sys/stat.h:205:12: note: 'stat' declared here extern int stat (const char *__restrict __file, ^ Modelica_Noise_Modelica_Noise.Math.Random.Examples.GenerateRandomNumbers.c:321:105: error: use of undeclared identifier 'stateSize' integer_array_create(&tmp6, ((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:321:157: error: use of undeclared identifier 'stateSize' integer_array_create(&tmp6, ((modelica_integer*)&((&state)[calc_base_index_dims_subs(1, (_index_t)stateSize, ((modelica_integer) 1))])), 1, (_index_t)stateSize); ^ 6 errors generated. make: *** [: Modelica_Noise_Modelica_Noise.Math.Random.Examples.GenerateRandomNumbers.o] Error 1