Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.NormalNoiseProperties.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.NormalNoiseProperties,tolerance=1e-09,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.NormalNoiseProperties") translateModel(Modelica_Noise.Blocks.Examples.NoiseExamples.NormalNoiseProperties,tolerance=1e-09,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.NormalNoiseProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001127/0.001127, allocations: 172.9 kB / 15.44 MB, free: 6.23 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.085/1.085, allocations: 170.8 MB / 187 MB, free: 1.012 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.001519/0.001519, allocations: 102.8 kB / 226.5 MB, free: 9.988 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.021/0.021, allocations: 3.123 MB / 269.1 MB, free: 15.31 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004761/0.0004762, allocations: 8 kB / 319.3 MB, free: 62.88 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06136/0.06186, allocations: 39.4 MB / 358.7 MB, free: 23.58 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica_Noise.Blocks.Examples.NoiseExamples.NormalNoiseProperties): time 0.001597/0.0635, allocations: 1.529 MB / 360.2 MB, free: 22.04 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001635/0.06515, allocations: 1.282 MB / 361.5 MB, free: 20.75 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.154e-05/0.06525, allocations: 8 kB / 361.5 MB, free: 20.74 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.718e-05/0.06536, allocations: 11.86 kB / 361.5 MB, free: 20.73 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000376/0.06574, allocations: 79.72 kB / 361.6 MB, free: 20.65 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003769/0.06613, allocations: 207.5 kB / 361.8 MB, free: 20.45 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001542/0.0663, allocations: 199.6 kB / 362 MB, free: 20.25 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001453/0.06645, allocations: 72.41 kB / 362 MB, free: 20.18 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.244e-05/0.06654, allocations: 75.69 kB / 362.1 MB, free: 20.11 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.027e-05/0.06664, allocations: 87.58 kB / 362.2 MB, free: 20.02 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.776e-05/0.06667, allocations: 12 kB / 362.2 MB, free: 20.01 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004151/0.06709, allocations: 335.3 kB / 362.5 MB, free: 19.68 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.419e-05/0.06717, allocations: 35.83 kB / 362.6 MB, free: 19.64 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.061e-05/0.06725, allocations: 113.2 kB / 362.7 MB, free: 19.53 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003693/0.06762, allocations: 386.9 kB / 363.1 MB, free: 19.15 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.06764, allocations: 3.938 kB / 363.1 MB, free: 19.14 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.06764, allocations: 3.938 kB / 363.1 MB, free: 19.14 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.06765, allocations: 0 / 363.1 MB, free: 19.14 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.0009264/0.06859, allocations: 0.5623 MB / 363.6 MB, free: 18.53 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.06864, allocations: 15.97 kB / 363.7 MB, free: 18.51 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001956/0.06884, allocations: 32.64 kB / 363.7 MB, free: 18.48 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002022/0.06905, allocations: 243.9 kB / 363.9 MB, free: 18.2 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.106e-05/0.06909, allocations: 12.66 kB / 363.9 MB, free: 18.19 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.144e-05/0.06914, allocations: 20.36 kB / 364 MB, free: 18.17 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004505/0.06959, allocations: 252.4 kB / 364.2 MB, free: 17.91 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.06961, allocations: 0 / 364.2 MB, free: 17.91 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.929e-05/0.06964, allocations: 4 kB / 364.2 MB, free: 17.91 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.06965, allocations: 8 kB / 364.2 MB, free: 17.9 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004123/0.07006, allocations: 175.9 kB / 364.4 MB, free: 17.73 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008242/0.0709, allocations: 0.6523 MB / 365 MB, free: 17.02 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001018/0.07193, allocations: 401.2 kB / 365.4 MB, free: 16.61 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002772/0.07222, allocations: 141.6 kB / 365.6 MB, free: 16.47 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.929e-05/0.07225, allocations: 8 kB / 365.6 MB, free: 16.46 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003588/0.07261, allocations: 212.3 kB / 365.8 MB, free: 16.24 MB / 250.7 MB Notification: Performance of pre-optimization done (n=23): time 1.393e-06/0.07262, allocations: 0 / 365.8 MB, free: 16.24 MB / 250.7 MB Notification: Performance of matching and sorting (n=23): time 0.0009505/0.07358, allocations: 436.3 kB / 366.2 MB, free: 15.81 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.191e-05/0.07362, allocations: 81.11 kB / 366.3 MB, free: 15.71 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/0.07378, allocations: 207.8 kB / 366.5 MB, free: 15.5 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.612e-05/0.07381, allocations: 37.69 kB / 366.5 MB, free: 15.45 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.067e-05/0.07387, allocations: 136.4 kB / 366.7 MB, free: 15.32 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.073e-05/0.07391, allocations: 74.98 kB / 366.7 MB, free: 15.24 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.642e-05/0.07394, allocations: 8 kB / 366.7 MB, free: 15.23 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 5.037e-05/0.07399, allocations: 330.8 kB / 367.1 MB, free: 14.9 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002981/0.0743, allocations: 147.9 kB / 367.2 MB, free: 14.76 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000301/0.07461, allocations: 173.9 kB / 367.4 MB, free: 14.58 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005875/0.0752, allocations: 302 kB / 367.7 MB, free: 14.28 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.07522, allocations: 0 / 367.7 MB, free: 14.28 MB / 250.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006831/0.07591, allocations: 402.1 kB / 368.1 MB, free: 13.88 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.07593, allocations: 10.75 kB / 368.1 MB, free: 13.88 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.07594, allocations: 0 / 368.1 MB, free: 13.88 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.07596, allocations: 4 kB / 368.1 MB, free: 13.87 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002738/0.07624, allocations: 83.75 kB / 368.2 MB, free: 13.79 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.07626, allocations: 4 kB / 368.2 MB, free: 13.79 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001522/0.07641, allocations: 39.73 kB / 368.2 MB, free: 13.75 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.414e-05/0.07645, allocations: 15.98 kB / 368.2 MB, free: 13.73 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.0001142/0.07657, allocations: 140.8 kB / 368.4 MB, free: 13.59 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.717e-05/0.0766, allocations: 27.73 kB / 368.4 MB, free: 13.56 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.265e-05/0.07666, allocations: 21.88 kB / 368.4 MB, free: 13.54 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.07667, allocations: 0 / 368.4 MB, free: 13.54 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.07668, allocations: 4 kB / 368.4 MB, free: 13.54 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.07668, allocations: 3.984 kB / 368.4 MB, free: 13.53 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009548/0.07764, allocations: 0.6854 MB / 369.1 MB, free: 12.79 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.07766, allocations: 0 / 369.1 MB, free: 12.79 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002336/0.0779, allocations: 51.95 kB / 369.2 MB, free: 12.74 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.07791, allocations: 3.938 kB / 369.2 MB, free: 12.73 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.203e-05/0.07794, allocations: 8 kB / 369.2 MB, free: 12.73 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.07794, allocations: 0 / 369.2 MB, free: 12.73 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.07795, allocations: 8 kB / 369.2 MB, free: 12.72 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009156/0.07887, allocations: 0.5472 MB / 369.7 MB, free: 12.15 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.44e-05/0.07892, allocations: 96.84 kB / 369.8 MB, free: 12.04 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.65e-05/0.07896, allocations: 12 kB / 369.8 MB, free: 12.03 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001948/0.07916, allocations: 36.09 kB / 369.9 MB, free: 11.99 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.78e-05/0.07922, allocations: 11.98 kB / 369.9 MB, free: 11.98 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.656e-05/0.07924, allocations: 11.98 kB / 369.9 MB, free: 11.97 MB / 250.7 MB Notification: Performance of sorting global known variables: time 9.543e-05/0.07934, allocations: 145.5 kB / 370 MB, free: 11.83 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.07935, allocations: 4 kB / 370 MB, free: 11.82 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003777/0.07973, allocations: 107.9 kB / 370.1 MB, free: 11.72 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.000426/0.08017, allocations: 241.9 kB / 370.4 MB, free: 11.48 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0006688/0.08084, allocations: 323.5 kB / 370.7 MB, free: 11.16 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.08086, allocations: 0 / 370.7 MB, free: 11.16 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002943/0.08116, allocations: 135.9 kB / 370.8 MB, free: 11.03 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002971/0.08147, allocations: 27.92 kB / 370.8 MB, free: 11 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007264/0.0822, allocations: 0.5391 MB / 371.4 MB, free: 10.43 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001495/0.08236, allocations: 0.7398 MB / 372.1 MB, free: 9.664 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001191/0.08249, allocations: 33.92 kB / 372.2 MB, free: 9.633 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.541e-05/0.08257, allocations: 27.36 kB / 372.2 MB, free: 9.605 MB / 250.7 MB Notification: Performance of SimCode: time 3.81e-07/0.08258, allocations: 0 / 372.2 MB, free: 9.605 MB / 250.7 MB Notification: Performance of Templates: time 0.006049/0.08863, allocations: 3.642 MB / 375.8 MB, free: 5.98 MB / 250.7 MB make -j1 -f Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.NormalNoiseProperties.makefile make -j1 -f Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.NormalNoiseProperties.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_NormalNoiseProperties -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.NormalNoiseProperties.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.NormalNoiseProperties.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_NormalNoiseProperties -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.NormalNoiseProperties_functions.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.NormalNoiseProperties_functions.c In file included from Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.NormalNoiseProperties_functions.c:7: In file included from ./Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.NormalNoiseProperties_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.NormalNoiseProperties_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.NormalNoiseProperties_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.NormalNoiseProperties_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_NormalNoiseProperties -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.NormalNoiseProperties_records.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.NormalNoiseProperties_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_NormalNoiseProperties -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.NormalNoiseProperties_01exo.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.NormalNoiseProperties_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_NormalNoiseProperties -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.NormalNoiseProperties_02nls.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.NormalNoiseProperties_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_NormalNoiseProperties -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.NormalNoiseProperties_03lsy.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.NormalNoiseProperties_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_NormalNoiseProperties -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.NormalNoiseProperties_04set.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.NormalNoiseProperties_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_NormalNoiseProperties -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.NormalNoiseProperties_05evt.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.NormalNoiseProperties_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_NormalNoiseProperties -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.NormalNoiseProperties_06inz.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.NormalNoiseProperties_06inz.c Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.NormalNoiseProperties_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.NormalNoiseProperties_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.NormalNoiseProperties_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.NormalNoiseProperties_06inz.o] Error 1