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.001107/0.001107, allocations: 173 kB / 15.44 MB, free: 6.234 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.045/1.045, allocations: 170.8 MB / 187 MB, free: 1 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.001467/0.001467, allocations: 94.09 kB / 226.5 MB, free: 9.984 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.01954/0.01954, allocations: 3.116 MB / 269.1 MB, free: 15.3 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000363/0.0003631, allocations: 12 kB / 319.4 MB, free: 62.8 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06363/0.06402, allocations: 39.4 MB / 358.8 MB, free: 23.49 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica_Noise.Math.Random.Examples.GenerateRandomNumbers): time 0.00118/0.06526, allocations: 0.9274 MB / 359.7 MB, free: 22.55 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001332/0.06662, allocations: 0.82 MB / 360.5 MB, free: 21.73 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.346e-05/0.06668, allocations: 0 / 360.5 MB, free: 21.73 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.501e-05/0.06673, allocations: 0 / 360.5 MB, free: 21.73 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 4.221e-05/0.06678, allocations: 3.938 kB / 360.5 MB, free: 21.72 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006559/0.06745, allocations: 135.7 kB / 360.7 MB, free: 21.59 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 7.705e-05/0.06754, allocations: 51.89 kB / 360.7 MB, free: 21.54 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.611e-05/0.06761, allocations: 4 kB / 360.7 MB, free: 21.54 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.744e-05/0.06766, allocations: 23.92 kB / 360.7 MB, free: 21.51 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.491e-05/0.06771, allocations: 19.91 kB / 360.8 MB, free: 21.49 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.392e-05/0.06774, allocations: 0 / 360.8 MB, free: 21.49 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003195/0.06806, allocations: 147.7 kB / 360.9 MB, free: 21.35 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.018e-05/0.06811, allocations: 35.89 kB / 360.9 MB, free: 21.31 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.695e-05/0.06819, allocations: 77.33 kB / 361 MB, free: 21.23 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002983/0.0685, allocations: 195.4 kB / 361.2 MB, free: 21.04 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.06851, allocations: 4 kB / 361.2 MB, free: 21.04 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.06852, allocations: 0 / 361.2 MB, free: 21.04 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.945e-06/0.06853, allocations: 0 / 361.2 MB, free: 21.04 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.0004293/0.06897, allocations: 0.5532 MB / 361.8 MB, free: 20.42 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.06901, allocations: 8.031 kB / 361.8 MB, free: 20.41 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.714e-05/0.06905, allocations: 50.73 kB / 361.8 MB, free: 20.36 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001274/0.06919, allocations: 24.73 kB / 361.8 MB, free: 20.33 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.058e-05/0.06927, allocations: 172.3 kB / 362 MB, free: 20.12 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.06929, allocations: 4.375 kB / 362 MB, free: 20.12 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.638e-05/0.06932, allocations: 8.375 kB / 362 MB, free: 20.11 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002597/0.06958, allocations: 280.3 kB / 362.3 MB, free: 19.82 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.0696, allocations: 0 / 362.3 MB, free: 19.82 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.06962, allocations: 4 kB / 362.3 MB, free: 19.82 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.06963, allocations: 0 / 362.3 MB, free: 19.82 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000119/0.06975, allocations: 143.9 kB / 362.4 MB, free: 19.68 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000156/0.06991, allocations: 202.3 kB / 362.6 MB, free: 19.43 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002827/0.07021, allocations: 0.4933 MB / 363.1 MB, free: 18.92 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002397/0.07046, allocations: 478.3 kB / 363.6 MB, free: 18.45 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.098e-05/0.07047, allocations: 3.938 kB / 363.6 MB, free: 18.44 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003491/0.07083, allocations: 490.8 kB / 364.1 MB, free: 17.92 MB / 250.7 MB Notification: Performance of pre-optimization done (n=47): time 1.142e-06/0.07084, allocations: 0 / 364.1 MB, free: 17.92 MB / 250.7 MB Notification: Performance of matching and sorting (n=47): time 0.0005956/0.07144, allocations: 0.7271 MB / 364.8 MB, free: 17.18 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.83e-05/0.07151, allocations: 164.4 kB / 365 MB, free: 16.98 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.842e-05/0.07157, allocations: 105.8 kB / 365.1 MB, free: 16.87 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.087e-05/0.07159, allocations: 25.7 kB / 365.1 MB, free: 16.84 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.95e-05/0.07162, allocations: 81.14 kB / 365.2 MB, free: 16.76 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.171e-05/0.07167, allocations: 86.75 kB / 365.3 MB, free: 16.67 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.683e-06/0.07168, allocations: 4 kB / 365.3 MB, free: 16.67 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.748e-05/0.07176, allocations: 330.9 kB / 365.6 MB, free: 16.34 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.901e-05/0.07182, allocations: 80.41 kB / 365.7 MB, free: 16.26 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.532e-05/0.0719, allocations: 116.3 kB / 365.8 MB, free: 16.14 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002212/0.07212, allocations: 417.8 kB / 366.2 MB, free: 15.7 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.07213, allocations: 7.875 kB / 366.2 MB, free: 15.69 MB / 250.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0002672/0.0724, allocations: 364.7 kB / 366.5 MB, free: 15.32 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.119e-05/0.07247, allocations: 103.3 kB / 366.6 MB, free: 15.2 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.07249, allocations: 12.08 kB / 366.7 MB, free: 15.19 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.0725, allocations: 0 / 366.7 MB, free: 15.19 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.062e-06/0.07251, allocations: 0 / 366.7 MB, free: 15.19 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.07252, allocations: 0 / 366.7 MB, free: 15.19 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.159e-05/0.07258, allocations: 27.75 kB / 366.7 MB, free: 15.16 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.76e-05/0.0726, allocations: 12 kB / 366.7 MB, free: 15.15 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002145/0.07282, allocations: 303.7 kB / 367 MB, free: 14.84 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.275e-05/0.07286, allocations: 31.73 kB / 367 MB, free: 14.8 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.394e-05/0.07288, allocations: 5.562 kB / 367 MB, free: 14.8 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.07289, allocations: 3.938 kB / 367 MB, free: 14.79 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.0729, allocations: 4 kB / 367 MB, free: 14.79 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.0729, allocations: 0 / 367 MB, free: 14.79 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001189/0.07303, allocations: 233.3 kB / 367.3 MB, free: 14.51 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.07304, allocations: 8 kB / 367.3 MB, free: 14.5 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.703e-06/0.07304, allocations: 3.984 kB / 367.3 MB, free: 14.5 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.07305, allocations: 0 / 367.3 MB, free: 14.5 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.648e-05/0.07308, allocations: 16 kB / 367.3 MB, free: 14.48 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.07309, allocations: 0 / 367.3 MB, free: 14.48 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.07309, allocations: 0 / 367.3 MB, free: 14.48 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008533/0.07395, allocations: 1.239 MB / 368.5 MB, free: 13.21 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.75e-05/0.07399, allocations: 104.8 kB / 368.6 MB, free: 13.09 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.233e-05/0.07408, allocations: 67.94 kB / 368.7 MB, free: 13.02 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.143e-05/0.07413, allocations: 8 kB / 368.7 MB, free: 13.02 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.514e-05/0.07418, allocations: 11.98 kB / 368.7 MB, free: 13 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.409e-05/0.07421, allocations: 19.98 kB / 368.7 MB, free: 12.98 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.402e-05/0.07424, allocations: 79.28 kB / 368.8 MB, free: 12.91 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.07425, allocations: 0 / 368.8 MB, free: 12.91 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003041/0.07456, allocations: 99.98 kB / 368.9 MB, free: 12.81 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.001331/0.0759, allocations: 1.933 MB / 370.8 MB, free: 10.83 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0012/0.07711, allocations: 2.132 MB / 373 MB, free: 8.676 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.07712, allocations: 0 / 373 MB, free: 8.676 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009793/0.0781, allocations: 2.19 MB / 375.2 MB, free: 6.461 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001869/0.0783, allocations: 23.94 kB / 375.2 MB, free: 6.438 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006175/0.07892, allocations: 0.4933 MB / 375.7 MB, free: 5.898 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001332/0.07907, allocations: 0.7247 MB / 376.4 MB, free: 5.145 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.579e-06/0.07908, allocations: 3.938 kB / 376.4 MB, free: 5.141 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.371e-05/0.07911, allocations: 31.42 kB / 376.4 MB, free: 5.109 MB / 250.7 MB Notification: Performance of SimCode: time 4e-07/0.07911, allocations: 0 / 376.4 MB, free: 5.109 MB / 250.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01339/0.09251, allocations: 4.29 MB / 380.7 MB, free: 0.9141 MB / 250.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001792/0.09273, allocations: 214.7 kB / 380.9 MB, free: 0.6602 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