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.008154/0.008154, allocations: 165 kB / 15.11 MB, free: 5.559 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.12/1.12, allocations: 170.8 MB / 186.6 MB, free: 1.109 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.001582/0.001582, allocations: 105.2 kB / 226.2 MB, free: 10.09 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.02023/0.02023, allocations: 3.107 MB / 268.7 MB, free: 15.45 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003243/0.0003243, allocations: 12 kB / 318.6 MB, free: 63.25 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06154/0.06188, allocations: 39.4 MB / 358 MB, free: 23.97 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions): time 0.001305/0.06323, allocations: 1.231 MB / 359.2 MB, free: 22.73 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001671/0.06492, allocations: 1.385 MB / 360.6 MB, free: 21.33 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.757e-05/0.06499, allocations: 4 kB / 360.6 MB, free: 21.33 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.877e-05/0.06509, allocations: 11.92 kB / 360.6 MB, free: 21.32 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003859/0.06548, allocations: 83.7 kB / 360.7 MB, free: 21.23 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004333/0.06593, allocations: 263.3 kB / 361 MB, free: 20.98 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.742e-05/0.06603, allocations: 79.83 kB / 361.1 MB, free: 20.9 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.393e-05/0.0661, allocations: 17.06 kB / 361.1 MB, free: 20.88 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.148e-05/0.06619, allocations: 59.7 kB / 361.1 MB, free: 20.82 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.288e-05/0.06626, allocations: 63.73 kB / 361.2 MB, free: 20.76 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.115e-05/0.06629, allocations: 8 kB / 361.2 MB, free: 20.75 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004732/0.06677, allocations: 451.2 kB / 361.6 MB, free: 20.31 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.811e-05/0.06682, allocations: 31.89 kB / 361.7 MB, free: 20.28 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.27e-05/0.06686, allocations: 41.64 kB / 361.7 MB, free: 20.23 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003099/0.06717, allocations: 295.7 kB / 362 MB, free: 19.95 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.06719, allocations: 4 kB / 362 MB, free: 19.94 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.06719, allocations: 0 / 362 MB, free: 19.94 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.937e-06/0.0672, allocations: 0 / 362 MB, free: 19.94 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.0005957/0.0678, allocations: 494.6 kB / 362.5 MB, free: 19.41 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.904e-05/0.06784, allocations: 8.031 kB / 362.5 MB, free: 19.4 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002292/0.06808, allocations: 31.8 kB / 362.5 MB, free: 19.37 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.06821, allocations: 214.7 kB / 362.7 MB, free: 19.12 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/0.06824, allocations: 4 kB / 362.7 MB, free: 19.12 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.659e-05/0.06826, allocations: 4 kB / 362.7 MB, free: 19.11 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002352/0.0685, allocations: 144.7 kB / 362.9 MB, free: 18.95 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/0.06852, allocations: 4 kB / 362.9 MB, free: 18.95 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.734e-05/0.06855, allocations: 7.984 kB / 362.9 MB, free: 18.94 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.06856, allocations: 0 / 362.9 MB, free: 18.94 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001941/0.06876, allocations: 75.88 kB / 363 MB, free: 18.87 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002184/0.06898, allocations: 261 kB / 363.2 MB, free: 18.55 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003049/0.0693, allocations: 205 kB / 363.4 MB, free: 18.3 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.304e-05/0.06932, allocations: 0 / 363.4 MB, free: 18.3 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003053/0.06963, allocations: 183.2 kB / 363.6 MB, free: 18.1 MB / 250.7 MB Notification: Performance of pre-optimization done (n=19): time 2.023e-06/0.06964, allocations: 3.984 kB / 363.6 MB, free: 18.1 MB / 250.7 MB Notification: Performance of matching and sorting (n=19): time 0.0006018/0.07025, allocations: 452.2 kB / 364 MB, free: 17.61 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.581e-05/0.07032, allocations: 174.5 kB / 364.2 MB, free: 17.41 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/0.07046, allocations: 191.4 kB / 364.4 MB, free: 17.21 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.834e-05/0.07049, allocations: 45.69 kB / 364.5 MB, free: 17.16 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.139e-05/0.07054, allocations: 108.1 kB / 364.6 MB, free: 17.05 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4e-05/0.07059, allocations: 47.47 kB / 364.6 MB, free: 17 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.508e-06/0.0706, allocations: 4 kB / 364.6 MB, free: 17 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 4.974e-05/0.07066, allocations: 338.8 kB / 364.9 MB, free: 16.66 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001592/0.07082, allocations: 91.95 kB / 365 MB, free: 16.57 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001656/0.071, allocations: 142.5 kB / 365.2 MB, free: 16.41 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000169/0.07117, allocations: 119.9 kB / 365.3 MB, free: 16.3 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.07118, allocations: 0 / 365.3 MB, free: 16.3 MB / 250.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004029/0.07159, allocations: 292.1 kB / 365.6 MB, free: 16.01 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.07162, allocations: 4 kB / 365.6 MB, free: 16 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.07163, allocations: 0 / 365.6 MB, free: 16 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.07165, allocations: 8.094 kB / 365.6 MB, free: 16 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001415/0.0718, allocations: 35.91 kB / 365.6 MB, free: 15.96 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-06/0.07181, allocations: 11.92 kB / 365.6 MB, free: 15.95 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.48e-05/0.07191, allocations: 15.84 kB / 365.6 MB, free: 15.93 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.784e-05/0.07194, allocations: 8 kB / 365.7 MB, free: 15.93 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000108/0.07205, allocations: 153.7 kB / 365.8 MB, free: 15.77 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.597e-05/0.07209, allocations: 23.8 kB / 365.8 MB, free: 15.74 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.752e-05/0.07212, allocations: 13.41 kB / 365.8 MB, free: 15.73 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.07213, allocations: 0 / 365.8 MB, free: 15.73 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.07214, allocations: 8 kB / 365.8 MB, free: 15.73 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.07215, allocations: 0 / 365.8 MB, free: 15.73 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001459/0.0723, allocations: 225.4 kB / 366.1 MB, free: 15.46 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.07231, allocations: 4 kB / 366.1 MB, free: 15.45 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.904e-05/0.07237, allocations: 11.98 kB / 366.1 MB, free: 15.44 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.07238, allocations: 4 kB / 366.1 MB, free: 15.44 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.0724, allocations: 8 kB / 366.1 MB, free: 15.43 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.07241, allocations: 0 / 366.1 MB, free: 15.43 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.07241, allocations: 0 / 366.1 MB, free: 15.43 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003723/0.07279, allocations: 327 kB / 366.4 MB, free: 15.05 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.798e-05/0.07284, allocations: 100.8 kB / 366.5 MB, free: 14.94 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.212e-05/0.07288, allocations: 15.98 kB / 366.5 MB, free: 14.92 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.632e-05/0.07296, allocations: 8 kB / 366.5 MB, free: 14.91 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.984e-05/0.07302, allocations: 19.97 kB / 366.6 MB, free: 14.89 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.07303, allocations: 4 kB / 366.6 MB, free: 14.89 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.994e-05/0.07312, allocations: 135.2 kB / 366.7 MB, free: 14.76 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.07312, allocations: 0 / 366.7 MB, free: 14.76 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003927/0.07352, allocations: 132 kB / 366.8 MB, free: 14.63 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005682/0.0741, allocations: 308.3 kB / 367.1 MB, free: 14.32 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003731/0.07448, allocations: 199.8 kB / 367.3 MB, free: 14.12 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.07449, allocations: 0 / 367.3 MB, free: 14.12 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001495/0.07465, allocations: 84.14 kB / 367.4 MB, free: 14.04 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001459/0.0748, allocations: 12.19 kB / 367.4 MB, free: 14.03 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004271/0.07524, allocations: 306.2 kB / 367.7 MB, free: 13.7 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001247/0.07537, allocations: 0.7206 MB / 368.4 MB, free: 12.95 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.148e-05/0.07544, allocations: 21.42 kB / 368.4 MB, free: 12.93 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.885e-05/0.07549, allocations: 19.44 kB / 368.5 MB, free: 12.91 MB / 250.7 MB Notification: Performance of SimCode: time 2.5e-07/0.07549, allocations: 0 / 368.5 MB, free: 12.91 MB / 250.7 MB Notification: Performance of Templates: time 0.00581/0.08131, allocations: 3.542 MB / 372 MB, free: 9.379 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 "-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. -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 "-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. -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) { ^ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions_functions.c:544:14: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_u == 0.0)) ~~~^~~~~~ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions_functions.c:544:14: note: remove extraneous parentheses around the comparison to silence this warning if((_u == 0.0)) ~ ^ ~ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions_functions.c:544:14: note: use '=' to turn this equality comparison into an assignment if((_u == 0.0)) ^~ = 5 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers "-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. -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 "-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. -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 "-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. -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 "-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. -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 "-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. -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 "-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. -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 "-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. -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:55: error: use of undeclared identifier 'state' integer_array_create(&tmp0, ((modelica_integer*)&((&state)[calc_base_index_dims_subs(1, (_index_t)stateSize, ((modelica_integer) 1))])), 1, (_index_t)stateSize); ^ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions_06inz.c:37:101: error: use of undeclared identifier 'stateSize' integer_array_create(&tmp0, ((modelica_integer*)&((&state)[calc_base_index_dims_subs(1, (_index_t)stateSize, ((modelica_integer) 1))])), 1, (_index_t)stateSize); ^ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions_06inz.c:37:153: error: use of undeclared identifier 'stateSize' integer_array_create(&tmp0, ((modelica_integer*)&((&state)[calc_base_index_dims_subs(1, (_index_t)stateSize, ((modelica_integer) 1))])), 1, (_index_t)stateSize); ^ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions_06inz.c:191:55: error: use of undeclared identifier 'state' integer_array_create(&tmp4, ((modelica_integer*)&((&state)[calc_base_index_dims_subs(1, (_index_t)stateSize, ((modelica_integer) 1))])), 1, (_index_t)stateSize); ^ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions_06inz.c:191:101: error: use of undeclared identifier 'stateSize' integer_array_create(&tmp4, ((modelica_integer*)&((&state)[calc_base_index_dims_subs(1, (_index_t)stateSize, ((modelica_integer) 1))])), 1, (_index_t)stateSize); ^ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions_06inz.c:191:153: error: use of undeclared identifier 'stateSize' integer_array_create(&tmp4, ((modelica_integer*)&((&state)[calc_base_index_dims_subs(1, (_index_t)stateSize, ((modelica_integer) 1))])), 1, (_index_t)stateSize); ^ 6 errors generated. make: *** [: Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions_06inz.o] Error 1