Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.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.DrydenContinuousTurbulence,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence") translateModel(Modelica_Noise.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.000917/0.0009171, allocations: 171.5 kB / 15.41 MB, free: 5.898 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.152/1.152, allocations: 170.5 MB / 186.7 MB, free: 1.152 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.001426/0.001426, allocations: 109.9 kB / 226 MB, free: 10.3 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/package.mo): time 0.01939/0.01939, allocations: 3.106 MB / 268.3 MB, free: 15.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000401/0.0004012, allocations: 13.53 kB / 318.1 MB, free: 63.3 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08519/0.08561, allocations: 39.13 MB / 357.3 MB, free: 24.29 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica_Noise.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence): time 0.001515/0.08718, allocations: 1.355 MB / 358.6 MB, free: 22.92 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00166/0.08885, allocations: 1.259 MB / 359.9 MB, free: 21.65 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.813e-05/0.08894, allocations: 7.875 kB / 359.9 MB, free: 21.64 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003164/0.08927, allocations: 31.91 kB / 359.9 MB, free: 21.61 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003244/0.08961, allocations: 95.62 kB / 360 MB, free: 21.52 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003383/0.08996, allocations: 191.6 kB / 360.2 MB, free: 21.33 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001683/0.09014, allocations: 171.6 kB / 360.4 MB, free: 21.16 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.437e-05/0.09024, allocations: 28.98 kB / 360.4 MB, free: 21.14 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001394/0.09039, allocations: 75.69 kB / 360.5 MB, free: 21.06 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001468/0.09055, allocations: 91.69 kB / 360.5 MB, free: 20.97 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.835e-05/0.09058, allocations: 8 kB / 360.6 MB, free: 20.96 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004015/0.09099, allocations: 323.3 kB / 360.9 MB, free: 20.65 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.374e-05/0.09108, allocations: 47.81 kB / 360.9 MB, free: 20.6 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.643e-05/0.09115, allocations: 63.59 kB / 361 MB, free: 20.54 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003746/0.09153, allocations: 347 kB / 361.3 MB, free: 20.2 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.09155, allocations: 0 / 361.3 MB, free: 20.2 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.09156, allocations: 0 / 361.3 MB, free: 20.2 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.09157, allocations: 0 / 361.3 MB, free: 20.2 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001064/0.09264, allocations: 0.5339 MB / 361.9 MB, free: 19.62 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.09268, allocations: 12.03 kB / 361.9 MB, free: 19.61 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002054/0.0929, allocations: 24.73 kB / 361.9 MB, free: 19.58 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003704/0.09328, allocations: 275.8 kB / 362.2 MB, free: 19.27 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.574e-05/0.09334, allocations: 4.375 kB / 362.2 MB, free: 19.27 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.944e-05/0.09338, allocations: 12.36 kB / 362.2 MB, free: 19.26 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002188/0.09361, allocations: 135.4 kB / 362.3 MB, free: 19.11 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.09363, allocations: 0 / 362.3 MB, free: 19.11 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.09365, allocations: 0 / 362.3 MB, free: 19.11 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.09366, allocations: 0 / 362.3 MB, free: 19.11 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000178/0.09384, allocations: 87.94 kB / 362.4 MB, free: 19.03 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007113/0.09456, allocations: 0.5201 MB / 362.9 MB, free: 18.45 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002449/0.09482, allocations: 153.1 kB / 363.1 MB, free: 18.29 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/0.09493, allocations: 65.69 kB / 363.1 MB, free: 18.21 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.74e-05/0.09496, allocations: 3.984 kB / 363.1 MB, free: 18.21 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002062/0.09517, allocations: 145 kB / 363.3 MB, free: 18.05 MB / 250.7 MB Notification: Performance of pre-optimization done (n=15): time 1.192e-06/0.09519, allocations: 0 / 363.3 MB, free: 18.05 MB / 250.7 MB Notification: Performance of matching and sorting (n=15): time 0.0004463/0.09564, allocations: 245.4 kB / 363.5 MB, free: 17.8 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.18e-05/0.09569, allocations: 97.09 kB / 363.6 MB, free: 17.69 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003223/0.09602, allocations: 246.4 kB / 363.8 MB, free: 17.44 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.09605, allocations: 41.7 kB / 363.9 MB, free: 17.39 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.731e-05/0.09611, allocations: 108.1 kB / 364 MB, free: 17.28 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.891e-05/0.09615, allocations: 47.58 kB / 364 MB, free: 17.23 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.362e-05/0.09619, allocations: 29.7 kB / 364.1 MB, free: 17.2 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 5.813e-05/0.09625, allocations: 334.8 kB / 364.4 MB, free: 16.86 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001198/0.09638, allocations: 83.95 kB / 364.5 MB, free: 16.78 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001255/0.09651, allocations: 105.5 kB / 364.6 MB, free: 16.67 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002361/0.09676, allocations: 176.8 kB / 364.8 MB, free: 16.5 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.09677, allocations: 0 / 364.8 MB, free: 16.5 MB / 250.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003179/0.0971, allocations: 253.2 kB / 365 MB, free: 16.24 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.09712, allocations: 6.812 kB / 365 MB, free: 16.24 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.09713, allocations: 0 / 365 MB, free: 16.24 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.09716, allocations: 0 / 365 MB, free: 16.24 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001715/0.09733, allocations: 27.92 kB / 365 MB, free: 16.21 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.09735, allocations: 4 kB / 365 MB, free: 16.21 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001736/0.09753, allocations: 35.84 kB / 365.1 MB, free: 16.17 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.558e-05/0.09755, allocations: 4 kB / 365.1 MB, free: 16.17 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,whiteNoise.r_raw,$PRE.whiteNoise.r_raw,whiteNoise.r,$PRE.whiteNoise.r,whiteNoise.state[4],$PRE.whiteNoise.state[4],whiteNoise.state[3],$PRE.whiteNoise.state[3],whiteNoise.state[2],$PRE.whiteNoise.state[2],whiteNoise.state[1],$PRE.whiteNoise.state[1],whiteNoise.localSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 19 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.652e-05/0.09765, allocations: 143.7 kB / 365.2 MB, free: 16.02 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.875e-05/0.09769, allocations: 11.81 kB / 365.2 MB, free: 16.01 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.794e-05/0.09774, allocations: 25.52 kB / 365.3 MB, free: 15.99 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-06/0.09775, allocations: 3.938 kB / 365.3 MB, free: 15.98 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.09776, allocations: 0 / 365.3 MB, free: 15.98 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.09777, allocations: 4 kB / 365.3 MB, free: 15.98 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001701/0.09795, allocations: 245.5 kB / 365.5 MB, free: 15.69 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.09796, allocations: 4 kB / 365.5 MB, free: 15.69 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001134/0.09808, allocations: 15.98 kB / 365.5 MB, free: 15.67 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.09809, allocations: 0 / 365.5 MB, free: 15.67 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.727e-05/0.09811, allocations: 7.984 kB / 365.5 MB, free: 15.66 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.09812, allocations: 0 / 365.5 MB, free: 15.66 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.051e-06/0.09813, allocations: 0 / 365.5 MB, free: 15.66 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004165/0.09855, allocations: 313.3 kB / 365.8 MB, free: 15.34 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.409e-05/0.0986, allocations: 96.95 kB / 365.9 MB, free: 15.22 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.22e-05/0.09864, allocations: 7.984 kB / 365.9 MB, free: 15.21 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001667/0.09881, allocations: 27.97 kB / 366 MB, free: 15.19 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.193e-05/0.09886, allocations: 4 kB / 366 MB, free: 15.18 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.065e-05/0.09888, allocations: 12.05 kB / 366 MB, free: 15.17 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0002625/0.09915, allocations: 187.9 kB / 366.2 MB, free: 14.99 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.09916, allocations: 0 / 366.2 MB, free: 14.99 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000361/0.09952, allocations: 104 kB / 366.3 MB, free: 14.89 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (Hw.x_scaled[1],Hw.x_scaled[2]) * Number of discrete variables: 8 ($whenCondition1,whiteNoise.state[1],whiteNoise.state[2],whiteNoise.state[3],whiteNoise.state[4],whiteNoise.r,whiteNoise.r_raw,whiteNoise.localSeed) * Number of discrete states: 4 (whiteNoise.state[1],whiteNoise.state[2],whiteNoise.state[3],whiteNoise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004696/0.1, allocations: 233.1 kB / 366.5 MB, free: 14.66 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003016/0.1003, allocations: 171.8 kB / 366.7 MB, free: 14.49 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1003, allocations: 8.062 kB / 366.7 MB, free: 14.48 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001143/0.1004, allocations: 67.91 kB / 366.7 MB, free: 14.41 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002567/0.1007, allocations: 24.77 kB / 366.8 MB, free: 14.39 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006175/0.1013, allocations: 400.6 kB / 367.2 MB, free: 13.97 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001541/0.1015, allocations: 0.7322 MB / 367.9 MB, free: 13.21 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 8.844e-05/0.1016, allocations: 33.39 kB / 367.9 MB, free: 13.18 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.915e-05/0.1017, allocations: 19.42 kB / 367.9 MB, free: 13.16 MB / 250.7 MB Notification: Performance of SimCode: time 3.01e-07/0.1017, allocations: 0 / 367.9 MB, free: 13.16 MB / 250.7 MB Notification: Performance of Templates: time 0.005501/0.1072, allocations: 3.046 MB / 371 MB, free: 10.12 MB / 250.7 MB make -j1 -f Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.makefile make -j1 -f Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.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_DrydenContinuousTurbulence -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.DrydenContinuousTurbulence.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.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_DrydenContinuousTurbulence -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.DrydenContinuousTurbulence_functions.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence_functions.c In file included from Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence_functions.c:7: In file included from ./Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence_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.DrydenContinuousTurbulence_functions.c:23:34: warning: passing 'const int *' to parameter of type 'int *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] ModelicaRandom_xorshift128plus((const int*) _stateIn_c89, (int*) _stateOut_c89, &_result_ext); ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include/ModelicaRandom.c:363:57: note: passing argument to parameter 'state_in' here MODELICA_EXPORT void ModelicaRandom_xorshift128plus(int state_in[], int state_out[], double* y) { ^ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence_functions.c:108:33: warning: passing 'const int *' to parameter of type 'int *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] ModelicaRandom_xorshift64star((const int*) _stateIn_c89, (int*) _stateOut_c89, &_result_ext); ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include/ModelicaRandom.c:312:56: note: passing argument to parameter 'state_in' here MODELICA_EXPORT void ModelicaRandom_xorshift64star(int state_in[], int state_out[], double* y) { ^ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence_functions.c:334:52: warning: passing 'const int *' to parameter of type 'int *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] ModelicaRandom_setInternalState_xorshift1024star((const int*) _rngState_c89, size_of_dimension_base_array(_rngState, ((modelica_integer) 1)), _id_ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include/ModelicaRandom.c:530:76: note: passing argument to parameter 'state' here MODELICA_EXPORT void ModelicaRandom_setInternalState_xorshift1024star(int* state, size_t nState, int id) { ^ 4 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence -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.DrydenContinuousTurbulence_records.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence_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_DrydenContinuousTurbulence -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.DrydenContinuousTurbulence_01exo.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence_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_DrydenContinuousTurbulence -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.DrydenContinuousTurbulence_02nls.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence_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_DrydenContinuousTurbulence -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.DrydenContinuousTurbulence_03lsy.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence_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_DrydenContinuousTurbulence -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.DrydenContinuousTurbulence_04set.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence_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_DrydenContinuousTurbulence -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.DrydenContinuousTurbulence_05evt.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence_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_DrydenContinuousTurbulence -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.DrydenContinuousTurbulence_06inz.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence_06inz.c Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence_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.DrydenContinuousTurbulence_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.DrydenContinuousTurbulence_06inz.c:37:75: error: use of undeclared identifier 'stateSize' integer_array_create(&tmp0, ((modelica_integer*)&(state)), 1, (_index_t)stateSize); ^ 3 errors generated. make: *** [: Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence_06inz.o] Error 1