Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed.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.AutomaticSeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed") translateModel(Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001331/0.001331, allocations: 167.2 kB / 16.07 MB, free: 5.555 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.064/1.064, allocations: 170.5 MB / 187.4 MB, free: 0.9258 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.001498/0.001498, allocations: 102.9 kB / 226.6 MB, free: 10.27 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.0195/0.0195, allocations: 3.1 MB / 268.9 MB, free: 15.88 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003252/0.0003252, allocations: 12 kB / 318.8 MB, free: 63.3 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05239/0.05273, allocations: 39.13 MB / 357.9 MB, free: 24.29 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed): time 0.001394/0.05415, allocations: 1.612 MB / 359.5 MB, free: 22.66 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001228/0.05539, allocations: 1.076 MB / 360.6 MB, free: 21.57 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.873e-05/0.05547, allocations: 7.938 kB / 360.6 MB, free: 21.57 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001022/0.05559, allocations: 11.88 kB / 360.6 MB, free: 21.55 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003716/0.05596, allocations: 115.4 kB / 360.7 MB, free: 21.44 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002365/0.05621, allocations: 187.7 kB / 360.9 MB, free: 21.26 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001817/0.0564, allocations: 335 kB / 361.2 MB, free: 20.93 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.488e-05/0.05647, allocations: 36.7 kB / 361.3 MB, free: 20.89 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001086/0.05658, allocations: 139.4 kB / 361.4 MB, free: 20.76 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.008e-05/0.05668, allocations: 159.2 kB / 361.6 MB, free: 20.6 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.424e-05/0.05672, allocations: 20 kB / 361.6 MB, free: 20.58 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002093/0.05694, allocations: 147.8 kB / 361.7 MB, free: 20.44 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.248e-05/0.05701, allocations: 87.64 kB / 361.8 MB, free: 20.35 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.01e-05/0.05711, allocations: 147 kB / 362 MB, free: 20.21 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002862/0.0574, allocations: 414.6 kB / 362.4 MB, free: 19.8 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.05742, allocations: 4 kB / 362.4 MB, free: 19.8 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.05742, allocations: 0 / 362.4 MB, free: 19.8 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.489e-06/0.05743, allocations: 0 / 362.4 MB, free: 19.8 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0007227/0.05816, allocations: 0.6218 MB / 363 MB, free: 19.12 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.166e-05/0.0582, allocations: 8.031 kB / 363 MB, free: 19.12 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006532/0.05886, allocations: 120.4 kB / 363.1 MB, free: 19 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001572/0.05903, allocations: 272 kB / 363.4 MB, free: 18.7 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.989e-05/0.05906, allocations: 16.36 kB / 363.4 MB, free: 18.68 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.384e-05/0.0591, allocations: 24.31 kB / 363.4 MB, free: 18.66 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004298/0.05954, allocations: 354.9 kB / 363.8 MB, free: 18.27 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.05956, allocations: 4 kB / 363.8 MB, free: 18.27 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.037e-05/0.05959, allocations: 0 / 363.8 MB, free: 18.27 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.972e-06/0.0596, allocations: 4 kB / 363.8 MB, free: 18.27 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004209/0.06002, allocations: 215.7 kB / 364 MB, free: 18.05 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003125/0.06034, allocations: 442.7 kB / 364.4 MB, free: 17.54 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007039/0.06106, allocations: 0.5227 MB / 364.9 MB, free: 16.91 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002827/0.06135, allocations: 238.6 kB / 365.2 MB, free: 16.64 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/0.06138, allocations: 4 kB / 365.2 MB, free: 16.63 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004972/0.06188, allocations: 440.2 kB / 365.6 MB, free: 16.15 MB / 250.7 MB Notification: Performance of pre-optimization done (n=54): time 1.924e-06/0.06189, allocations: 0 / 365.6 MB, free: 16.15 MB / 250.7 MB Notification: Performance of matching and sorting (n=54): time 0.001204/0.0631, allocations: 0.7563 MB / 366.4 MB, free: 15.39 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.718e-05/0.06319, allocations: 382.3 kB / 366.7 MB, free: 14.94 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002157/0.06341, allocations: 304.5 kB / 367 MB, free: 14.63 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 6.119e-05/0.06348, allocations: 93.64 kB / 367.1 MB, free: 14.53 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.827e-05/0.06355, allocations: 145.1 kB / 367.3 MB, free: 14.39 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.655e-05/0.06365, allocations: 134.4 kB / 367.4 MB, free: 14.25 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.485e-05/0.06372, allocations: 85.66 kB / 367.5 MB, free: 14.16 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.168e-05/0.06379, allocations: 358.8 kB / 367.8 MB, free: 13.8 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000392/0.06419, allocations: 281.5 kB / 368.1 MB, free: 13.53 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004265/0.06462, allocations: 402.6 kB / 368.5 MB, free: 13.1 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007718/0.0654, allocations: 0.6556 MB / 369.2 MB, free: 12.41 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.06542, allocations: 0 / 369.2 MB, free: 12.41 MB / 250.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0009882/0.06641, allocations: 0.7849 MB / 369.9 MB, free: 11.63 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.06643, allocations: 8 kB / 370 MB, free: 11.62 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/0.06645, allocations: 4 kB / 370 MB, free: 11.62 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.06646, allocations: 4 kB / 370 MB, free: 11.61 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002644/0.06673, allocations: 79.98 kB / 370 MB, free: 11.54 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.287e-05/0.06676, allocations: 7.984 kB / 370 MB, free: 11.53 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001724/0.06693, allocations: 63.42 kB / 370.1 MB, free: 11.46 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.122e-05/0.06697, allocations: 23.98 kB / 370.1 MB, free: 11.44 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 84 ($whenCondition6,manualSeed3.localSeed,manualSeed3.r_raw,$PRE.manualSeed3.r_raw,manualSeed3.r,$PRE.manualSeed3.r,manualSeed3.state[4],$PRE.manualSeed3.state[4],manualSeed3.state[3],$PRE.manualSeed3.state[3],manualSeed3.state[2],$PRE.manualSeed3.state[2],manualSeed3.state[1],$PRE.manualSeed3.state[1],$whenCondition5,manualSeed2.localSeed,manualSeed2.r_raw,$PRE.manualSeed2.r_raw,manualSeed2.r,$PRE.manualSeed2.r,manualSeed2.state[4],$PRE.manualSeed2.state[4],manualSeed2.state[3],$PRE.manualSeed2.state[3],manualSeed2.state[2],$PRE.manualSeed2.state[2],manualSeed2.state[1],$PRE.manualSeed2.state[1],$whenCondition4,manualSeed1.localSeed,manualSeed1.r_raw,$PRE.manualSeed1.r_raw,manualSeed1.r,$PRE.manualSeed1.r,manualSeed1.state[4],$PRE.manualSeed1.state[4],manualSeed1.state[3],$PRE.manualSeed1.state[3],manualSeed1.state[2],$PRE.manualSeed1.state[2],manualSeed1.state[1],$PRE.manualSeed1.state[1],$whenCondition3,automaticSeed3.localSeed,automaticSeed3.r_raw,$PRE.automaticSeed3.r_raw,automaticSeed3.r,$PRE.automaticSeed3.r,automaticSeed3.state[4],$PRE.automaticSeed3.state[4],automaticSeed3.state[3],$PRE.automaticSeed3.state[3],automaticSeed3.state[2],$PRE.automaticSeed3.state[2],automaticSeed3.state[1],$PRE.automaticSeed3.state[1],$whenCondition2,automaticSeed2.localSeed,automaticSeed2.r_raw,$PRE.automaticSeed2.r_raw,automaticSeed2.r,$PRE.automaticSeed2.r,automaticSeed2.state[4],$PRE.automaticSeed2.state[4],automaticSeed2.state[3],$PRE.automaticSeed2.state[3],automaticSeed2.state[2],$PRE.automaticSeed2.state[2],automaticSeed2.state[1],$PRE.automaticSeed2.state[1],$whenCondition1,automaticSeed1.localSeed,automaticSeed1.r_raw,$PRE.automaticSeed1.r_raw,automaticSeed1.r,$PRE.automaticSeed1.r,automaticSeed1.state[4],$PRE.automaticSeed1.state[4],automaticSeed1.state[3],$PRE.automaticSeed1.state[3],automaticSeed1.state[2],$PRE.automaticSeed1.state[2],automaticSeed1.state[1],$PRE.automaticSeed1.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 66 * Array equations: 6 * 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.0001574/0.06714, allocations: 223.9 kB / 370.4 MB, free: 11.21 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.649e-05/0.0672, allocations: 43.45 kB / 370.4 MB, free: 11.17 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.296e-05/0.06725, allocations: 37.89 kB / 370.4 MB, free: 11.13 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.06726, allocations: 4 kB / 370.4 MB, free: 11.12 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.06727, allocations: 3.984 kB / 370.4 MB, free: 11.12 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.611e-05/0.06732, allocations: 120.5 kB / 370.6 MB, free: 10.98 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.665e-05/0.06738, allocations: 39.97 kB / 370.6 MB, free: 10.95 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001581/0.06754, allocations: 23.98 kB / 370.6 MB, free: 10.92 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.513e-05/0.06765, allocations: 51.81 kB / 370.7 MB, free: 10.87 MB / 250.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001003/0.06866, allocations: 1.5 MB / 372.2 MB, free: 9.355 MB / 250.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0008904/0.06956, allocations: 1.557 MB / 373.7 MB, free: 7.777 MB / 250.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003649/0.06994, allocations: 232.1 kB / 374 MB, free: 7.551 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001403/0.07009, allocations: 207.1 kB / 374.2 MB, free: 7.348 MB / 250.7 MB Notification: Performance of Backend: time 3e-07/0.07009, allocations: 0 / 374.2 MB, free: 7.348 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.001715/0.07181, allocations: 0.5429 MB / 374.7 MB, free: 6.809 MB / 250.7 MB Notification: Performance of SimCode: time 0.0007927/0.07262, allocations: 1.016 MB / 375.7 MB, free: 5.746 MB / 250.7 MB Notification: Performance of Templates: time 0.006597/0.07923, allocations: 4.713 MB / 380.4 MB, free: 1.043 MB / 250.7 MB make -j1 -f Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed.makefile make -j1 -f Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed.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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/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_AutomaticSeed -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.AutomaticSeed.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed.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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/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_AutomaticSeed -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.AutomaticSeed_functions.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed_functions.c In file included from Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed_functions.c:7: In file included from ./Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed_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.AutomaticSeed_functions.c:75: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.AutomaticSeed_functions.c:160: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.AutomaticSeed_functions.c:386: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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/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_AutomaticSeed -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.AutomaticSeed_records.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed_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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/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_AutomaticSeed -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.AutomaticSeed_01exo.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed_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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/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_AutomaticSeed -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.AutomaticSeed_02nls.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed_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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/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_AutomaticSeed -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.AutomaticSeed_03lsy.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed_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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/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_AutomaticSeed -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.AutomaticSeed_04set.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed_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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/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_AutomaticSeed -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.AutomaticSeed_05evt.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed_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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/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_AutomaticSeed -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.AutomaticSeed_06inz.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed_06inz.c Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed_06inz.c:38: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.AutomaticSeed_06inz.c:38: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.AutomaticSeed_06inz.c:38: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.AutomaticSeed_06inz.c:205:53: error: use of undeclared identifier 'state'; did you mean 'static'? integer_array_create(&tmp5, ((modelica_integer*)&(state)), 1, (_index_t)stateSize); ^~~~~ static Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed_06inz.c:205:53: error: address of overloaded function 'status' does not match required type 'long' integer_array_create(&tmp5, ((modelica_integer*)&(state)), 1, (_index_t)stateSize); ^~~~~ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed_06inz.c:205:75: error: use of undeclared identifier 'stateSize' integer_array_create(&tmp5, ((modelica_integer*)&(state)), 1, (_index_t)stateSize); ^ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed_06inz.c:372:54: error: use of undeclared identifier 'state'; did you mean 'static'? integer_array_create(&tmp10, ((modelica_integer*)&(state)), 1, (_index_t)stateSize); ^~~~~ static Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed_06inz.c:372:54: error: address of overloaded function 'status' does not match required type 'long' integer_array_create(&tmp10, ((modelica_integer*)&(state)), 1, (_index_t)stateSize); ^~~~~ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed_06inz.c:372:76: error: use of undeclared identifier 'stateSize' integer_array_create(&tmp10, ((modelica_integer*)&(state)), 1, (_index_t)stateSize); ^ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed_06inz.c:539:54: error: use of undeclared identifier 'state'; did you mean 'static'? integer_array_create(&tmp15, ((modelica_integer*)&(state)), 1, (_index_t)stateSize); ^~~~~ static Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed_06inz.c:539:54: error: address of overloaded function 'status' does not match required type 'long' integer_array_create(&tmp15, ((modelica_integer*)&(state)), 1, (_index_t)stateSize); ^~~~~ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed_06inz.c:539:76: error: use of undeclared identifier 'stateSize' integer_array_create(&tmp15, ((modelica_integer*)&(state)), 1, (_index_t)stateSize); ^ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed_06inz.c:706:54: error: use of undeclared identifier 'state'; did you mean 'static'? integer_array_create(&tmp20, ((modelica_integer*)&(state)), 1, (_index_t)stateSize); ^~~~~ static Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed_06inz.c:706:54: error: address of overloaded function 'status' does not match required type 'long' integer_array_create(&tmp20, ((modelica_integer*)&(state)), 1, (_index_t)stateSize); ^~~~~ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed_06inz.c:706:76: error: use of undeclared identifier 'stateSize' integer_array_create(&tmp20, ((modelica_integer*)&(state)), 1, (_index_t)stateSize); ^ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed_06inz.c:873:54: error: use of undeclared identifier 'state'; did you mean 'static'? integer_array_create(&tmp25, ((modelica_integer*)&(state)), 1, (_index_t)stateSize); ^~~~~ static Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed_06inz.c:873:54: error: address of overloaded function 'status' does not match required type 'long' integer_array_create(&tmp25, ((modelica_integer*)&(state)), 1, (_index_t)stateSize); ^~~~~ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed_06inz.c:873:76: error: use of undeclared identifier 'stateSize' integer_array_create(&tmp25, ((modelica_integer*)&(state)), 1, (_index_t)stateSize); ^ 18 errors generated. make: *** [: Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed_06inz.o] Error 1