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.007521/0.007521, allocations: 158.6 kB / 15.12 MB, free: 6.027 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.222/1.222, allocations: 170.8 MB / 186.7 MB, free: 1.012 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001501/0.001502, allocations: 106.7 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.01936/0.01936, allocations: 3.116 MB / 268.8 MB, free: 15.43 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003953/0.0003953, allocations: 15.89 kB / 318.6 MB, free: 63.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08103/0.08145, allocations: 39.39 MB / 358 MB, free: 23.95 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions): time 0.001282/0.08276, allocations: 1.235 MB / 359.3 MB, free: 22.7 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001707/0.08448, allocations: 1.365 MB / 360.6 MB, free: 21.33 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.219e-05/0.08454, allocations: 4 kB / 360.6 MB, free: 21.32 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.079e-05/0.08464, allocations: 7.875 kB / 360.6 MB, free: 21.32 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003857/0.08503, allocations: 87.66 kB / 360.7 MB, free: 21.23 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000495/0.08554, allocations: 275.3 kB / 361 MB, free: 20.96 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001034/0.08565, allocations: 111.7 kB / 361.1 MB, free: 20.85 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.945e-05/0.08572, allocations: 21.05 kB / 361.1 MB, free: 20.83 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.319e-05/0.0858, allocations: 59.7 kB / 361.2 MB, free: 20.77 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.077e-05/0.08587, allocations: 67.67 kB / 361.3 MB, free: 20.71 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.05e-05/0.0859, allocations: 4 kB / 361.3 MB, free: 20.7 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00052/0.08643, allocations: 467.1 kB / 361.7 MB, free: 20.25 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.434e-05/0.08648, allocations: 31.84 kB / 361.7 MB, free: 20.21 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.747e-05/0.08653, allocations: 45.62 kB / 361.8 MB, free: 20.16 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003143/0.08685, allocations: 283.8 kB / 362.1 MB, free: 19.89 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.08686, allocations: 0 / 362.1 MB, free: 19.89 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.08687, allocations: 0 / 362.1 MB, free: 19.89 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.08688, allocations: 0 / 362.1 MB, free: 19.89 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.000616/0.0875, allocations: 0.4987 MB / 362.6 MB, free: 19.34 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.08754, allocations: 8.031 kB / 362.6 MB, free: 19.33 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002052/0.08775, allocations: 35.8 kB / 362.6 MB, free: 19.3 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001314/0.08789, allocations: 210.6 kB / 362.8 MB, free: 19.05 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.283e-05/0.08792, allocations: 8 kB / 362.8 MB, free: 19.04 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.777e-05/0.08794, allocations: 4 kB / 362.8 MB, free: 19.04 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002345/0.08819, allocations: 152.5 kB / 363 MB, free: 18.87 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.0882, allocations: 0 / 363 MB, free: 18.87 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.08822, allocations: 3.984 kB / 363 MB, free: 18.87 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.411e-06/0.08823, allocations: 4 kB / 363 MB, free: 18.86 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001941/0.08843, allocations: 75.89 kB / 363.1 MB, free: 18.79 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002151/0.08866, allocations: 261 kB / 363.3 MB, free: 18.47 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003044/0.08897, allocations: 209 kB / 363.5 MB, free: 18.22 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001375/0.08912, allocations: 80.27 kB / 363.6 MB, free: 18.13 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.432e-05/0.08914, allocations: 4 kB / 363.6 MB, free: 18.12 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003615/0.08951, allocations: 175.5 kB / 363.8 MB, free: 17.93 MB / 250.7 MB Notification: Performance of pre-optimization done (n=19): time 1.313e-06/0.08952, allocations: 0 / 363.8 MB, free: 17.93 MB / 250.7 MB Notification: Performance of matching and sorting (n=19): time 0.0005844/0.09011, allocations: 297.4 kB / 364.1 MB, free: 17.63 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.274e-05/0.09018, allocations: 174.2 kB / 364.2 MB, free: 17.42 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001362/0.09033, allocations: 187.4 kB / 364.4 MB, free: 17.23 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.996e-05/0.09037, allocations: 45.88 kB / 364.5 MB, free: 17.18 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.376e-05/0.09041, allocations: 112.1 kB / 364.6 MB, free: 17.06 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.299e-05/0.09046, allocations: 43.48 kB / 364.6 MB, free: 17.02 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.498e-06/0.09048, allocations: 4 kB / 364.6 MB, free: 17.02 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.889e-05/0.09055, allocations: 334.8 kB / 364.9 MB, free: 16.68 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001666/0.09072, allocations: 91.95 kB / 365 MB, free: 16.59 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001715/0.0909, allocations: 146.5 kB / 365.2 MB, free: 16.43 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001749/0.09109, allocations: 107.9 kB / 365.3 MB, free: 16.33 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.0911, allocations: 8 kB / 365.3 MB, free: 16.32 MB / 250.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004269/0.09153, allocations: 300.2 kB / 365.6 MB, free: 16.02 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.09155, allocations: 4 kB / 365.6 MB, free: 16.02 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.09157, allocations: 0 / 365.6 MB, free: 16.02 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.09159, allocations: 4 kB / 365.6 MB, free: 16.02 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001383/0.09173, allocations: 40 kB / 365.6 MB, free: 15.98 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.09174, allocations: 0 / 365.6 MB, free: 15.98 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.535e-05/0.09183, allocations: 19.84 kB / 365.6 MB, free: 15.96 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.754e-05/0.09186, allocations: 8 kB / 365.7 MB, free: 15.95 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.0001173/0.09198, allocations: 153.8 kB / 365.8 MB, free: 15.79 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.53e-05/0.09202, allocations: 15.81 kB / 365.8 MB, free: 15.77 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.159e-05/0.09206, allocations: 25.41 kB / 365.8 MB, free: 15.75 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.09206, allocations: 0 / 365.8 MB, free: 15.75 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.09207, allocations: 4 kB / 365.9 MB, free: 15.75 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.09208, allocations: 3.984 kB / 365.9 MB, free: 15.75 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000168/0.09226, allocations: 221.4 kB / 366.1 MB, free: 15.48 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.09227, allocations: 4 kB / 366.1 MB, free: 15.48 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.838e-05/0.09233, allocations: 11.98 kB / 366.1 MB, free: 15.46 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.09234, allocations: 4 kB / 366.1 MB, free: 15.46 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.09236, allocations: 0 / 366.1 MB, free: 15.46 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.09237, allocations: 11.94 kB / 366.1 MB, free: 15.45 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.09238, allocations: 0 / 366.1 MB, free: 15.45 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003873/0.09277, allocations: 283.5 kB / 366.4 MB, free: 15.14 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.743e-05/0.09282, allocations: 92.86 kB / 366.5 MB, free: 15.04 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.285e-05/0.09286, allocations: 19.98 kB / 366.5 MB, free: 15.02 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.754e-05/0.09294, allocations: 8 kB / 366.5 MB, free: 15.01 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.417e-05/0.093, allocations: 27.86 kB / 366.5 MB, free: 14.98 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.09302, allocations: 4 kB / 366.5 MB, free: 14.98 MB / 250.7 MB Notification: Performance of sorting global known variables: time 9.524e-05/0.09312, allocations: 139.2 kB / 366.7 MB, free: 14.84 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09312, allocations: 0 / 366.7 MB, free: 14.84 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003795/0.09351, allocations: 128 kB / 366.8 MB, free: 14.71 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.0005896/0.09411, allocations: 300.9 kB / 367.1 MB, free: 14.41 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003988/0.09451, allocations: 203.8 kB / 367.3 MB, free: 14.21 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.09453, allocations: 0 / 367.3 MB, free: 14.21 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001625/0.0947, allocations: 79.91 kB / 367.4 MB, free: 14.14 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001832/0.09489, allocations: 8.188 kB / 367.4 MB, free: 14.13 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004654/0.09536, allocations: 318.3 kB / 367.7 MB, free: 13.78 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001419/0.09551, allocations: 0.7206 MB / 368.4 MB, free: 13.03 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.111e-05/0.09558, allocations: 17.42 kB / 368.4 MB, free: 13.02 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.964e-05/0.09563, allocations: 19.42 kB / 368.4 MB, free: 13 MB / 250.7 MB Notification: Performance of SimCode: time 2.11e-07/0.09563, allocations: 0 / 368.4 MB, free: 13 MB / 250.7 MB Notification: Performance of Templates: time 0.005828/0.1015, allocations: 3.544 MB / 372 MB, free: 9.465 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. -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. -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. -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. -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. -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. -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. -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. -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. -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