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.006582/0.006582, allocations: 164.6 kB / 15.11 MB, free: 5.559 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.104/1.104, allocations: 170.8 MB / 186.6 MB, free: 1.129 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.001568/0.001568, allocations: 107.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.02039/0.02039, allocations: 3.119 MB / 268.7 MB, free: 15.46 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003597/0.0003597, allocations: 8 kB / 318.6 MB, free: 63.28 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06055/0.06093, allocations: 39.39 MB / 358 MB, free: 24 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica_Noise.Math.Random.Examples.GenerateRandomNumbers): time 0.001064/0.06203, allocations: 0.918 MB / 358.9 MB, free: 23.07 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001033/0.06309, allocations: 0.7715 MB / 359.7 MB, free: 22.3 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.15e-05/0.06314, allocations: 0 / 359.7 MB, free: 22.3 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.321e-05/0.06319, allocations: 4 kB / 359.7 MB, free: 22.29 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 3.213e-05/0.06323, allocations: 11.91 kB / 359.7 MB, free: 22.28 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005811/0.06382, allocations: 123.6 kB / 359.8 MB, free: 22.16 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 5.977e-05/0.0639, allocations: 35.95 kB / 359.9 MB, free: 22.12 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.856e-05/0.06395, allocations: 0 / 359.9 MB, free: 22.12 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.499e-05/0.06399, allocations: 27.92 kB / 359.9 MB, free: 22.1 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.012e-05/0.06404, allocations: 19.91 kB / 359.9 MB, free: 22.08 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.247e-05/0.06406, allocations: 4 kB / 359.9 MB, free: 22.07 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002234/0.06429, allocations: 111.8 kB / 360 MB, free: 21.96 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.975e-05/0.06433, allocations: 27.92 kB / 360 MB, free: 21.94 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.716e-05/0.06437, allocations: 45.62 kB / 360.1 MB, free: 21.89 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001749/0.06456, allocations: 131.8 kB / 360.2 MB, free: 21.76 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.06457, allocations: 0 / 360.2 MB, free: 21.76 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.06457, allocations: 3.938 kB / 360.2 MB, free: 21.75 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.06458, allocations: 0 / 360.2 MB, free: 21.75 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.000417/0.06501, allocations: 0.5531 MB / 360.8 MB, free: 21.14 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.06505, allocations: 8.031 kB / 360.8 MB, free: 21.13 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001265/0.06518, allocations: 19.81 kB / 360.8 MB, free: 21.11 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.338e-05/0.06527, allocations: 178.9 kB / 361 MB, free: 20.9 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.06529, allocations: 7.953 kB / 361 MB, free: 20.89 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.433e-05/0.06531, allocations: 4 kB / 361 MB, free: 20.89 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002366/0.06555, allocations: 284.1 kB / 361.3 MB, free: 20.59 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.06557, allocations: 3.938 kB / 361.3 MB, free: 20.59 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.06559, allocations: 4 kB / 361.3 MB, free: 20.59 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.0656, allocations: 4 kB / 361.3 MB, free: 20.58 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001419/0.06575, allocations: 147.9 kB / 361.4 MB, free: 20.44 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001381/0.06589, allocations: 198.3 kB / 361.6 MB, free: 20.19 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002578/0.06616, allocations: 497.2 kB / 362.1 MB, free: 19.69 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.708e-06/0.06618, allocations: 7.953 kB / 362.1 MB, free: 19.68 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003546/0.06654, allocations: 490.8 kB / 362.6 MB, free: 19.16 MB / 250.7 MB Notification: Performance of pre-optimization done (n=47): time 1.322e-06/0.06655, allocations: 0 / 362.6 MB, free: 19.16 MB / 250.7 MB Notification: Performance of matching and sorting (n=47): time 0.0007256/0.06728, allocations: 0.8932 MB / 363.5 MB, free: 18.21 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.949e-05/0.06735, allocations: 160.5 kB / 363.6 MB, free: 18.02 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.409e-05/0.06741, allocations: 106 kB / 363.7 MB, free: 17.91 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.107e-05/0.06743, allocations: 29.77 kB / 363.8 MB, free: 17.88 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.859e-05/0.06745, allocations: 81.14 kB / 363.8 MB, free: 17.79 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.716e-05/0.06751, allocations: 90.66 kB / 363.9 MB, free: 17.7 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.561e-06/0.06752, allocations: 4 kB / 363.9 MB, free: 17.7 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 5.073e-05/0.06757, allocations: 326.8 kB / 364.3 MB, free: 17.37 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.208e-05/0.06764, allocations: 80.41 kB / 364.3 MB, free: 17.29 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.98e-05/0.06772, allocations: 116.3 kB / 364.5 MB, free: 17.17 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001187/0.06784, allocations: 204.4 kB / 364.7 MB, free: 16.96 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.06785, allocations: 0 / 364.7 MB, free: 16.96 MB / 250.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0002817/0.06814, allocations: 356.7 kB / 365 MB, free: 16.59 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.724e-05/0.06822, allocations: 115.3 kB / 365.1 MB, free: 16.47 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.06823, allocations: 0 / 365.1 MB, free: 16.47 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.06825, allocations: 0 / 365.1 MB, free: 16.47 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.333e-06/0.06825, allocations: 0 / 365.1 MB, free: 16.47 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.06826, allocations: 4 kB / 365.1 MB, free: 16.46 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.334e-05/0.06832, allocations: 23.69 kB / 365.1 MB, free: 16.44 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.83e-05/0.06834, allocations: 8 kB / 365.1 MB, free: 16.43 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.0001849/0.06853, allocations: 303.7 kB / 365.4 MB, free: 16.11 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.388e-05/0.06858, allocations: 27.77 kB / 365.5 MB, free: 16.09 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.022e-05/0.0686, allocations: 9.562 kB / 365.5 MB, free: 16.07 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.0686, allocations: 4 kB / 365.5 MB, free: 16.07 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.06861, allocations: 0 / 365.5 MB, free: 16.07 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.06862, allocations: 0 / 365.5 MB, free: 16.07 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001275/0.06875, allocations: 233.4 kB / 365.7 MB, free: 15.79 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.06876, allocations: 0 / 365.7 MB, free: 15.79 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.814e-06/0.06877, allocations: 3.984 kB / 365.7 MB, free: 15.79 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.06877, allocations: 0 / 365.7 MB, free: 15.79 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.644e-05/0.0688, allocations: 19.95 kB / 365.7 MB, free: 15.77 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.06881, allocations: 4 kB / 365.7 MB, free: 15.77 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.06882, allocations: 3.938 kB / 365.7 MB, free: 15.76 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008895/0.06971, allocations: 1.248 MB / 367 MB, free: 14.47 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.347e-05/0.06976, allocations: 92.86 kB / 367.1 MB, free: 14.36 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.724e-05/0.06985, allocations: 71.89 kB / 367.2 MB, free: 14.29 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.385e-05/0.06991, allocations: 12 kB / 367.2 MB, free: 14.28 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.847e-05/0.06996, allocations: 15.97 kB / 367.2 MB, free: 14.27 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.278e-05/0.06999, allocations: 19.98 kB / 367.2 MB, free: 14.25 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.918e-05/0.07001, allocations: 83.31 kB / 367.3 MB, free: 14.16 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.07002, allocations: 0 / 367.3 MB, free: 14.16 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003167/0.07034, allocations: 103.9 kB / 367.4 MB, free: 14.06 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.0003523/0.0707, allocations: 258.3 kB / 367.6 MB, free: 13.81 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.001118/0.07183, allocations: 2.132 MB / 369.8 MB, free: 11.65 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.07184, allocations: 0 / 369.8 MB, free: 11.65 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009982/0.07284, allocations: 2.194 MB / 372 MB, free: 9.434 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001359/0.07299, allocations: 19.86 kB / 372 MB, free: 9.418 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004783/0.07347, allocations: 407.4 kB / 372.4 MB, free: 8.988 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001392/0.07363, allocations: 0.7286 MB / 373.1 MB, free: 8.23 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.833e-06/0.07364, allocations: 0 / 373.1 MB, free: 8.23 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.905e-06/0.07366, allocations: 7.438 kB / 373.1 MB, free: 8.223 MB / 250.7 MB Notification: Performance of SimCode: time 1.362e-06/0.07366, allocations: 0 / 373.1 MB, free: 8.223 MB / 250.7 MB Notification: Performance of Templates: time 0.005322/0.07899, allocations: 2.874 MB / 376 MB, free: 5.359 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 "-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