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.001528/0.001528, allocations: 168.1 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.178/1.178, allocations: 170.5 MB / 186.7 MB, free: 1.094 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.001461/0.001461, allocations: 110.9 kB / 226 MB, free: 10.29 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.01955/0.01955, allocations: 3.103 MB / 268.3 MB, free: 15.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003739/0.0003739, allocations: 12 kB / 318.1 MB, free: 63.29 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06981/0.0702, allocations: 39.13 MB / 357.3 MB, free: 24.29 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions): time 0.001505/0.07176, allocations: 1.266 MB / 358.5 MB, free: 23.01 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002049/0.07383, allocations: 1.524 MB / 360 MB, free: 21.47 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.428e-05/0.0739, allocations: 0 / 360 MB, free: 21.47 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001157/0.07403, allocations: 3.938 kB / 360 MB, free: 21.47 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004148/0.07445, allocations: 87.66 kB / 360.1 MB, free: 21.38 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000469/0.07493, allocations: 275.3 kB / 360.4 MB, free: 21.11 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001164/0.07506, allocations: 127.6 kB / 360.5 MB, free: 20.99 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.821e-05/0.07512, allocations: 21.05 kB / 360.5 MB, free: 20.97 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.795e-05/0.07523, allocations: 63.69 kB / 360.6 MB, free: 20.91 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.943e-05/0.0753, allocations: 55.75 kB / 360.7 MB, free: 20.85 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.954e-05/0.07532, allocations: 8 kB / 360.7 MB, free: 20.84 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005296/0.07586, allocations: 483 kB / 361.1 MB, free: 20.37 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.871e-05/0.07592, allocations: 35.78 kB / 361.2 MB, free: 20.34 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.936e-05/0.07598, allocations: 51.66 kB / 361.2 MB, free: 20.29 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004437/0.07643, allocations: 427.1 kB / 361.6 MB, free: 19.87 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.07644, allocations: 3.984 kB / 361.6 MB, free: 19.86 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.07645, allocations: 3.938 kB / 361.7 MB, free: 19.86 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.07646, allocations: 0 / 361.7 MB, free: 19.86 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.0006164/0.07708, allocations: 0.4988 MB / 362.2 MB, free: 19.31 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.07712, allocations: 8.031 kB / 362.2 MB, free: 19.3 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002013/0.07733, allocations: 32.73 kB / 362.2 MB, free: 19.27 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/0.07747, allocations: 200.1 kB / 362.4 MB, free: 19.04 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.251e-05/0.0775, allocations: 8.375 kB / 362.4 MB, free: 19.03 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.745e-05/0.07753, allocations: 8.359 kB / 362.4 MB, free: 19.02 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000245/0.07778, allocations: 152.8 kB / 362.6 MB, free: 18.86 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.0778, allocations: 0 / 362.6 MB, free: 18.86 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.07782, allocations: 4 kB / 362.6 MB, free: 18.85 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.07783, allocations: 0 / 362.6 MB, free: 18.85 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000193/0.07803, allocations: 83.88 kB / 362.6 MB, free: 18.77 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002172/0.07826, allocations: 256.9 kB / 362.9 MB, free: 18.46 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003027/0.07857, allocations: 208.9 kB / 363.1 MB, free: 18.21 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001254/0.0787, allocations: 84.33 kB / 363.2 MB, free: 18.11 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.101e-05/0.07872, allocations: 3.984 kB / 363.2 MB, free: 18.11 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000276/0.079, allocations: 186.3 kB / 363.4 MB, free: 17.9 MB / 250.7 MB Notification: Performance of pre-optimization done (n=19): time 1.222e-06/0.07901, allocations: 0 / 363.4 MB, free: 17.9 MB / 250.7 MB Notification: Performance of matching and sorting (n=19): time 0.0005643/0.07958, allocations: 293.6 kB / 363.6 MB, free: 17.61 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.14e-05/0.07964, allocations: 170.2 kB / 363.8 MB, free: 17.4 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.07978, allocations: 190.8 kB / 364 MB, free: 17.2 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.688e-05/0.07981, allocations: 45.69 kB / 364 MB, free: 17.15 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.956e-05/0.07986, allocations: 108.1 kB / 364.1 MB, free: 17.04 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.05e-05/0.07991, allocations: 51.38 kB / 364.2 MB, free: 16.99 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.526e-05/0.07995, allocations: 33.7 kB / 364.2 MB, free: 16.95 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 5.266e-05/0.08, allocations: 326.8 kB / 364.6 MB, free: 16.62 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001565/0.08017, allocations: 103.9 kB / 364.7 MB, free: 16.52 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001563/0.08033, allocations: 143.3 kB / 364.8 MB, free: 16.37 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002944/0.08063, allocations: 226.9 kB / 365 MB, free: 16.14 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.08065, allocations: 0 / 365 MB, free: 16.14 MB / 250.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000404/0.08106, allocations: 313.2 kB / 365.3 MB, free: 15.82 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.08108, allocations: 4 kB / 365.3 MB, free: 15.82 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.0811, allocations: 4 kB / 365.3 MB, free: 15.82 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.08111, allocations: 0 / 365.3 MB, free: 15.82 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001323/0.08125, allocations: 24.08 kB / 365.4 MB, free: 15.79 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.08127, allocations: 7.938 kB / 365.4 MB, free: 15.79 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.892e-05/0.08135, allocations: 27.73 kB / 365.4 MB, free: 15.76 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.496e-05/0.08137, allocations: 12.02 kB / 365.4 MB, free: 15.75 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,truncatedNormalNoise.localSeed,truncatedNormalNoise.r_raw,$PRE.truncatedNormalNoise.r_raw,truncatedNormalNoise.r,$PRE.truncatedNormalNoise.r,truncatedNormalNoise.state[4],$PRE.truncatedNormalNoise.state[4],truncatedNormalNoise.state[3],$PRE.truncatedNormalNoise.state[3],truncatedNormalNoise.state[2],$PRE.truncatedNormalNoise.state[2],truncatedNormalNoise.state[1],$PRE.truncatedNormalNoise.state[1],$whenCondition1,uniformNoise.localSeed,uniformNoise.r_raw,$PRE.uniformNoise.r_raw,uniformNoise.r,$PRE.uniformNoise.r,uniformNoise.state[4],$PRE.uniformNoise.state[4],uniformNoise.state[3],$PRE.uniformNoise.state[3],uniformNoise.state[2],$PRE.uniformNoise.state[2],uniformNoise.state[1],$PRE.uniformNoise.state[1]) * 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.0001016/0.08148, allocations: 146.1 kB / 365.5 MB, free: 15.59 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.77e-05/0.08152, allocations: 23.69 kB / 365.6 MB, free: 15.57 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.085e-05/0.08155, allocations: 17.39 kB / 365.6 MB, free: 15.56 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.08156, allocations: 0 / 365.6 MB, free: 15.56 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.08157, allocations: 4 kB / 365.6 MB, free: 15.55 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.08158, allocations: 0 / 365.6 MB, free: 15.55 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001491/0.08173, allocations: 217.6 kB / 365.8 MB, free: 15.29 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.08174, allocations: 15.88 kB / 365.8 MB, free: 15.28 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.531e-05/0.0818, allocations: 8 kB / 365.8 MB, free: 15.27 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.08181, allocations: 8 kB / 365.8 MB, free: 15.26 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.08183, allocations: 7.984 kB / 365.8 MB, free: 15.25 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.08184, allocations: 0 / 365.8 MB, free: 15.25 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.08185, allocations: 0 / 365.8 MB, free: 15.25 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003594/0.08221, allocations: 283.5 kB / 366.1 MB, free: 14.95 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.52e-05/0.08226, allocations: 100.8 kB / 366.2 MB, free: 14.83 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.957e-05/0.08229, allocations: 11.98 kB / 366.2 MB, free: 14.82 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.426e-05/0.08237, allocations: 19.98 kB / 366.2 MB, free: 14.8 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.331e-05/0.08243, allocations: 11.92 kB / 366.3 MB, free: 14.79 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.08245, allocations: 8 kB / 366.3 MB, free: 14.78 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.67e-05/0.08253, allocations: 139.2 kB / 366.4 MB, free: 14.64 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.08254, allocations: 0 / 366.4 MB, free: 14.64 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003488/0.08289, allocations: 128 kB / 366.5 MB, free: 14.52 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.0005456/0.08344, allocations: 303.3 kB / 366.8 MB, free: 14.22 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003633/0.08381, allocations: 199.8 kB / 367 MB, free: 14.02 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.08383, allocations: 4 kB / 367 MB, free: 14.02 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000147/0.08398, allocations: 76.16 kB / 367.1 MB, free: 13.95 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001943/0.08418, allocations: 23.92 kB / 367.1 MB, free: 13.92 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004469/0.08464, allocations: 328.6 kB / 367.4 MB, free: 13.56 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001559/0.0848, allocations: 0.7128 MB / 368.1 MB, free: 12.82 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.914e-05/0.08487, allocations: 29.86 kB / 368.2 MB, free: 12.79 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.672e-05/0.08491, allocations: 15.44 kB / 368.2 MB, free: 12.78 MB / 250.7 MB Notification: Performance of SimCode: time 2.31e-07/0.08492, allocations: 0 / 368.2 MB, free: 12.78 MB / 250.7 MB Notification: Performance of Templates: time 0.006045/0.09097, allocations: 3.571 MB / 371.8 MB, free: 9.215 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