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.0008437/0.0008434, allocations: 169.8 kB / 15.41 MB, free: 5.797 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.027/1.027, allocations: 170.5 MB / 186.7 MB, free: 1.176 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.001564/0.001564, allocations: 106.2 kB / 226 MB, free: 10.3 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.01956/0.01956, allocations: 3.111 MB / 268.3 MB, free: 15.9 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003127/0.0003127, allocations: 8.75 kB / 318.2 MB, free: 63.21 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04817/0.0485, allocations: 39.13 MB / 357.4 MB, free: 24.19 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica_Noise.Math.Random.Examples.GenerateRandomNumbers): time 0.000851/0.04938, allocations: 0.9313 MB / 358.3 MB, free: 23.25 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009823/0.05037, allocations: 0.8393 MB / 359.1 MB, free: 22.4 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.691e-05/0.0504, allocations: 0 / 359.1 MB, free: 22.4 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.744e-05/0.05044, allocations: 3.938 kB / 359.1 MB, free: 22.4 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 2.612e-05/0.05047, allocations: 0 / 359.1 MB, free: 22.4 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003908/0.05087, allocations: 139.7 kB / 359.3 MB, free: 22.26 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 4.582e-05/0.05093, allocations: 47.95 kB / 359.3 MB, free: 22.21 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.052e-05/0.05096, allocations: 0 / 359.3 MB, free: 22.21 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.757e-05/0.051, allocations: 27.86 kB / 359.3 MB, free: 22.19 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.9e-05/0.05103, allocations: 23.91 kB / 359.4 MB, free: 22.16 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.09e-05/0.05105, allocations: 0 / 359.4 MB, free: 22.16 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001977/0.05125, allocations: 147.7 kB / 359.5 MB, free: 22.02 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.006e-05/0.05129, allocations: 31.91 kB / 359.5 MB, free: 21.99 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.458e-05/0.05134, allocations: 55.61 kB / 359.6 MB, free: 21.93 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001746/0.05152, allocations: 187.5 kB / 359.8 MB, free: 21.75 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.05153, allocations: 4 kB / 359.8 MB, free: 21.75 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.05154, allocations: 4 kB / 359.8 MB, free: 21.74 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.086e-06/0.05155, allocations: 0 / 359.8 MB, free: 21.74 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.0003111/0.05187, allocations: 0.5493 MB / 360.3 MB, free: 21.13 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.181e-05/0.0519, allocations: 12.03 kB / 360.3 MB, free: 21.12 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.882e-05/0.05194, allocations: 50.73 kB / 360.4 MB, free: 21.06 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001156/0.05206, allocations: 24.73 kB / 360.4 MB, free: 21.04 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.014e-05/0.05213, allocations: 176.2 kB / 360.6 MB, free: 20.83 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.007e-06/0.05214, allocations: 4.375 kB / 360.6 MB, free: 20.82 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.305e-05/0.05216, allocations: 4.375 kB / 360.6 MB, free: 20.82 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002049/0.05237, allocations: 280.4 kB / 360.9 MB, free: 20.53 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.39e-06/0.05238, allocations: 0 / 360.9 MB, free: 20.53 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.779e-06/0.0524, allocations: 4 kB / 360.9 MB, free: 20.53 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.477e-06/0.05241, allocations: 0 / 360.9 MB, free: 20.53 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.964e-05/0.05251, allocations: 147.9 kB / 361 MB, free: 20.38 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001019/0.05262, allocations: 202.3 kB / 361.2 MB, free: 20.13 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002195/0.05285, allocations: 0.4894 MB / 361.7 MB, free: 19.62 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001948/0.05305, allocations: 478.3 kB / 362.2 MB, free: 19.15 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.182e-06/0.05306, allocations: 7.875 kB / 362.2 MB, free: 19.14 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002706/0.05334, allocations: 486.8 kB / 362.7 MB, free: 18.63 MB / 250.7 MB Notification: Performance of pre-optimization done (n=47): time 1.323e-06/0.05335, allocations: 7.984 kB / 362.7 MB, free: 18.62 MB / 250.7 MB Notification: Performance of matching and sorting (n=47): time 0.0005434/0.0539, allocations: 0.7309 MB / 363.4 MB, free: 17.87 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.042e-05/0.05395, allocations: 156.5 kB / 363.5 MB, free: 17.69 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.039e-05/0.05399, allocations: 105.8 kB / 363.7 MB, free: 17.57 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.205e-06/0.05401, allocations: 25.7 kB / 363.7 MB, free: 17.54 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.222e-05/0.05403, allocations: 85.12 kB / 363.8 MB, free: 17.46 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.598e-05/0.05407, allocations: 90.75 kB / 363.8 MB, free: 17.37 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.836e-05/0.0541, allocations: 33.7 kB / 363.9 MB, free: 17.33 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 3.773e-05/0.05414, allocations: 334.9 kB / 364.2 MB, free: 16.99 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.522e-05/0.0542, allocations: 80.41 kB / 364.3 MB, free: 16.91 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.315e-05/0.05427, allocations: 112.3 kB / 364.4 MB, free: 16.8 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002042/0.05448, allocations: 421.4 kB / 364.8 MB, free: 16.36 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.05449, allocations: 0 / 364.8 MB, free: 16.36 MB / 250.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0002468/0.05474, allocations: 364.6 kB / 365.2 MB, free: 15.98 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.103e-05/0.05481, allocations: 107.3 kB / 365.3 MB, free: 15.86 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.05483, allocations: 4 kB / 365.3 MB, free: 15.86 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.05484, allocations: 4.094 kB / 365.3 MB, free: 15.86 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.202e-06/0.05485, allocations: 0 / 365.3 MB, free: 15.86 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.05486, allocations: 0 / 365.3 MB, free: 15.86 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.887e-05/0.05491, allocations: 23.75 kB / 365.3 MB, free: 15.83 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.707e-05/0.05493, allocations: 12 kB / 365.3 MB, free: 15.82 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 (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],r1024,r128,r64,$whenCondition2,iImpure,rImpure,id,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001836/0.05512, allocations: 303.7 kB / 365.6 MB, free: 15.5 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.005e-05/0.05517, allocations: 27.75 kB / 365.6 MB, free: 15.48 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.746e-06/0.05519, allocations: 5.562 kB / 365.6 MB, free: 15.47 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.05519, allocations: 0 / 365.6 MB, free: 15.47 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.0552, allocations: 7.938 kB / 365.6 MB, free: 15.46 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.05521, allocations: 0 / 365.6 MB, free: 15.46 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.974e-05/0.05531, allocations: 237.2 kB / 365.9 MB, free: 15.18 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.05532, allocations: 4 kB / 365.9 MB, free: 15.18 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.52e-07/0.05533, allocations: 4 kB / 365.9 MB, free: 15.17 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.223e-06/0.05533, allocations: 0 / 365.9 MB, free: 15.17 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.047e-05/0.05536, allocations: 19.98 kB / 365.9 MB, free: 15.15 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-06/0.05536, allocations: 0 / 365.9 MB, free: 15.15 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.05537, allocations: 0 / 365.9 MB, free: 15.15 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008084/0.05618, allocations: 1.239 MB / 367.1 MB, free: 13.88 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.064e-05/0.05621, allocations: 100.8 kB / 367.2 MB, free: 13.76 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.502e-05/0.05629, allocations: 67.98 kB / 367.3 MB, free: 13.7 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.892e-05/0.05635, allocations: 15.98 kB / 367.3 MB, free: 13.68 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.212e-05/0.05638, allocations: 8 kB / 367.3 MB, free: 13.67 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.123e-05/0.05641, allocations: 23.92 kB / 367.4 MB, free: 13.65 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.582e-05/0.05643, allocations: 79.61 kB / 367.4 MB, free: 13.57 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.05644, allocations: 0 / 367.4 MB, free: 13.57 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002565/0.0567, allocations: 99.98 kB / 367.5 MB, free: 13.47 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001148/0.05785, allocations: 1.943 MB / 369.5 MB, free: 11.49 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0009774/0.05884, allocations: 2.132 MB / 371.6 MB, free: 9.332 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.05885, allocations: 0 / 371.6 MB, free: 9.332 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008845/0.05974, allocations: 2.194 MB / 373.8 MB, free: 7.113 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001685/0.05992, allocations: 20 kB / 373.8 MB, free: 7.094 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005849/0.06051, allocations: 495.8 kB / 374.3 MB, free: 6.562 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000115/0.06064, allocations: 0.7247 MB / 375 MB, free: 5.809 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.089e-06/0.06065, allocations: 0 / 375 MB, free: 5.809 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.63e-05/0.06068, allocations: 35.42 kB / 375.1 MB, free: 5.773 MB / 250.7 MB Notification: Performance of SimCode: time 2.2e-07/0.06069, allocations: 0 / 375.1 MB, free: 5.773 MB / 250.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01186/0.07255, allocations: 4.289 MB / 379.4 MB, free: 1.578 MB / 250.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001407/0.07272, allocations: 222.9 kB / 379.6 MB, free: 1.32 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. -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:155: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ Modelica_Noise_Modelica_Noise_Math_Random_Examples_GenerateRandomNumbers.c:310:57: error: use of undeclared identifier 'state'; did you mean 'static'? integer_array_create(&tmp1, ((modelica_integer*)&(state)), 1, (_index_t)stateSize); ^~~~~ static Modelica_Noise_Modelica_Noise_Math_Random_Examples_GenerateRandomNumbers.c:310:57: error: address of overloaded function 'status' does not match required type 'long' integer_array_create(&tmp1, ((modelica_integer*)&(state)), 1, (_index_t)stateSize); ^~~~~ Modelica_Noise_Modelica_Noise_Math_Random_Examples_GenerateRandomNumbers.c:310:79: error: use of undeclared identifier 'stateSize' integer_array_create(&tmp1, ((modelica_integer*)&(state)), 1, (_index_t)stateSize); ^ Modelica_Noise_Modelica_Noise_Math_Random_Examples_GenerateRandomNumbers.c:315:57: error: use of undeclared identifier 'state'; did you mean 'static'? integer_array_create(&tmp4, ((modelica_integer*)&(state)), 1, (_index_t)stateSize); ^~~~~ static Modelica_Noise_Modelica_Noise_Math_Random_Examples_GenerateRandomNumbers.c:315:57: error: address of overloaded function 'status' does not match required type 'long' integer_array_create(&tmp4, ((modelica_integer*)&(state)), 1, (_index_t)stateSize); ^~~~~ Modelica_Noise_Modelica_Noise_Math_Random_Examples_GenerateRandomNumbers.c:315:79: error: use of undeclared identifier 'stateSize' integer_array_create(&tmp4, ((modelica_integer*)&(state)), 1, (_index_t)stateSize); ^ 2 warnings and 6 errors generated. make: *** [: Modelica_Noise_Modelica_Noise_Math_Random_Examples_GenerateRandomNumbers.o] Error 1