Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.NormalNoiseProperties.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.NormalNoiseProperties,tolerance=1e-09,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.NormalNoiseProperties") translateModel(Modelica_Noise.Blocks.Examples.NoiseExamples.NormalNoiseProperties,tolerance=1e-09,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.NormalNoiseProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.005624/0.005624, allocations: 158.8 kB / 15.12 MB, free: 6.031 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.23/1.23, allocations: 170.8 MB / 186.6 MB, free: 1.016 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.001538/0.001538, allocations: 108.6 kB / 226.2 MB, free: 10.08 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.02123/0.02123, allocations: 3.116 MB / 268.8 MB, free: 15.43 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003439/0.000344, allocations: 12.75 kB / 318.6 MB, free: 63.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06505/0.0654, allocations: 39.4 MB / 358 MB, free: 23.96 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica_Noise.Blocks.Examples.NoiseExamples.NormalNoiseProperties): time 0.001523/0.06696, allocations: 1.494 MB / 359.5 MB, free: 22.45 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001532/0.06851, allocations: 1.193 MB / 360.7 MB, free: 21.25 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001392/0.06866, allocations: 0 / 360.7 MB, free: 21.25 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001041/0.06878, allocations: 11.88 kB / 360.7 MB, free: 21.23 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004454/0.06923, allocations: 83.72 kB / 360.8 MB, free: 21.15 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004689/0.06971, allocations: 195.5 kB / 361 MB, free: 20.96 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002046/0.06993, allocations: 191.5 kB / 361.2 MB, free: 20.77 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001331/0.07007, allocations: 60.19 kB / 361.3 MB, free: 20.71 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.07019, allocations: 71.7 kB / 361.3 MB, free: 20.64 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.0703, allocations: 83.64 kB / 361.4 MB, free: 20.56 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.207e-05/0.07034, allocations: 11.94 kB / 361.4 MB, free: 20.55 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004663/0.07082, allocations: 319.5 kB / 361.7 MB, free: 20.24 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.916e-05/0.07088, allocations: 39.83 kB / 361.8 MB, free: 20.2 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.387e-05/0.07094, allocations: 57.58 kB / 361.8 MB, free: 20.14 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003505/0.07129, allocations: 283.6 kB / 362.1 MB, free: 19.86 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.07131, allocations: 0 / 362.1 MB, free: 19.86 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.07131, allocations: 0 / 362.1 MB, free: 19.86 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.151e-05/0.07133, allocations: 4 kB / 362.1 MB, free: 19.86 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0009915/0.07233, allocations: 0.5582 MB / 362.7 MB, free: 19.25 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.07238, allocations: 12.03 kB / 362.7 MB, free: 19.23 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002275/0.07261, allocations: 39.7 kB / 362.7 MB, free: 19.2 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002012/0.07282, allocations: 222.7 kB / 362.9 MB, free: 18.94 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.439e-05/0.07286, allocations: 20.23 kB / 363 MB, free: 18.92 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.726e-05/0.07291, allocations: 16 kB / 363 MB, free: 18.9 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004903/0.0734, allocations: 244.1 kB / 363.2 MB, free: 18.65 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.07343, allocations: 3.938 kB / 363.2 MB, free: 18.65 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.529e-05/0.07346, allocations: 8 kB / 363.2 MB, free: 18.64 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.07347, allocations: 0 / 363.2 MB, free: 18.64 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004667/0.07395, allocations: 179.9 kB / 363.4 MB, free: 18.46 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009379/0.07489, allocations: 0.6562 MB / 364.1 MB, free: 17.75 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009946/0.0759, allocations: 401.4 kB / 364.4 MB, free: 17.34 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002783/0.07619, allocations: 137.8 kB / 364.6 MB, free: 17.2 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.274e-05/0.07622, allocations: 7.984 kB / 364.6 MB, free: 17.2 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003702/0.0766, allocations: 212.3 kB / 364.8 MB, free: 16.97 MB / 250.7 MB Notification: Performance of pre-optimization done (n=23): time 1.683e-06/0.07661, allocations: 0 / 364.8 MB, free: 16.97 MB / 250.7 MB Notification: Performance of matching and sorting (n=23): time 0.000934/0.07755, allocations: 435.4 kB / 365.2 MB, free: 16.55 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.422e-05/0.0776, allocations: 89.05 kB / 365.3 MB, free: 16.44 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001489/0.07775, allocations: 207.8 kB / 365.5 MB, free: 16.23 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.8e-05/0.07779, allocations: 37.69 kB / 365.5 MB, free: 16.18 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.824e-05/0.07786, allocations: 124.6 kB / 365.7 MB, free: 16.06 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.245e-05/0.07792, allocations: 78.97 kB / 365.7 MB, free: 15.98 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.528e-05/0.07794, allocations: 8 kB / 365.8 MB, free: 15.97 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 5.849e-05/0.07801, allocations: 334.8 kB / 366.1 MB, free: 15.64 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003028/0.07832, allocations: 147.8 kB / 366.2 MB, free: 15.49 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003032/0.07863, allocations: 173.9 kB / 366.4 MB, free: 15.32 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003071/0.07895, allocations: 148 kB / 366.5 MB, free: 15.17 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.07896, allocations: 4 kB / 366.5 MB, free: 15.17 MB / 250.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006973/0.07966, allocations: 406.3 kB / 366.9 MB, free: 14.77 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.07969, allocations: 4 kB / 366.9 MB, free: 14.76 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.0797, allocations: 0 / 366.9 MB, free: 14.76 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.07972, allocations: 4 kB / 366.9 MB, free: 14.76 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002684/0.07999, allocations: 79.88 kB / 367 MB, free: 14.68 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.08001, allocations: 4 kB / 367 MB, free: 14.68 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001631/0.08018, allocations: 39.73 kB / 367.1 MB, free: 14.64 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.285e-05/0.08021, allocations: 15.98 kB / 367.1 MB, free: 14.62 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,noise.localSeed,$PRE.noise.state[1],noise.state[1],$PRE.noise.state[2],noise.state[2],$PRE.noise.state[3],noise.state[3],$PRE.noise.state[4],noise.state[4],$PRE.noise.r,noise.r,$PRE.noise.r_raw,noise.r_raw) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 34 * Array equations: 1 * 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.0001235/0.08034, allocations: 144.8 kB / 367.2 MB, free: 14.47 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.277e-05/0.08037, allocations: 23.75 kB / 367.2 MB, free: 14.45 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.732e-05/0.08044, allocations: 21.88 kB / 367.3 MB, free: 14.43 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.08044, allocations: 0 / 367.3 MB, free: 14.43 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.08046, allocations: 4 kB / 367.3 MB, free: 14.43 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.08047, allocations: 3.984 kB / 367.3 MB, free: 14.42 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009938/0.08147, allocations: 0.6738 MB / 368 MB, free: 13.69 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.08148, allocations: 4 kB / 368 MB, free: 13.69 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002399/0.08173, allocations: 59.89 kB / 368 MB, free: 13.63 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.08174, allocations: 0 / 368 MB, free: 13.63 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.204e-05/0.08177, allocations: 4 kB / 368 MB, free: 13.62 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.08178, allocations: 3.938 kB / 368 MB, free: 13.62 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.08178, allocations: 4 kB / 368 MB, free: 13.62 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009569/0.08275, allocations: 0.5549 MB / 368.6 MB, free: 13.04 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.033e-05/0.0828, allocations: 108.9 kB / 368.7 MB, free: 12.92 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.614e-05/0.08284, allocations: 8 kB / 368.7 MB, free: 12.91 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001818/0.08303, allocations: 27.97 kB / 368.7 MB, free: 12.88 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.232e-05/0.08308, allocations: 15.97 kB / 368.7 MB, free: 12.87 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.665e-05/0.0831, allocations: 11.95 kB / 368.8 MB, free: 12.86 MB / 250.7 MB Notification: Performance of sorting global known variables: time 9.724e-05/0.0832, allocations: 149.5 kB / 368.9 MB, free: 12.71 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.08321, allocations: 0 / 368.9 MB, free: 12.71 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003815/0.0836, allocations: 111.8 kB / 369 MB, free: 12.6 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (mean.mu,variance.mu,variance.var,standardDeviation.variance.mu,standardDeviation.variance.var) * Number of discrete variables: 8 (noise.localSeed,$whenCondition1,noise.state[1],noise.state[2],noise.state[3],noise.state[4],noise.r,noise.r_raw) * Number of discrete states: 4 (noise.state[1],noise.state[2],noise.state[3],noise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0004857/0.08409, allocations: 237.8 kB / 369.2 MB, free: 12.37 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0006681/0.08477, allocations: 311.9 kB / 369.5 MB, free: 12.06 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.08478, allocations: 4 kB / 369.5 MB, free: 12.06 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002959/0.08508, allocations: 135.9 kB / 369.7 MB, free: 11.93 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002929/0.08538, allocations: 19.98 kB / 369.7 MB, free: 11.91 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007373/0.08613, allocations: 0.5118 MB / 370.2 MB, free: 11.36 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001656/0.08631, allocations: 0.7398 MB / 371 MB, free: 10.59 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001196/0.08644, allocations: 37.86 kB / 371 MB, free: 10.56 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.998e-05/0.08651, allocations: 27.42 kB / 371 MB, free: 10.53 MB / 250.7 MB Notification: Performance of SimCode: time 2.71e-07/0.08652, allocations: 4 kB / 371 MB, free: 10.53 MB / 250.7 MB Notification: Performance of Templates: time 0.006213/0.09274, allocations: 3.585 MB / 374.6 MB, free: 6.957 MB / 250.7 MB make -j1 -f Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.NormalNoiseProperties.makefile make -j1 -f Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.NormalNoiseProperties.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_NormalNoiseProperties -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.NormalNoiseProperties.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.NormalNoiseProperties.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_NormalNoiseProperties -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.NormalNoiseProperties_functions.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.NormalNoiseProperties_functions.c In file included from Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.NormalNoiseProperties_functions.c:7: In file included from ./Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.NormalNoiseProperties_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.NormalNoiseProperties_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.NormalNoiseProperties_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.NormalNoiseProperties_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. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_NormalNoiseProperties -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.NormalNoiseProperties_records.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.NormalNoiseProperties_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_NormalNoiseProperties -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.NormalNoiseProperties_01exo.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.NormalNoiseProperties_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_NormalNoiseProperties -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.NormalNoiseProperties_02nls.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.NormalNoiseProperties_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_NormalNoiseProperties -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.NormalNoiseProperties_03lsy.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.NormalNoiseProperties_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_NormalNoiseProperties -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.NormalNoiseProperties_04set.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.NormalNoiseProperties_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_NormalNoiseProperties -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.NormalNoiseProperties_05evt.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.NormalNoiseProperties_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_NormalNoiseProperties -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.NormalNoiseProperties_06inz.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.NormalNoiseProperties_06inz.c Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.NormalNoiseProperties_06inz.c:127:55: error: use of undeclared identifier 'state' integer_array_create(&tmp1, ((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.NormalNoiseProperties_06inz.c:127:101: error: use of undeclared identifier 'stateSize' integer_array_create(&tmp1, ((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.NormalNoiseProperties_06inz.c:127:153: error: use of undeclared identifier 'stateSize' integer_array_create(&tmp1, ((modelica_integer*)&((&state)[calc_base_index_dims_subs(1, (_index_t)stateSize, ((modelica_integer) 1))])), 1, (_index_t)stateSize); ^ 3 errors generated. make: *** [: Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.NormalNoiseProperties_06inz.o] Error 1