Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoiseProperties.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.UniformNoiseProperties,tolerance=1e-09,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoiseProperties") translateModel(Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoiseProperties,tolerance=1e-09,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoiseProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001335/0.001335, allocations: 174.7 kB / 15.45 MB, free: 6.168 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.201/1.201, allocations: 170.8 MB / 187 MB, free: 1.004 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.001455/0.001455, allocations: 106.1 kB / 226.5 MB, free: 9.98 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.000329/0.0003293, allocations: 12 kB / 319.3 MB, free: 62.88 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06035/0.0607, allocations: 39.39 MB / 358.7 MB, free: 23.59 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoiseProperties): time 0.001603/0.06233, allocations: 1.536 MB / 360.2 MB, free: 22.03 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001423/0.06378, allocations: 0.9935 MB / 361.2 MB, free: 21.03 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001284/0.06393, allocations: 4 kB / 361.2 MB, free: 21.03 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.642e-05/0.06403, allocations: 11.86 kB / 361.2 MB, free: 21.02 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004362/0.06448, allocations: 83.66 kB / 361.3 MB, free: 20.93 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003108/0.06481, allocations: 115.8 kB / 361.4 MB, free: 20.82 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001911/0.06501, allocations: 199.5 kB / 361.6 MB, free: 20.62 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000132/0.06515, allocations: 68.48 kB / 361.7 MB, free: 20.56 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001074/0.06527, allocations: 75.62 kB / 361.7 MB, free: 20.48 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.06537, allocations: 95.58 kB / 361.8 MB, free: 20.39 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.78e-05/0.06541, allocations: 8 kB / 361.8 MB, free: 20.38 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002397/0.06566, allocations: 143.7 kB / 362 MB, free: 20.24 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.49e-05/0.06571, allocations: 43.83 kB / 362 MB, free: 20.2 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.474e-05/0.06579, allocations: 113.2 kB / 362.1 MB, free: 20.08 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002764/0.06608, allocations: 291.1 kB / 362.4 MB, free: 19.8 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.06609, allocations: 0 / 362.4 MB, free: 19.8 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.0661, allocations: 0 / 362.4 MB, free: 19.8 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.381e-06/0.06611, allocations: 0 / 362.4 MB, free: 19.8 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0009055/0.06702, allocations: 0.5467 MB / 363 MB, free: 19.2 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.664e-05/0.06706, allocations: 16.03 kB / 363 MB, free: 19.18 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001854/0.06725, allocations: 36.64 kB / 363 MB, free: 19.15 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000182/0.06744, allocations: 235.9 kB / 363.2 MB, free: 18.88 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.599e-05/0.06747, allocations: 16.66 kB / 363.3 MB, free: 18.86 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.407e-05/0.06751, allocations: 24.34 kB / 363.3 MB, free: 18.84 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004262/0.06794, allocations: 248.4 kB / 363.5 MB, free: 18.59 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.06796, allocations: 0 / 363.5 MB, free: 18.59 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.647e-05/0.06799, allocations: 4 kB / 363.5 MB, free: 18.58 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.068, allocations: 4 kB / 363.5 MB, free: 18.58 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004066/0.06841, allocations: 183.8 kB / 363.7 MB, free: 18.4 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007736/0.06919, allocations: 0.6485 MB / 364.4 MB, free: 17.7 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009429/0.07015, allocations: 400 kB / 364.8 MB, free: 17.29 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002788/0.07044, allocations: 141.6 kB / 364.9 MB, free: 17.14 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.593e-05/0.07046, allocations: 8 kB / 364.9 MB, free: 17.14 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003547/0.07083, allocations: 220.2 kB / 365.1 MB, free: 16.91 MB / 250.7 MB Notification: Performance of pre-optimization done (n=23): time 4.268e-06/0.07088, allocations: 0 / 365.1 MB, free: 16.91 MB / 250.7 MB Notification: Performance of matching and sorting (n=23): time 0.0009409/0.07183, allocations: 432.3 kB / 365.5 MB, free: 16.48 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.07188, allocations: 89.09 kB / 365.6 MB, free: 16.38 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001529/0.07204, allocations: 207.8 kB / 365.8 MB, free: 16.16 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.696e-05/0.07207, allocations: 37.7 kB / 365.9 MB, free: 16.12 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.895e-05/0.07213, allocations: 128.4 kB / 366 MB, free: 15.99 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.373e-05/0.07218, allocations: 75.03 kB / 366.1 MB, free: 15.91 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.47e-05/0.0722, allocations: 4 kB / 366.1 MB, free: 15.91 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 5.355e-05/0.07226, allocations: 334.8 kB / 366.4 MB, free: 15.57 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002987/0.07257, allocations: 143.9 kB / 366.5 MB, free: 15.43 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002997/0.07288, allocations: 173.9 kB / 366.7 MB, free: 15.26 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005661/0.07345, allocations: 305.9 kB / 367 MB, free: 14.95 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.07346, allocations: 0 / 367 MB, free: 14.95 MB / 250.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006886/0.07416, allocations: 406.1 kB / 367.4 MB, free: 14.55 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/0.07418, allocations: 7.938 kB / 367.4 MB, free: 14.54 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.07419, allocations: 4 kB / 367.4 MB, free: 14.54 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.757e-06/0.0742, allocations: 0 / 367.4 MB, free: 14.54 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002713/0.07448, allocations: 75.89 kB / 367.5 MB, free: 14.46 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.07449, allocations: 4 kB / 367.5 MB, free: 14.46 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001626/0.07466, allocations: 47.72 kB / 367.5 MB, free: 14.41 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.064e-05/0.07469, allocations: 8 kB / 367.5 MB, free: 14.41 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,noise.localSeed,$PRE.noise.state[1],noise.state[1],$PRE.noise.state[2],noise.state[2],$PRE.noise.state[3],noise.state[3],$PRE.noise.state[4],noise.state[4],$PRE.noise.r,noise.r,$PRE.noise.r_raw,noise.r_raw) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 34 * 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.000102/0.0748, allocations: 156.7 kB / 367.7 MB, free: 14.25 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.23e-05/0.07486, allocations: 19.75 kB / 367.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.221e-05/0.07492, allocations: 25.86 kB / 367.7 MB, free: 14.2 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.07493, allocations: 4 kB / 367.7 MB, free: 14.2 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.07493, allocations: 0 / 367.7 MB, free: 14.2 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.07494, allocations: 3.938 kB / 367.8 MB, free: 14.2 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009785/0.07593, allocations: 0.6738 MB / 368.4 MB, free: 13.46 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.07594, allocations: 4 kB / 368.4 MB, free: 13.46 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002414/0.07619, allocations: 59.89 kB / 368.5 MB, free: 13.4 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.0762, allocations: 3.938 kB / 368.5 MB, free: 13.4 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.232e-05/0.07623, allocations: 11.97 kB / 368.5 MB, free: 13.39 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.07624, allocations: 3.938 kB / 368.5 MB, free: 13.38 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.07624, allocations: 0 / 368.5 MB, free: 13.38 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009285/0.07718, allocations: 0.5472 MB / 369.1 MB, free: 12.82 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.775e-05/0.07723, allocations: 104.8 kB / 369.2 MB, free: 12.7 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.735e-05/0.07727, allocations: 12 kB / 369.2 MB, free: 12.68 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001875/0.07746, allocations: 27.97 kB / 369.2 MB, free: 12.66 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.36e-05/0.07751, allocations: 15.97 kB / 369.2 MB, free: 12.64 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-05/0.07754, allocations: 8 kB / 369.2 MB, free: 12.63 MB / 250.7 MB Notification: Performance of sorting global known variables: time 9.844e-05/0.07764, allocations: 149.5 kB / 369.4 MB, free: 12.49 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.07765, allocations: 0 / 369.4 MB, free: 12.49 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003338/0.07798, allocations: 79.89 kB / 369.4 MB, free: 12.41 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (mean.mu,variance.mu,variance.var,standardDeviation.variance.mu,standardDeviation.variance.var) * Number of discrete variables: 8 (noise.localSeed,$whenCondition1,noise.state[1],noise.state[2],noise.state[3],noise.state[4],noise.r,noise.r_raw) * Number of discrete states: 4 (noise.state[1],noise.state[2],noise.state[3],noise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 16 * 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.0002712/0.07826, allocations: 169 kB / 369.6 MB, free: 12.25 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0006755/0.07895, allocations: 323.4 kB / 369.9 MB, free: 11.93 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.07896, allocations: 0 / 369.9 MB, free: 11.93 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002904/0.07926, allocations: 142.6 kB / 370.1 MB, free: 11.79 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002975/0.07956, allocations: 31.53 kB / 370.1 MB, free: 11.77 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007347/0.08031, allocations: 0.5352 MB / 370.6 MB, free: 11.2 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001482/0.08047, allocations: 0.7398 MB / 371.4 MB, free: 10.43 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001186/0.0806, allocations: 33.94 kB / 371.4 MB, free: 10.4 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.416e-05/0.08068, allocations: 23.44 kB / 371.4 MB, free: 10.38 MB / 250.7 MB Notification: Performance of SimCode: time 2.41e-07/0.08068, allocations: 0 / 371.4 MB, free: 10.38 MB / 250.7 MB Notification: Performance of Templates: time 0.005205/0.08589, allocations: 2.991 MB / 374.4 MB, free: 7.395 MB / 250.7 MB make -j1 -f Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoiseProperties.makefile make -j1 -f Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoiseProperties.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_UniformNoiseProperties -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.UniformNoiseProperties.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoiseProperties.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_UniformNoiseProperties -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.UniformNoiseProperties_functions.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoiseProperties_functions.c In file included from Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoiseProperties_functions.c:7: In file included from ./Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoiseProperties_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.UniformNoiseProperties_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.UniformNoiseProperties_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.UniformNoiseProperties_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_UniformNoiseProperties -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.UniformNoiseProperties_records.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoiseProperties_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_UniformNoiseProperties -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.UniformNoiseProperties_01exo.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoiseProperties_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_UniformNoiseProperties -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.UniformNoiseProperties_02nls.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoiseProperties_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_UniformNoiseProperties -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.UniformNoiseProperties_03lsy.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoiseProperties_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_UniformNoiseProperties -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.UniformNoiseProperties_04set.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoiseProperties_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_UniformNoiseProperties -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.UniformNoiseProperties_05evt.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoiseProperties_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_UniformNoiseProperties -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.UniformNoiseProperties_06inz.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoiseProperties_06inz.c Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoiseProperties_06inz.c:127:53: 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.Blocks.Examples.NoiseExamples.UniformNoiseProperties_06inz.c:127:53: 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.Blocks.Examples.NoiseExamples.UniformNoiseProperties_06inz.c:127:75: error: use of undeclared identifier 'stateSize' integer_array_create(&tmp1, ((modelica_integer*)&(state)), 1, (_index_t)stateSize); ^ 3 errors generated. make: *** [: Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoiseProperties_06inz.o] Error 1