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.0069/0.0069, allocations: 162.1 kB / 15.12 MB, free: 6.027 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.465/1.465, 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.001497/0.001497, allocations: 110.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.01969/0.01969, allocations: 3.112 MB / 268.8 MB, free: 15.43 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004191/0.0004194, allocations: 12 kB / 318.7 MB, free: 63.14 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08182/0.08226, allocations: 39.4 MB / 358.1 MB, free: 23.86 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica_Noise.Math.Random.Examples.GenerateRandomNumbers): time 0.001108/0.08341, allocations: 0.9197 MB / 359.1 MB, free: 22.93 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001153/0.08458, allocations: 0.7658 MB / 359.8 MB, free: 22.16 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.919e-05/0.08462, allocations: 0 / 359.8 MB, free: 22.16 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.861e-05/0.08466, allocations: 7.938 kB / 359.8 MB, free: 22.15 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 3.547e-05/0.0847, allocations: 0 / 359.8 MB, free: 22.15 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000522/0.08523, allocations: 139.7 kB / 360 MB, free: 22.02 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 5.736e-05/0.0853, allocations: 39.91 kB / 360 MB, free: 21.98 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.646e-05/0.08536, allocations: 7.984 kB / 360 MB, free: 21.97 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.56e-05/0.08541, allocations: 19.92 kB / 360 MB, free: 21.95 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.663e-05/0.08545, allocations: 15.98 kB / 360 MB, free: 21.93 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.334e-05/0.08547, allocations: 4 kB / 360.1 MB, free: 21.93 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002309/0.0857, allocations: 139.7 kB / 360.2 MB, free: 21.79 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.53e-05/0.08575, allocations: 31.92 kB / 360.2 MB, free: 21.76 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.964e-05/0.0858, allocations: 45.64 kB / 360.3 MB, free: 21.71 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001589/0.08596, allocations: 127.8 kB / 360.4 MB, free: 21.59 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.08597, allocations: 3.938 kB / 360.4 MB, free: 21.58 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.08598, allocations: 4 kB / 360.4 MB, free: 21.58 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.049e-05/0.086, allocations: 0 / 360.4 MB, free: 21.58 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.0004362/0.08644, allocations: 0.5531 MB / 361 MB, free: 20.96 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.08649, allocations: 16 kB / 361 MB, free: 20.95 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.269e-05/0.08654, allocations: 46.55 kB / 361 MB, free: 20.89 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000129/0.08668, allocations: 19.81 kB / 361 MB, free: 20.88 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.87e-05/0.08679, allocations: 178.9 kB / 361.2 MB, free: 20.66 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.08681, allocations: 7.953 kB / 361.2 MB, free: 20.65 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.805e-05/0.08683, allocations: 11.94 kB / 361.2 MB, free: 20.64 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002524/0.08709, allocations: 280.1 kB / 361.5 MB, free: 20.35 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.0871, allocations: 0 / 361.5 MB, free: 20.35 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.08712, allocations: 0 / 361.5 MB, free: 20.35 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.08713, allocations: 4 kB / 361.5 MB, free: 20.35 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001187/0.08725, allocations: 147.9 kB / 361.6 MB, free: 20.2 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001331/0.08739, allocations: 194.3 kB / 361.8 MB, free: 19.96 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002763/0.08768, allocations: 0.4932 MB / 362.3 MB, free: 19.45 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002388/0.08792, allocations: 474.4 kB / 362.8 MB, free: 18.98 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.049e-06/0.08794, allocations: 4 kB / 362.8 MB, free: 18.98 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003573/0.0883, allocations: 486.7 kB / 363.3 MB, free: 18.46 MB / 250.7 MB Notification: Performance of pre-optimization done (n=47): time 1.002e-06/0.08831, allocations: 4 kB / 363.3 MB, free: 18.46 MB / 250.7 MB Notification: Performance of matching and sorting (n=47): time 0.0006788/0.08899, allocations: 0.7309 MB / 364 MB, free: 17.71 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.907e-05/0.08906, allocations: 164.5 kB / 364.2 MB, free: 17.52 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.365e-05/0.08912, allocations: 101.8 kB / 364.3 MB, free: 17.41 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.044e-05/0.08914, allocations: 25.7 kB / 364.3 MB, free: 17.38 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.71e-05/0.08916, allocations: 81.14 kB / 364.4 MB, free: 17.29 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.626e-05/0.08922, allocations: 90.73 kB / 364.5 MB, free: 17.2 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.428e-06/0.08923, allocations: 4 kB / 364.5 MB, free: 17.2 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.072e-05/0.08929, allocations: 330.9 kB / 364.8 MB, free: 16.87 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.113e-05/0.08936, allocations: 80.41 kB / 364.9 MB, free: 16.79 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.07e-05/0.08944, allocations: 112.3 kB / 365 MB, free: 16.67 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001219/0.08956, allocations: 196.4 kB / 365.2 MB, free: 16.47 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.08957, allocations: 0 / 365.2 MB, free: 16.47 MB / 250.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0002558/0.08983, allocations: 360.6 kB / 365.5 MB, free: 16.1 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.737e-05/0.08991, allocations: 114 kB / 365.6 MB, free: 15.98 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.78e-06/0.08992, allocations: 0 / 365.6 MB, free: 15.98 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.08994, allocations: 8.031 kB / 365.6 MB, free: 15.97 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.764e-06/0.08995, allocations: 4 kB / 365.6 MB, free: 15.96 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.08996, allocations: 0 / 365.6 MB, free: 15.96 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.002e-05/0.09001, allocations: 19.75 kB / 365.7 MB, free: 15.95 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.931e-05/0.09003, allocations: 16 kB / 365.7 MB, free: 15.93 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.0001863/0.09023, allocations: 295.7 kB / 366 MB, free: 15.62 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.403e-05/0.09027, allocations: 35.7 kB / 366 MB, free: 15.58 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.074e-05/0.09028, allocations: 5.562 kB / 366 MB, free: 15.57 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.09029, allocations: 336 / 366 MB, free: 15.57 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.0903, allocations: 0 / 366 MB, free: 15.57 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.09031, allocations: 0 / 366 MB, free: 15.57 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001226/0.09043, allocations: 237.4 kB / 366.2 MB, free: 15.29 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.09044, allocations: 3.984 kB / 366.2 MB, free: 15.29 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.92e-07/0.09045, allocations: 4 kB / 366.2 MB, free: 15.29 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.09046, allocations: 7.953 kB / 366.3 MB, free: 15.28 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.544e-05/0.09049, allocations: 19.98 kB / 366.3 MB, free: 15.26 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.09049, allocations: 0 / 366.3 MB, free: 15.26 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.0905, allocations: 0 / 366.3 MB, free: 15.26 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008809/0.09138, allocations: 1.231 MB / 367.5 MB, free: 13.99 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.274e-05/0.09143, allocations: 96.86 kB / 367.6 MB, free: 13.88 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.559e-05/0.09152, allocations: 75.92 kB / 367.7 MB, free: 13.8 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.387e-05/0.09158, allocations: 12 kB / 367.7 MB, free: 13.79 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.128e-05/0.09163, allocations: 19.91 kB / 367.7 MB, free: 13.77 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.407e-05/0.09166, allocations: 16 kB / 367.7 MB, free: 13.76 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.568e-05/0.09169, allocations: 79.27 kB / 367.8 MB, free: 13.68 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09169, allocations: 4 kB / 367.8 MB, free: 13.68 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002955/0.09199, allocations: 99.94 kB / 367.9 MB, free: 13.58 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.001276/0.09328, allocations: 1.912 MB / 369.8 MB, free: 11.62 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.00118/0.09447, allocations: 2.136 MB / 371.9 MB, free: 9.465 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.09448, allocations: 0 / 371.9 MB, free: 9.465 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001039/0.09553, allocations: 2.194 MB / 374.1 MB, free: 7.246 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001871/0.09572, allocations: 23.95 kB / 374.2 MB, free: 7.223 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006473/0.09638, allocations: 492.9 kB / 374.6 MB, free: 6.699 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000142/0.09653, allocations: 0.7247 MB / 375.4 MB, free: 5.945 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.38e-06/0.09654, allocations: 0 / 375.4 MB, free: 5.945 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.319e-05/0.09658, allocations: 31.42 kB / 375.4 MB, free: 5.914 MB / 250.7 MB Notification: Performance of SimCode: time 2.5e-07/0.09659, allocations: 0 / 375.4 MB, free: 5.914 MB / 250.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01421/0.1108, allocations: 4.473 MB / 379.9 MB, free: 1.543 MB / 250.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001422/0.111, allocations: 196.5 kB / 380.1 MB, free: 1.305 MB / 250.7 MB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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:144: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223: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