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.001753/0.001753, allocations: 171.5 kB / 15.45 MB, free: 5.824 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.138/1.138, allocations: 170.8 MB / 187 MB, free: 0.9766 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.0018/0.0018, allocations: 102.8 kB / 226.5 MB, free: 7.863 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.0324/0.0324, allocations: 3.101 MB / 269.1 MB, free: 13.2 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003435/0.0003435, allocations: 16 kB / 319.3 MB, free: 44.53 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06489/0.06525, allocations: 39.4 MB / 358.7 MB, free: 5.109 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoise): time 0.001229/0.06652, allocations: 1.132 MB / 359.8 MB, free: 3.961 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00112/0.06765, allocations: 0.834 MB / 360.6 MB, free: 3.121 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.287e-05/0.0677, allocations: 3.938 kB / 360.6 MB, free: 3.117 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 8.822e-05/0.0678, allocations: 3.938 kB / 360.6 MB, free: 3.113 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003588/0.06816, allocations: 75.8 kB / 360.7 MB, free: 3.039 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001221/0.0683, allocations: 59.88 kB / 360.8 MB, free: 2.98 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 7.334e-05/0.06838, allocations: 55.84 kB / 360.8 MB, free: 2.926 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.891e-05/0.06844, allocations: 16.16 kB / 360.8 MB, free: 2.91 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.428e-05/0.0685, allocations: 27.84 kB / 360.9 MB, free: 2.883 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.758e-05/0.06854, allocations: 27.86 kB / 360.9 MB, free: 2.855 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.456e-05/0.06856, allocations: 7.938 kB / 360.9 MB, free: 2.848 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000209/0.06878, allocations: 135.8 kB / 361 MB, free: 2.715 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.725e-05/0.06883, allocations: 11.98 kB / 361.1 MB, free: 2.703 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 4.391e-05/0.06888, allocations: 57.5 kB / 361.1 MB, free: 2.641 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002025/0.06909, allocations: 167.8 kB / 361.3 MB, free: 2.477 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.0691, allocations: 0 / 361.3 MB, free: 2.477 MB / 234.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.06911, allocations: 3.938 kB / 361.3 MB, free: 2.473 MB / 234.7 MB Notification: Performance of Transformations before backend: time 3.467e-06/0.06911, allocations: 0 / 361.3 MB, free: 2.473 MB / 234.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.0004231/0.06954, allocations: 387.3 kB / 361.7 MB, free: 2.047 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.06958, allocations: 12.02 kB / 361.7 MB, free: 2.035 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001687/0.06976, allocations: 24.83 kB / 361.7 MB, free: 2.012 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001029/0.06987, allocations: 180.2 kB / 361.9 MB, free: 1.797 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/0.0699, allocations: 4.375 kB / 361.9 MB, free: 1.793 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.42e-05/0.06992, allocations: 4.359 kB / 361.9 MB, free: 1.789 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.07006, allocations: 83.33 kB / 362 MB, free: 1.695 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.07008, allocations: 3.938 kB / 362 MB, free: 1.691 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.0701, allocations: 8 kB / 362 MB, free: 1.684 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.07011, allocations: 3.938 kB / 362 MB, free: 1.68 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.581e-05/0.07021, allocations: 31.97 kB / 362 MB, free: 1.648 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001528/0.07037, allocations: 190.4 kB / 362.2 MB, free: 1.41 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001696/0.07055, allocations: 101.1 kB / 362.3 MB, free: 1.293 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.214e-05/0.07062, allocations: 33.77 kB / 362.3 MB, free: 1.254 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.11e-05/0.07064, allocations: 3.938 kB / 362.3 MB, free: 1.25 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001925/0.07084, allocations: 105 kB / 362.4 MB, free: 1.129 MB / 234.7 MB Notification: Performance of pre-optimization done (n=9): time 1.382e-06/0.07085, allocations: 4 kB / 362.4 MB, free: 1.125 MB / 234.7 MB Notification: Performance of matching and sorting (n=9): time 0.000322/0.07118, allocations: 145.7 kB / 362.6 MB, free: 0.9766 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.757e-05/0.07123, allocations: 93.05 kB / 362.7 MB, free: 0.8672 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.391e-05/0.07132, allocations: 134.1 kB / 362.8 MB, free: 0.7227 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/0.07134, allocations: 41.75 kB / 362.8 MB, free: 0.6758 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.778e-05/0.07138, allocations: 92.14 kB / 362.9 MB, free: 0.582 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.73e-05/0.07141, allocations: 27.67 kB / 363 MB, free: 0.5547 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.202e-06/0.07142, allocations: 0 / 363 MB, free: 0.5547 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 5.106e-05/0.07148, allocations: 322.8 kB / 363.3 MB, free: 236 kB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.219e-05/0.07157, allocations: 47.98 kB / 363.3 MB, free: 188 kB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.932e-05/0.07165, allocations: 65.69 kB / 363.4 MB, free: 116 kB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001503/0.07181, allocations: 109.6 kB / 363.5 MB, free: 0 / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.07185, allocations: 0 / 363.5 MB, free: 0 / 234.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002918/0.07215, allocations: 161.4 kB / 363.6 MB, free: 15.84 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.07217, allocations: 4 kB / 363.7 MB, free: 15.83 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.07218, allocations: 4 kB / 363.7 MB, free: 15.83 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.0722, allocations: 7.969 kB / 363.7 MB, free: 15.82 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.014e-05/0.0723, allocations: 19.92 kB / 363.7 MB, free: 15.8 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.07231, allocations: 0 / 363.7 MB, free: 15.8 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.146e-05/0.07236, allocations: 4 kB / 363.7 MB, free: 15.8 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.919e-06/0.07238, allocations: 4 kB / 363.7 MB, free: 15.79 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001065/0.07249, allocations: 135.7 kB / 363.8 MB, free: 15.65 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.509e-05/0.07252, allocations: 11.91 kB / 363.8 MB, free: 15.64 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.385e-05/0.07255, allocations: 12.7 kB / 363.8 MB, free: 15.62 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.07255, allocations: 0 / 363.8 MB, free: 15.62 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.07256, allocations: 0 / 363.8 MB, free: 15.62 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.07257, allocations: 4 kB / 363.9 MB, free: 15.62 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001474/0.07272, allocations: 185.5 kB / 364 MB, free: 15.39 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.07273, allocations: 0 / 364 MB, free: 15.39 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.083e-05/0.07277, allocations: 8 kB / 364 MB, free: 15.38 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.07278, allocations: 0 / 364 MB, free: 15.38 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.0728, allocations: 7.984 kB / 364 MB, free: 15.38 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.0728, allocations: 3.938 kB / 364.1 MB, free: 15.37 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.07281, allocations: 0 / 364.1 MB, free: 15.37 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002323/0.07305, allocations: 157.8 kB / 364.2 MB, free: 15.2 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.338e-05/0.0731, allocations: 89.02 kB / 364.3 MB, free: 15.09 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.939e-05/0.07313, allocations: 4 kB / 364.3 MB, free: 15.09 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.037e-05/0.07317, allocations: 7.984 kB / 364.3 MB, free: 15.08 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.262e-05/0.07321, allocations: 3.938 kB / 364.3 MB, free: 15.07 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.887e-06/0.07323, allocations: 7.984 kB / 364.3 MB, free: 15.07 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.134e-05/0.0733, allocations: 107.1 kB / 364.4 MB, free: 14.96 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.07331, allocations: 0 / 364.4 MB, free: 14.96 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000229/0.07354, allocations: 36 kB / 364.5 MB, free: 14.93 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.0003338/0.07389, allocations: 184.6 kB / 364.6 MB, free: 14.75 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000236/0.07413, allocations: 95.89 kB / 364.7 MB, free: 14.66 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.07415, allocations: 4 kB / 364.7 MB, free: 14.65 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 8.364e-05/0.07424, allocations: 35.98 kB / 364.8 MB, free: 14.62 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001543/0.0744, allocations: 11.88 kB / 364.8 MB, free: 14.61 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003695/0.07478, allocations: 190.2 kB / 365 MB, free: 14.39 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000261/0.07505, allocations: 0.6926 MB / 365.7 MB, free: 13.68 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.12e-05/0.0751, allocations: 12.2 kB / 365.7 MB, free: 13.66 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.418e-05/0.07513, allocations: 15.44 kB / 365.7 MB, free: 13.65 MB / 250.7 MB Notification: Performance of SimCode: time 2.31e-07/0.07513, allocations: 0 / 365.7 MB, free: 13.65 MB / 250.7 MB Notification: Performance of Templates: time 0.003945/0.07908, allocations: 1.553 MB / 367.2 MB, free: 12.1 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