Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoise.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.Blocks.Examples.NoiseExamples.UniformNoise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoise") translateModel(Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.008703/0.008703, allocations: 164.3 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.383/1.383, allocations: 170.8 MB / 186.6 MB, free: 0.9648 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.001674/0.001674, allocations: 118.5 kB / 226.2 MB, free: 10.07 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.02087/0.02087, allocations: 3.107 MB / 268.7 MB, free: 15.43 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00034/0.0003401, allocations: 15.98 kB / 318.6 MB, free: 63.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06143/0.06179, allocations: 39.4 MB / 358 MB, free: 23.96 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoise): time 0.001298/0.06314, allocations: 1.11 MB / 359.1 MB, free: 22.84 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001115/0.06428, allocations: 0.7993 MB / 359.9 MB, free: 22.03 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.272e-05/0.06436, allocations: 0 / 359.9 MB, free: 22.03 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 7.843e-05/0.06445, allocations: 3.938 kB / 359.9 MB, free: 22.03 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003998/0.06486, allocations: 75.78 kB / 360 MB, free: 21.95 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001728/0.06505, allocations: 59.81 kB / 360.1 MB, free: 21.89 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 6.811e-05/0.06513, allocations: 39.89 kB / 360.1 MB, free: 21.86 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.112e-05/0.06519, allocations: 12.16 kB / 360.1 MB, free: 21.84 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.02e-05/0.06525, allocations: 19.92 kB / 360.1 MB, free: 21.82 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.999e-05/0.0653, allocations: 27.84 kB / 360.2 MB, free: 21.8 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.168e-05/0.06532, allocations: 4 kB / 360.2 MB, free: 21.79 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000227/0.06555, allocations: 107.8 kB / 360.3 MB, free: 21.69 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.389e-05/0.0656, allocations: 15.92 kB / 360.3 MB, free: 21.67 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.07e-05/0.06564, allocations: 37.64 kB / 360.3 MB, free: 21.63 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001738/0.06582, allocations: 116 kB / 360.4 MB, free: 21.52 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.06583, allocations: 7.938 kB / 360.4 MB, free: 21.51 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.06584, allocations: 4 kB / 360.4 MB, free: 21.5 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.127e-06/0.06585, allocations: 0 / 360.4 MB, free: 21.5 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004485/0.0663, allocations: 387.1 kB / 360.8 MB, free: 21.08 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.06634, allocations: 12.03 kB / 360.8 MB, free: 21.07 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001868/0.06654, allocations: 19.89 kB / 360.9 MB, free: 21.05 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.06665, allocations: 186.9 kB / 361 MB, free: 20.82 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.114e-05/0.06668, allocations: 7.953 kB / 361 MB, free: 20.82 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.288e-05/0.0667, allocations: 4 kB / 361.1 MB, free: 20.81 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/0.06685, allocations: 79.38 kB / 361.1 MB, free: 20.72 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.06687, allocations: 3.938 kB / 361.1 MB, free: 20.72 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.06689, allocations: 3.938 kB / 361.1 MB, free: 20.71 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.0669, allocations: 0 / 361.1 MB, free: 20.71 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.067, allocations: 35.98 kB / 361.2 MB, free: 20.68 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001549/0.06717, allocations: 194.5 kB / 361.4 MB, free: 20.44 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001575/0.06733, allocations: 89.17 kB / 361.4 MB, free: 20.33 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.049e-05/0.06735, allocations: 7.953 kB / 361.5 MB, free: 20.32 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001797/0.06754, allocations: 101.1 kB / 361.6 MB, free: 20.21 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 1.383e-06/0.06755, allocations: 0 / 361.6 MB, free: 20.21 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003607/0.06792, allocations: 234.8 kB / 361.8 MB, free: 19.95 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.287e-05/0.06797, allocations: 85.05 kB / 361.9 MB, free: 19.85 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.182e-05/0.06807, allocations: 135.1 kB / 362 MB, free: 19.71 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.0681, allocations: 37.69 kB / 362 MB, free: 19.66 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.705e-05/0.06814, allocations: 92.33 kB / 362.1 MB, free: 19.57 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.405e-05/0.06818, allocations: 27.8 kB / 362.2 MB, free: 19.54 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.612e-06/0.06819, allocations: 3.984 kB / 362.2 MB, free: 19.54 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 5.615e-05/0.06825, allocations: 330.9 kB / 362.5 MB, free: 19.21 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.301e-05/0.06834, allocations: 43.98 kB / 362.5 MB, free: 19.16 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.921e-05/0.06843, allocations: 58.95 kB / 362.6 MB, free: 19.1 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.54e-05/0.06852, allocations: 55.97 kB / 362.6 MB, free: 19.05 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.06853, allocations: 0 / 362.6 MB, free: 19.05 MB / 250.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002139/0.06875, allocations: 165.1 kB / 362.8 MB, free: 18.88 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.06877, allocations: 4 kB / 362.8 MB, free: 18.88 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.06878, allocations: 4 kB / 362.8 MB, free: 18.88 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.0688, allocations: 0 / 362.8 MB, free: 18.88 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.195e-05/0.06889, allocations: 15.98 kB / 362.8 MB, free: 18.86 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.0689, allocations: 0 / 362.8 MB, free: 18.86 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.462e-05/0.06895, allocations: 11.84 kB / 362.8 MB, free: 18.85 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.06897, allocations: 8.031 kB / 362.8 MB, free: 18.84 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: 14 ($whenCondition1,$PRE.uniformNoise.state[1],uniformNoise.state[1],$PRE.uniformNoise.state[2],uniformNoise.state[2],$PRE.uniformNoise.state[3],uniformNoise.state[3],$PRE.uniformNoise.state[4],uniformNoise.state[4],$PRE.uniformNoise.r,uniformNoise.r,$PRE.uniformNoise.r_raw,uniformNoise.r_raw,uniformNoise.localSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 11 * Array equations: 1 * Algorithm blocks: 0 * 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 8.311e-05/0.06906, allocations: 133.7 kB / 363 MB, free: 18.7 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.773e-05/0.06908, allocations: 15.86 kB / 363 MB, free: 18.68 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.284e-05/0.06911, allocations: 12.66 kB / 363 MB, free: 18.67 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.06912, allocations: 0 / 363 MB, free: 18.67 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.06913, allocations: 0 / 363 MB, free: 18.67 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.06914, allocations: 7.984 kB / 363 MB, free: 18.66 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.877e-05/0.06924, allocations: 177.6 kB / 363.2 MB, free: 18.44 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.06925, allocations: 0 / 363.2 MB, free: 18.44 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.886e-05/0.06928, allocations: 8 kB / 363.2 MB, free: 18.43 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.06929, allocations: 0 / 363.2 MB, free: 18.43 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.06931, allocations: 3.953 kB / 363.2 MB, free: 18.43 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.06931, allocations: 4 kB / 363.2 MB, free: 18.43 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.06932, allocations: 3.984 kB / 363.2 MB, free: 18.42 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001947/0.06952, allocations: 167.5 kB / 363.4 MB, free: 18.23 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.142e-05/0.06958, allocations: 88.97 kB / 363.4 MB, free: 18.12 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.228e-05/0.06961, allocations: 4 kB / 363.5 MB, free: 18.12 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.003e-05/0.06965, allocations: 3.984 kB / 363.5 MB, free: 18.12 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.8e-05/0.0697, allocations: 4.062 kB / 363.5 MB, free: 18.11 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.06971, allocations: 12 kB / 363.5 MB, free: 18.1 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.788e-05/0.06977, allocations: 106.9 kB / 363.6 MB, free: 18 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.06977, allocations: 4 kB / 363.6 MB, free: 18 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002466/0.07002, allocations: 40 kB / 363.6 MB, free: 17.96 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: 8 (uniformNoise.localSeed,$whenCondition1,uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4],uniformNoise.r,uniformNoise.r_raw) * Number of discrete states: 4 (uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0002582/0.07029, allocations: 164.3 kB / 363.8 MB, free: 17.8 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001949/0.07049, allocations: 103.9 kB / 363.9 MB, free: 17.7 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.07051, allocations: 0 / 363.9 MB, free: 17.7 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.948e-05/0.07058, allocations: 35.92 kB / 363.9 MB, free: 17.66 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.823e-05/0.07069, allocations: 7.938 kB / 363.9 MB, free: 17.65 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002742/0.07097, allocations: 182.2 kB / 364.1 MB, free: 17.45 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001008/0.07108, allocations: 0.6966 MB / 364.8 MB, free: 16.73 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.091e-05/0.07113, allocations: 20.19 kB / 364.8 MB, free: 16.71 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.335e-05/0.07116, allocations: 15.44 kB / 364.8 MB, free: 16.69 MB / 250.7 MB Notification: Performance of SimCode: time 4.31e-07/0.07116, allocations: 4 kB / 364.8 MB, free: 16.69 MB / 250.7 MB Notification: Performance of Templates: time 0.003991/0.07516, allocations: 1.525 MB / 366.4 MB, free: 15.16 MB / 250.7 MB make -j1 -f Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoise.makefile make -j1 -f Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoise.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_Blocks_Examples_NoiseExamples_UniformNoise -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.Blocks.Examples.NoiseExamples.UniformNoise.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoise.c 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_Blocks_Examples_NoiseExamples_UniformNoise -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.Blocks.Examples.NoiseExamples.UniformNoise_functions.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoise_functions.c In file included from Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoise_functions.c:7: In file included from ./Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoise_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include/ModelicaRandom.c:600:10: warning: implicit declaration of function '_getpid' is invalid in C99 [-Wimplicit-function-declaration] pid = ModelicaRandom_getpid(); ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include/ModelicaRandom.c:207:34: note: expanded from macro 'ModelicaRandom_getpid' # define ModelicaRandom_getpid _getpid ^ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoise_functions.c:23:34: warning: passing 'const int *' to parameter of type 'int *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] ModelicaRandom_xorshift128plus((const int*) _stateIn_c89, (int*) _stateOut_c89, &_result_ext); ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include/ModelicaRandom.c:363:57: note: passing argument to parameter 'state_in' here MODELICA_EXPORT void ModelicaRandom_xorshift128plus(int state_in[], int state_out[], double* y) { ^ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoise_functions.c:108:33: warning: passing 'const int *' to parameter of type 'int *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] ModelicaRandom_xorshift64star((const int*) _stateIn_c89, (int*) _stateOut_c89, &_result_ext); ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include/ModelicaRandom.c:312:56: note: passing argument to parameter 'state_in' here MODELICA_EXPORT void ModelicaRandom_xorshift64star(int state_in[], int state_out[], double* y) { ^ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoise_functions.c:334:52: warning: passing 'const int *' to parameter of type 'int *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] ModelicaRandom_setInternalState_xorshift1024star((const int*) _rngState_c89, size_of_dimension_base_array(_rngState, ((modelica_integer) 1)), _id_ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include/ModelicaRandom.c:530:76: note: passing argument to parameter 'state' here MODELICA_EXPORT void ModelicaRandom_setInternalState_xorshift1024star(int* state, size_t nState, int id) { ^ 4 warnings generated. 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_Blocks_Examples_NoiseExamples_UniformNoise -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.Blocks.Examples.NoiseExamples.UniformNoise_records.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoise_records.c 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_Blocks_Examples_NoiseExamples_UniformNoise -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.Blocks.Examples.NoiseExamples.UniformNoise_01exo.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoise_01exo.c 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_Blocks_Examples_NoiseExamples_UniformNoise -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.Blocks.Examples.NoiseExamples.UniformNoise_02nls.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoise_02nls.c 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_Blocks_Examples_NoiseExamples_UniformNoise -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.Blocks.Examples.NoiseExamples.UniformNoise_03lsy.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoise_03lsy.c 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_Blocks_Examples_NoiseExamples_UniformNoise -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.Blocks.Examples.NoiseExamples.UniformNoise_04set.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoise_04set.c 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_Blocks_Examples_NoiseExamples_UniformNoise -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.Blocks.Examples.NoiseExamples.UniformNoise_05evt.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoise_05evt.c 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_Blocks_Examples_NoiseExamples_UniformNoise -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.Blocks.Examples.NoiseExamples.UniformNoise_06inz.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoise_06inz.c Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoise_06inz.c:37:55: error: use of undeclared identifier 'state' integer_array_create(&tmp0, ((modelica_integer*)&((&state)[calc_base_index_dims_subs(1, (_index_t)stateSize, ((modelica_integer) 1))])), 1, (_index_t)stateSize); ^ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoise_06inz.c:37:101: error: use of undeclared identifier 'stateSize' integer_array_create(&tmp0, ((modelica_integer*)&((&state)[calc_base_index_dims_subs(1, (_index_t)stateSize, ((modelica_integer) 1))])), 1, (_index_t)stateSize); ^ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoise_06inz.c:37:153: error: use of undeclared identifier 'stateSize' integer_array_create(&tmp0, ((modelica_integer*)&((&state)[calc_base_index_dims_subs(1, (_index_t)stateSize, ((modelica_integer) 1))])), 1, (_index_t)stateSize); ^ 3 errors generated. make: *** [: Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoise_06inz.o] Error 1