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.001784/0.001784, allocations: 170.6 kB / 15.41 MB, free: 6.211 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.333/1.333, allocations: 170.5 MB / 186.7 MB, free: 1.09 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.001968/0.001968, allocations: 110.9 kB / 226 MB, free: 10.29 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.03607/0.03607, allocations: 3.124 MB / 268.3 MB, free: 15.89 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000361/0.0003611, allocations: 12.38 kB / 318.1 MB, free: 63.3 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0719/0.07228, allocations: 39.12 MB / 357.2 MB, free: 24.3 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoise): time 0.001388/0.07373, allocations: 1.129 MB / 358.4 MB, free: 23.15 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001255/0.075, allocations: 0.8649 MB / 359.2 MB, free: 22.28 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.645e-05/0.07505, allocations: 0 / 359.2 MB, free: 22.28 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001058/0.07517, allocations: 7.922 kB / 359.3 MB, free: 22.27 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003432/0.07552, allocations: 67.81 kB / 359.3 MB, free: 22.21 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001243/0.07565, allocations: 59.88 kB / 359.4 MB, free: 22.15 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 7.784e-05/0.07574, allocations: 63.84 kB / 359.4 MB, free: 22.09 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.317e-05/0.07579, allocations: 8.172 kB / 359.4 MB, free: 22.08 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.399e-05/0.07586, allocations: 27.84 kB / 359.5 MB, free: 22.05 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.275e-05/0.07591, allocations: 31.78 kB / 359.5 MB, free: 22.02 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.847e-05/0.07593, allocations: 4 kB / 359.5 MB, free: 22.02 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002081/0.07615, allocations: 139.8 kB / 359.6 MB, free: 21.88 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.464e-05/0.0762, allocations: 7.984 kB / 359.7 MB, free: 21.87 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.379e-05/0.07625, allocations: 35.77 kB / 359.7 MB, free: 21.84 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002051/0.07647, allocations: 163.9 kB / 359.8 MB, free: 21.68 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.07648, allocations: 7.938 kB / 359.9 MB, free: 21.67 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.07649, allocations: 3.938 kB / 359.9 MB, free: 21.66 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.391e-06/0.0765, allocations: 0 / 359.9 MB, free: 21.66 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.0004894/0.077, allocations: 383.3 kB / 360.2 MB, free: 21.24 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.07704, allocations: 8.031 kB / 360.2 MB, free: 21.23 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001756/0.07722, allocations: 24.83 kB / 360.3 MB, free: 21.21 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001115/0.07734, allocations: 191 kB / 360.5 MB, free: 20.99 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.97e-05/0.07737, allocations: 8.375 kB / 360.5 MB, free: 20.98 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.545e-05/0.07739, allocations: 8.312 kB / 360.5 MB, free: 20.97 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000147/0.07754, allocations: 83.31 kB / 360.6 MB, free: 20.88 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.07756, allocations: 0 / 360.6 MB, free: 20.88 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.07758, allocations: 3.938 kB / 360.6 MB, free: 20.88 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.07759, allocations: 4 kB / 360.6 MB, free: 20.87 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.727e-05/0.07769, allocations: 39.91 kB / 360.6 MB, free: 20.83 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001899/0.07789, allocations: 194.4 kB / 360.8 MB, free: 20.59 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001645/0.07806, allocations: 93.12 kB / 360.9 MB, free: 20.48 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.009e-05/0.07814, allocations: 41.77 kB / 360.9 MB, free: 20.43 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.4e-05/0.07816, allocations: 3.938 kB / 360.9 MB, free: 20.43 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002049/0.07837, allocations: 97.09 kB / 361 MB, free: 20.32 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 1.303e-06/0.07838, allocations: 7.938 kB / 361 MB, free: 20.31 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003158/0.0787, allocations: 153.6 kB / 361.2 MB, free: 20.15 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.129e-05/0.07875, allocations: 85.05 kB / 361.3 MB, free: 20.05 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.783e-05/0.07884, allocations: 134.1 kB / 361.4 MB, free: 19.91 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.07886, allocations: 37.69 kB / 361.4 MB, free: 19.86 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.711e-05/0.07891, allocations: 92.27 kB / 361.5 MB, free: 19.77 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.834e-05/0.07894, allocations: 27.73 kB / 361.5 MB, free: 19.74 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.667e-05/0.07897, allocations: 17.72 kB / 361.6 MB, free: 19.72 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 5.748e-05/0.07904, allocations: 322.8 kB / 361.9 MB, free: 19.39 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.945e-05/0.07912, allocations: 47.97 kB / 361.9 MB, free: 19.35 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.045e-05/0.07921, allocations: 65.69 kB / 362 MB, free: 19.28 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001508/0.07937, allocations: 107.8 kB / 362.1 MB, free: 19.17 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.07938, allocations: 0 / 362.1 MB, free: 19.17 MB / 250.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002074/0.07959, allocations: 169.3 kB / 362.3 MB, free: 19 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.07961, allocations: 6.656 kB / 362.3 MB, free: 18.99 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.07962, allocations: 7.938 kB / 362.3 MB, free: 18.98 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.07964, allocations: 0 / 362.3 MB, free: 18.98 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.037e-05/0.07973, allocations: 15.97 kB / 362.3 MB, free: 18.97 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.07974, allocations: 3.984 kB / 362.3 MB, free: 18.96 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.849e-05/0.07978, allocations: 4 kB / 362.3 MB, free: 18.96 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.0798, allocations: 4 kB / 362.3 MB, free: 18.96 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,uniformNoise.localSeed,uniformNoise.r_raw,$PRE.uniformNoise.r_raw,uniformNoise.r,$PRE.uniformNoise.r,uniformNoise.state[4],$PRE.uniformNoise.state[4],uniformNoise.state[3],$PRE.uniformNoise.state[3],uniformNoise.state[2],$PRE.uniformNoise.state[2],uniformNoise.state[1],$PRE.uniformNoise.state[1]) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.622e-05/0.07988, allocations: 131.7 kB / 362.4 MB, free: 18.82 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.704e-05/0.0799, allocations: 11.89 kB / 362.4 MB, free: 18.81 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.268e-05/0.07993, allocations: 8.719 kB / 362.4 MB, free: 18.8 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.07994, allocations: 4 kB / 362.5 MB, free: 18.8 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.07995, allocations: 0 / 362.5 MB, free: 18.8 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.07996, allocations: 4 kB / 362.5 MB, free: 18.79 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.93e-05/0.08006, allocations: 193.5 kB / 362.6 MB, free: 18.55 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.08007, allocations: 3.984 kB / 362.6 MB, free: 18.55 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.802e-05/0.0801, allocations: 7.984 kB / 362.7 MB, free: 18.54 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.08011, allocations: 0 / 362.7 MB, free: 18.54 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.976e-06/0.08013, allocations: 0 / 362.7 MB, free: 18.54 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.08013, allocations: 4 kB / 362.7 MB, free: 18.54 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.08014, allocations: 3.938 kB / 362.7 MB, free: 18.54 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001899/0.08033, allocations: 153.8 kB / 362.8 MB, free: 18.36 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.711e-05/0.08037, allocations: 89.02 kB / 362.9 MB, free: 18.26 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.215e-05/0.0804, allocations: 7.984 kB / 362.9 MB, free: 18.25 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.577e-05/0.08044, allocations: 64 / 362.9 MB, free: 18.25 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.896e-05/0.08049, allocations: 15.98 kB / 362.9 MB, free: 18.23 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.002e-06/0.0805, allocations: 7.938 kB / 362.9 MB, free: 18.23 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.649e-05/0.08055, allocations: 107.8 kB / 363 MB, free: 18.12 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.08056, allocations: 0 / 363 MB, free: 18.12 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002221/0.08078, allocations: 39.98 kB / 363.1 MB, free: 18.09 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 (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.0002837/0.08107, allocations: 166.1 kB / 363.2 MB, free: 17.92 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002003/0.08128, allocations: 91.89 kB / 363.3 MB, free: 17.83 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.0813, allocations: 0 / 363.3 MB, free: 17.83 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 7.183e-05/0.08137, allocations: 44.05 kB / 363.4 MB, free: 17.79 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001514/0.08153, allocations: 11.88 kB / 363.4 MB, free: 17.78 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003402/0.08188, allocations: 183.5 kB / 363.6 MB, free: 17.57 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000132/0.08202, allocations: 0.6966 MB / 364.3 MB, free: 16.85 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.475e-05/0.08207, allocations: 12.16 kB / 364.3 MB, free: 16.84 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.181e-05/0.08209, allocations: 15.44 kB / 364.3 MB, free: 16.82 MB / 250.7 MB Notification: Performance of SimCode: time 2.71e-07/0.0821, allocations: 0 / 364.3 MB, free: 16.82 MB / 250.7 MB Notification: Performance of Templates: time 0.003509/0.08561, allocations: 1.558 MB / 365.8 MB, free: 15.27 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 -Wno-parentheses-equality "-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"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -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 -Wno-parentheses-equality "-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"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -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 -Wno-parentheses-equality "-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"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -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 -Wno-parentheses-equality "-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"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -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 -Wno-parentheses-equality "-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"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -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 -Wno-parentheses-equality "-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"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -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 -Wno-parentheses-equality "-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"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -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 -Wno-parentheses-equality "-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"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -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 -Wno-parentheses-equality "-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"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -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:53: error: use of undeclared identifier 'state'; did you mean 'static'? integer_array_create(&tmp0, ((modelica_integer*)&(state)), 1, (_index_t)stateSize); ^~~~~ static Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoise_06inz.c:37:53: error: address of overloaded function 'status' does not match required type 'long' integer_array_create(&tmp0, ((modelica_integer*)&(state)), 1, (_index_t)stateSize); ^~~~~ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoise_06inz.c:37:75: error: use of undeclared identifier 'stateSize' integer_array_create(&tmp0, ((modelica_integer*)&(state)), 1, (_index_t)stateSize); ^ 3 errors generated. make: *** [: Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoise_06inz.o] Error 1