Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions.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.Distributions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions") translateModel(Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001413/0.001413, allocations: 169.6 kB / 15.44 MB, free: 5.93 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.146/1.146, allocations: 170.8 MB / 187 MB, free: 0.8203 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.001635/0.001635, allocations: 96.47 kB / 226.5 MB, free: 9.934 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.01931/0.01931, allocations: 3.109 MB / 269.1 MB, free: 15.26 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003674/0.0003675, allocations: 12 kB / 319.3 MB, free: 62.84 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06184/0.06223, allocations: 39.4 MB / 358.7 MB, free: 23.54 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions): time 0.001214/0.06348, allocations: 1.252 MB / 359.9 MB, free: 22.27 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001778/0.06527, allocations: 1.493 MB / 361.4 MB, free: 20.77 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.244e-05/0.06533, allocations: 0 / 361.4 MB, free: 20.77 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 7.874e-05/0.06542, allocations: 7.938 kB / 361.4 MB, free: 20.76 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003378/0.06576, allocations: 83.66 kB / 361.5 MB, free: 20.68 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004368/0.06621, allocations: 279.3 kB / 361.8 MB, free: 20.41 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.748e-05/0.06632, allocations: 127.6 kB / 361.9 MB, free: 20.28 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.762e-05/0.06638, allocations: 17.06 kB / 361.9 MB, free: 20.27 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.555e-05/0.06645, allocations: 59.69 kB / 362 MB, free: 20.21 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.434e-05/0.06651, allocations: 59.69 kB / 362 MB, free: 20.15 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.966e-05/0.06654, allocations: 8 kB / 362 MB, free: 20.14 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005447/0.06709, allocations: 479 kB / 362.5 MB, free: 19.67 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.62e-05/0.06715, allocations: 35.83 kB / 362.5 MB, free: 19.64 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.392e-05/0.06721, allocations: 81.38 kB / 362.6 MB, free: 19.55 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004405/0.06765, allocations: 431.1 kB / 363 MB, free: 19.13 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.06767, allocations: 0 / 363 MB, free: 19.13 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.06767, allocations: 0 / 363 MB, free: 19.13 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.06768, allocations: 4 kB / 363 MB, free: 19.12 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006141/0.0683, allocations: 498.8 kB / 363.5 MB, free: 18.59 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.186e-05/0.06834, allocations: 8.031 kB / 363.5 MB, free: 18.58 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002117/0.06856, allocations: 36.73 kB / 363.6 MB, free: 18.55 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/0.0687, allocations: 204 kB / 363.8 MB, free: 18.31 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.14e-05/0.06873, allocations: 384 / 363.8 MB, free: 18.31 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.06875, allocations: 16.34 kB / 363.8 MB, free: 18.29 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002287/0.06899, allocations: 150 kB / 363.9 MB, free: 18.12 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.06901, allocations: 3.938 kB / 363.9 MB, free: 18.12 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.06903, allocations: 0 / 363.9 MB, free: 18.12 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.06904, allocations: 4 kB / 364 MB, free: 18.12 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001976/0.06924, allocations: 79.88 kB / 364 MB, free: 18.04 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001916/0.06944, allocations: 260.9 kB / 364.3 MB, free: 17.72 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003021/0.06975, allocations: 197 kB / 364.5 MB, free: 17.48 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001278/0.06989, allocations: 92.25 kB / 364.6 MB, free: 17.38 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.298e-06/0.06991, allocations: 4 kB / 364.6 MB, free: 17.38 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002714/0.07018, allocations: 186.3 kB / 364.8 MB, free: 17.17 MB / 250.7 MB Notification: Performance of pre-optimization done (n=19): time 1.543e-06/0.0702, allocations: 0 / 364.8 MB, free: 17.17 MB / 250.7 MB Notification: Performance of matching and sorting (n=19): time 0.0005577/0.07076, allocations: 297.7 kB / 365 MB, free: 16.87 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.292e-05/0.07083, allocations: 174.1 kB / 365.2 MB, free: 16.66 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001374/0.07098, allocations: 186.6 kB / 365.4 MB, free: 16.47 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.932e-05/0.07101, allocations: 49.88 kB / 365.4 MB, free: 16.41 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.624e-05/0.07106, allocations: 108.1 kB / 365.5 MB, free: 16.3 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.964e-05/0.0711, allocations: 55.38 kB / 365.6 MB, free: 16.25 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.919e-06/0.07112, allocations: 0 / 365.6 MB, free: 16.25 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 4.628e-05/0.07117, allocations: 326.8 kB / 365.9 MB, free: 15.92 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001654/0.07134, allocations: 103.9 kB / 366 MB, free: 15.82 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001682/0.07152, allocations: 139.3 kB / 366.2 MB, free: 15.67 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003136/0.07184, allocations: 230.9 kB / 366.4 MB, free: 15.43 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.07185, allocations: 0 / 366.4 MB, free: 15.43 MB / 250.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004418/0.0723, allocations: 308 kB / 366.7 MB, free: 15.13 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.07232, allocations: 8.094 kB / 366.7 MB, free: 15.12 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.07233, allocations: 4 kB / 366.7 MB, free: 15.12 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.07235, allocations: 0 / 366.7 MB, free: 15.12 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001355/0.07249, allocations: 27.92 kB / 366.7 MB, free: 15.09 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/0.07251, allocations: 4 kB / 366.7 MB, free: 15.09 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.552e-05/0.0726, allocations: 27.73 kB / 366.8 MB, free: 15.06 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.856e-05/0.07262, allocations: 8 kB / 366.8 MB, free: 15.05 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 29 (n,$whenCondition2,$PRE.truncatedNormalNoise.state[1],truncatedNormalNoise.state[1],$PRE.truncatedNormalNoise.state[2],truncatedNormalNoise.state[2],$PRE.truncatedNormalNoise.state[3],truncatedNormalNoise.state[3],$PRE.truncatedNormalNoise.state[4],truncatedNormalNoise.state[4],$PRE.truncatedNormalNoise.r,truncatedNormalNoise.r,$PRE.truncatedNormalNoise.r_raw,truncatedNormalNoise.r_raw,truncatedNormalNoise.localSeed,$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 (25): * Single equations (assignments): 23 * Array equations: 2 * 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.000111/0.07274, allocations: 150 kB / 366.9 MB, free: 14.89 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.424e-05/0.07277, allocations: 19.75 kB / 366.9 MB, free: 14.88 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.921e-05/0.0728, allocations: 17.39 kB / 366.9 MB, free: 14.86 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.07281, allocations: 4 kB / 367 MB, free: 14.86 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.07282, allocations: 4 kB / 367 MB, free: 14.86 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.07283, allocations: 0 / 367 MB, free: 14.86 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001511/0.07299, allocations: 217.6 kB / 367.2 MB, free: 14.59 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.073, allocations: 7.922 kB / 367.2 MB, free: 14.59 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.117e-05/0.07307, allocations: 16 kB / 367.2 MB, free: 14.57 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.07308, allocations: 3.938 kB / 367.2 MB, free: 14.57 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.0731, allocations: 7.984 kB / 367.2 MB, free: 14.56 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.0731, allocations: 0 / 367.2 MB, free: 14.56 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.07311, allocations: 4 kB / 367.2 MB, free: 14.55 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003634/0.07348, allocations: 279.5 kB / 367.5 MB, free: 14.25 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.73e-05/0.07353, allocations: 100.8 kB / 367.6 MB, free: 14.14 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.09e-05/0.07356, allocations: 11.98 kB / 367.6 MB, free: 14.12 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.747e-05/0.07365, allocations: 19.92 kB / 367.6 MB, free: 14.11 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.58e-05/0.0737, allocations: 15.98 kB / 367.6 MB, free: 14.09 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.06e-05/0.07372, allocations: 4 kB / 367.6 MB, free: 14.09 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.087e-05/0.0738, allocations: 143.2 kB / 367.8 MB, free: 13.95 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.07381, allocations: 0 / 367.8 MB, free: 13.95 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003678/0.07418, allocations: 124 kB / 367.9 MB, free: 13.82 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 17 (n,truncatedNormalNoise.localSeed,$whenCondition2,truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4],truncatedNormalNoise.r,truncatedNormalNoise.r_raw,uniformNoise.localSeed,$whenCondition1,uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4],uniformNoise.r,uniformNoise.r_raw) * Number of discrete states: 8 (uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4],truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.0005629/0.07475, allocations: 302 kB / 368.2 MB, free: 13.52 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003828/0.07514, allocations: 203.8 kB / 368.4 MB, free: 13.32 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.07516, allocations: 0 / 368.4 MB, free: 13.32 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001571/0.07532, allocations: 76.2 kB / 368.5 MB, free: 13.25 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000199/0.07553, allocations: 27.98 kB / 368.5 MB, free: 13.22 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004178/0.07595, allocations: 325.9 kB / 368.8 MB, free: 12.87 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001295/0.07609, allocations: 0.7128 MB / 369.5 MB, free: 12.12 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.191e-05/0.07616, allocations: 25.41 kB / 369.5 MB, free: 12.1 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.294e-05/0.07621, allocations: 23.42 kB / 369.6 MB, free: 12.08 MB / 250.7 MB Notification: Performance of SimCode: time 3.2e-07/0.07622, allocations: 0 / 369.6 MB, free: 12.08 MB / 250.7 MB Notification: Performance of Templates: time 0.005718/0.08194, allocations: 3.567 MB / 373.1 MB, free: 8.52 MB / 250.7 MB make -j1 -f Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions.makefile make -j1 -f Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions.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_Distributions -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.Distributions.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions.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_Distributions -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.Distributions_functions.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions_functions.c In file included from Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions_functions.c:7: In file included from ./Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions_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.Distributions_functions.c:114: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.Distributions_functions.c:199: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.Distributions_functions.c:425: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_Distributions -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.Distributions_records.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions_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_Distributions -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.Distributions_01exo.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions_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_Distributions -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.Distributions_02nls.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions_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_Distributions -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.Distributions_03lsy.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions_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_Distributions -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.Distributions_04set.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions_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_Distributions -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.Distributions_05evt.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions_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_Distributions -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.Distributions_06inz.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions_06inz.c Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions_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.Distributions_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.Distributions_06inz.c:37:75: error: use of undeclared identifier 'stateSize' integer_array_create(&tmp0, ((modelica_integer*)&(state)), 1, (_index_t)stateSize); ^ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions_06inz.c:191:53: error: use of undeclared identifier 'state'; did you mean 'static'? integer_array_create(&tmp4, ((modelica_integer*)&(state)), 1, (_index_t)stateSize); ^~~~~ static Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions_06inz.c:191:53: error: address of overloaded function 'status' does not match required type 'long' integer_array_create(&tmp4, ((modelica_integer*)&(state)), 1, (_index_t)stateSize); ^~~~~ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions_06inz.c:191:75: error: use of undeclared identifier 'stateSize' integer_array_create(&tmp4, ((modelica_integer*)&(state)), 1, (_index_t)stateSize); ^ 6 errors generated. make: *** [: Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions_06inz.o] Error 1