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.001015/0.001015, allocations: 171.2 kB / 15.41 MB, free: 6.145 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.286/1.286, allocations: 170.5 MB / 186.7 MB, free: 1.07 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.001577/0.001577, allocations: 104.2 kB / 226 MB, free: 10.3 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.01927/0.01927, allocations: 3.115 MB / 268.3 MB, free: 15.9 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003553/0.0003553, allocations: 8 kB / 318.1 MB, free: 63.3 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05793/0.0583, allocations: 39.13 MB / 357.3 MB, free: 24.3 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoiseProperties): time 0.001789/0.06014, allocations: 1.556 MB / 358.8 MB, free: 22.72 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001574/0.06175, allocations: 1.017 MB / 359.8 MB, free: 21.7 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001562/0.06193, allocations: 4 kB / 359.8 MB, free: 21.7 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001286/0.06207, allocations: 15.8 kB / 359.8 MB, free: 21.68 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004317/0.06251, allocations: 83.72 kB / 359.9 MB, free: 21.6 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002784/0.0628, allocations: 107.8 kB / 360 MB, free: 21.49 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001858/0.063, allocations: 207.5 kB / 360.2 MB, free: 21.29 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001505/0.06316, allocations: 68.47 kB / 360.3 MB, free: 21.22 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001107/0.06328, allocations: 71.64 kB / 360.4 MB, free: 21.15 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000113/0.0634, allocations: 103.5 kB / 360.5 MB, free: 21.05 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.065e-05/0.06344, allocations: 8 kB / 360.5 MB, free: 21.04 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002496/0.06369, allocations: 143.8 kB / 360.6 MB, free: 20.9 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.895e-05/0.06375, allocations: 43.81 kB / 360.7 MB, free: 20.86 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.747e-05/0.06383, allocations: 79.47 kB / 360.7 MB, free: 20.78 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000276/0.06411, allocations: 295.1 kB / 361 MB, free: 20.49 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.06412, allocations: 4 kB / 361 MB, free: 20.49 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.06413, allocations: 4 kB / 361 MB, free: 20.48 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.06414, allocations: 0 / 361 MB, free: 20.48 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.0009583/0.06511, allocations: 0.5467 MB / 361.6 MB, free: 19.89 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.06515, allocations: 8.031 kB / 361.6 MB, free: 19.88 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001972/0.06535, allocations: 44.64 kB / 361.6 MB, free: 19.84 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002028/0.06557, allocations: 236 kB / 361.9 MB, free: 19.57 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.027e-05/0.06561, allocations: 12.66 kB / 361.9 MB, free: 19.55 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.718e-05/0.06565, allocations: 24.36 kB / 361.9 MB, free: 19.53 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004682/0.06612, allocations: 244.4 kB / 362.1 MB, free: 19.28 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.669e-06/0.06614, allocations: 0 / 362.1 MB, free: 19.28 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.857e-05/0.06617, allocations: 4 kB / 362.1 MB, free: 19.28 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.06618, allocations: 4 kB / 362.2 MB, free: 19.27 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000398/0.06658, allocations: 183.8 kB / 362.3 MB, free: 19.09 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007881/0.06738, allocations: 0.6485 MB / 363 MB, free: 18.39 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009247/0.06832, allocations: 400.2 kB / 363.4 MB, free: 17.98 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002609/0.06859, allocations: 145.6 kB / 363.5 MB, free: 17.84 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.285e-05/0.06862, allocations: 11.88 kB / 363.5 MB, free: 17.82 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003502/0.06898, allocations: 208.8 kB / 363.7 MB, free: 17.6 MB / 250.7 MB Notification: Performance of pre-optimization done (n=23): time 1.393e-06/0.06899, allocations: 0 / 363.7 MB, free: 17.6 MB / 250.7 MB Notification: Performance of matching and sorting (n=23): time 0.0009104/0.06991, allocations: 432.3 kB / 364.1 MB, free: 17.18 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.41e-05/0.06995, allocations: 89.11 kB / 364.2 MB, free: 17.07 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001523/0.07011, allocations: 203.8 kB / 364.4 MB, free: 16.86 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.718e-05/0.07015, allocations: 41.69 kB / 364.5 MB, free: 16.81 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.297e-05/0.07022, allocations: 132.5 kB / 364.6 MB, free: 16.68 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.299e-05/0.07027, allocations: 71 kB / 364.7 MB, free: 16.61 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.969e-05/0.07031, allocations: 37.73 kB / 364.7 MB, free: 16.57 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 5.119e-05/0.07037, allocations: 338.8 kB / 365 MB, free: 16.23 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002872/0.07066, allocations: 143.9 kB / 365.2 MB, free: 16.09 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002892/0.07096, allocations: 173.8 kB / 365.4 MB, free: 15.91 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005446/0.07152, allocations: 305.9 kB / 365.7 MB, free: 15.61 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.07153, allocations: 0 / 365.7 MB, free: 15.61 MB / 250.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.000669/0.0722, allocations: 406.1 kB / 366 MB, free: 15.2 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.07223, allocations: 7.938 kB / 366.1 MB, free: 15.2 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.07225, allocations: 0 / 366.1 MB, free: 15.2 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.07227, allocations: 4 kB / 366.1 MB, free: 15.19 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002618/0.07253, allocations: 67.89 kB / 366.1 MB, free: 15.12 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.07255, allocations: 4 kB / 366.1 MB, free: 15.12 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000158/0.07272, allocations: 47.72 kB / 366.2 MB, free: 15.07 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.227e-05/0.07275, allocations: 12 kB / 366.2 MB, free: 15.06 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.r_raw,$PRE.noise.r_raw,noise.r,$PRE.noise.r,noise.state[4],$PRE.noise.state[4],noise.state[3],$PRE.noise.state[3],noise.state[2],$PRE.noise.state[2],noise.state[1],$PRE.noise.state[1],noise.localSeed) * 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.0001233/0.07288, allocations: 148.7 kB / 366.3 MB, free: 14.91 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.448e-05/0.07292, allocations: 23.75 kB / 366.4 MB, free: 14.89 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.171e-05/0.07299, allocations: 25.86 kB / 366.4 MB, free: 14.86 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.073, allocations: 4 kB / 366.4 MB, free: 14.86 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.07301, allocations: 0 / 366.4 MB, free: 14.86 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.07302, allocations: 0 / 366.4 MB, free: 14.86 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001023/0.07404, allocations: 0.6777 MB / 367.1 MB, free: 14.12 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.07406, allocations: 7.938 kB / 367.1 MB, free: 14.12 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002232/0.07429, allocations: 51.95 kB / 367.1 MB, free: 14.07 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-06/0.0743, allocations: 7.938 kB / 367.1 MB, free: 14.06 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.259e-05/0.07433, allocations: 7.984 kB / 367.1 MB, free: 14.05 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.07434, allocations: 4 kB / 367.1 MB, free: 14.05 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.07435, allocations: 3.938 kB / 367.1 MB, free: 14.04 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009183/0.07527, allocations: 0.5433 MB / 367.7 MB, free: 13.48 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.747e-05/0.07532, allocations: 96.84 kB / 367.8 MB, free: 13.37 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.227e-05/0.07537, allocations: 16.12 kB / 367.8 MB, free: 13.35 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001803/0.07556, allocations: 31.97 kB / 367.8 MB, free: 13.32 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.957e-05/0.07562, allocations: 15.98 kB / 367.8 MB, free: 13.3 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.518e-05/0.07564, allocations: 7.984 kB / 367.9 MB, free: 13.3 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001014/0.07574, allocations: 149.5 kB / 368 MB, free: 13.15 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.07575, allocations: 0 / 368 MB, free: 13.15 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003415/0.0761, allocations: 83.89 kB / 368.1 MB, free: 13.07 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.0003277/0.07643, allocations: 164.7 kB / 368.2 MB, free: 12.91 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0006776/0.07712, allocations: 319.5 kB / 368.6 MB, free: 12.59 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.07714, allocations: 4.062 kB / 368.6 MB, free: 12.59 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002945/0.07744, allocations: 139.8 kB / 368.7 MB, free: 12.45 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003186/0.07776, allocations: 35.48 kB / 368.7 MB, free: 12.42 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008162/0.07859, allocations: 0.5152 MB / 369.2 MB, free: 11.88 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001487/0.07875, allocations: 0.7398 MB / 370 MB, free: 11.11 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001241/0.07889, allocations: 29.92 kB / 370 MB, free: 11.09 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.919e-05/0.07896, allocations: 27.42 kB / 370 MB, free: 11.06 MB / 250.7 MB Notification: Performance of SimCode: time 2.9e-07/0.07897, allocations: 4 kB / 370 MB, free: 11.05 MB / 250.7 MB Notification: Performance of Templates: time 0.005365/0.08434, allocations: 2.986 MB / 373 MB, free: 8.078 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