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.001136/0.001136, allocations: 174.3 kB / 15.42 MB, free: 6.211 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.246/1.246, allocations: 170.5 MB / 186.7 MB, free: 1.188 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.001493/0.001494, allocations: 94.89 kB / 226 MB, free: 10.31 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.01945/0.01945, allocations: 3.103 MB / 268.3 MB, free: 15.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003372/0.0003372, allocations: 13.97 kB / 318.1 MB, free: 63.3 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05655/0.0569, allocations: 39.12 MB / 357.3 MB, free: 24.3 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica_Noise.Blocks.Examples.NoiseExamples.NormalNoiseProperties): time 0.001556/0.0585, allocations: 1.552 MB / 358.8 MB, free: 22.73 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001554/0.06007, allocations: 1.313 MB / 360.1 MB, free: 21.41 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.219e-05/0.06017, allocations: 0 / 360.1 MB, free: 21.41 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001147/0.06029, allocations: 11.86 kB / 360.1 MB, free: 21.39 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003591/0.06066, allocations: 75.73 kB / 360.2 MB, free: 21.32 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000382/0.06105, allocations: 219.5 kB / 360.4 MB, free: 21.11 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001396/0.06121, allocations: 203.5 kB / 360.6 MB, free: 20.91 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001337/0.06135, allocations: 59 kB / 360.7 MB, free: 20.85 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.06e-05/0.06144, allocations: 83.61 kB / 360.8 MB, free: 20.77 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.175e-05/0.06154, allocations: 95.58 kB / 360.9 MB, free: 20.68 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.91e-05/0.06158, allocations: 8 kB / 360.9 MB, free: 20.67 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003759/0.06196, allocations: 323.4 kB / 361.2 MB, free: 20.35 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.782e-05/0.06202, allocations: 43.77 kB / 361.2 MB, free: 20.31 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.195e-05/0.06209, allocations: 87.45 kB / 361.3 MB, free: 20.22 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003732/0.06247, allocations: 390.9 kB / 361.7 MB, free: 19.84 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.06248, allocations: 4 kB / 361.7 MB, free: 19.84 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.06249, allocations: 3.938 kB / 361.7 MB, free: 19.83 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.0625, allocations: 0 / 361.7 MB, free: 19.83 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.0009299/0.06344, allocations: 0.5584 MB / 362.3 MB, free: 19.22 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.06348, allocations: 11.97 kB / 362.3 MB, free: 19.21 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001948/0.06368, allocations: 36.64 kB / 362.3 MB, free: 19.18 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001993/0.06389, allocations: 239.9 kB / 362.5 MB, free: 18.9 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.709e-05/0.06392, allocations: 12.66 kB / 362.5 MB, free: 18.89 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.323e-05/0.06396, allocations: 16.38 kB / 362.6 MB, free: 18.88 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00041/0.06438, allocations: 248.4 kB / 362.8 MB, free: 18.62 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.0644, allocations: 0 / 362.8 MB, free: 18.62 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.095e-05/0.06443, allocations: 12 kB / 362.8 MB, free: 18.61 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.06444, allocations: 4 kB / 362.8 MB, free: 18.61 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003857/0.06483, allocations: 175.8 kB / 363 MB, free: 18.43 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008133/0.06565, allocations: 0.6485 MB / 363.6 MB, free: 17.73 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009993/0.06666, allocations: 393.3 kB / 364 MB, free: 17.33 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002575/0.06694, allocations: 141.6 kB / 364.2 MB, free: 17.18 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.329e-05/0.06697, allocations: 23.98 kB / 364.2 MB, free: 17.16 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003499/0.06733, allocations: 208.7 kB / 364.4 MB, free: 16.94 MB / 250.7 MB Notification: Performance of pre-optimization done (n=23): time 1.492e-06/0.06734, allocations: 0 / 364.4 MB, free: 16.94 MB / 250.7 MB Notification: Performance of matching and sorting (n=23): time 0.0008698/0.06821, allocations: 440.3 kB / 364.8 MB, free: 16.5 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.408e-05/0.06827, allocations: 85.11 kB / 364.9 MB, free: 16.4 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001477/0.06842, allocations: 203.8 kB / 365.1 MB, free: 16.19 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.764e-05/0.06846, allocations: 41.69 kB / 365.1 MB, free: 16.14 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.462e-05/0.06852, allocations: 128.4 kB / 365.3 MB, free: 16.02 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.994e-05/0.06856, allocations: 70.98 kB / 365.3 MB, free: 15.95 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.925e-05/0.06861, allocations: 37.7 kB / 365.4 MB, free: 15.9 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 5.115e-05/0.06867, allocations: 342.8 kB / 365.7 MB, free: 15.56 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002756/0.06895, allocations: 135.9 kB / 365.8 MB, free: 15.43 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002785/0.06924, allocations: 173.9 kB / 366 MB, free: 15.25 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005106/0.06976, allocations: 305.9 kB / 366.3 MB, free: 14.95 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.06977, allocations: 4 kB / 366.3 MB, free: 14.94 MB / 250.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006351/0.07041, allocations: 398.1 kB / 366.7 MB, free: 14.55 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.773e-05/0.07045, allocations: 10.75 kB / 366.7 MB, free: 14.54 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.07047, allocations: 4.031 kB / 366.7 MB, free: 14.54 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.07049, allocations: 4 kB / 366.7 MB, free: 14.53 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002584/0.07075, allocations: 75.88 kB / 366.8 MB, free: 14.46 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.07077, allocations: 3.938 kB / 366.8 MB, free: 14.45 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001439/0.07092, allocations: 47.73 kB / 366.8 MB, free: 14.41 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.949e-05/0.07095, allocations: 11.98 kB / 366.9 MB, free: 14.39 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.r_raw,$PRE.noise.r_raw,noise.r,$PRE.noise.r,noise.state[4],$PRE.noise.state[4],noise.state[3],$PRE.noise.state[3],noise.state[2],$PRE.noise.state[2],noise.state[1],$PRE.noise.state[1],noise.localSeed) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001035/0.07106, allocations: 136.8 kB / 367 MB, free: 14.25 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.179e-05/0.0711, allocations: 27.69 kB / 367 MB, free: 14.23 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.379e-05/0.07116, allocations: 25.86 kB / 367 MB, free: 14.2 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.07117, allocations: 3.984 kB / 367 MB, free: 14.2 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.07118, allocations: 4 kB / 367.1 MB, free: 14.2 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.07119, allocations: 0 / 367.1 MB, free: 14.2 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009121/0.0721, allocations: 0.6816 MB / 367.7 MB, free: 13.46 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.07212, allocations: 0 / 367.7 MB, free: 13.46 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002154/0.07234, allocations: 63.89 kB / 367.8 MB, free: 13.39 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.07235, allocations: 3.938 kB / 367.8 MB, free: 13.39 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.964e-05/0.07237, allocations: 4 kB / 367.8 MB, free: 13.39 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.07238, allocations: 0 / 367.8 MB, free: 13.39 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.07239, allocations: 4 kB / 367.8 MB, free: 13.38 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008577/0.07325, allocations: 0.5394 MB / 368.3 MB, free: 12.82 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.309e-05/0.07329, allocations: 104.8 kB / 368.5 MB, free: 12.7 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.768e-05/0.07334, allocations: 12 kB / 368.5 MB, free: 12.69 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001691/0.07351, allocations: 35.97 kB / 368.5 MB, free: 12.66 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.477e-05/0.07357, allocations: 11.98 kB / 368.5 MB, free: 12.64 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/0.07359, allocations: 12.11 kB / 368.5 MB, free: 12.63 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.905e-05/0.07368, allocations: 149.5 kB / 368.7 MB, free: 12.49 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.07369, allocations: 0 / 368.7 MB, free: 12.49 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003735/0.07407, allocations: 107.9 kB / 368.8 MB, free: 12.38 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 (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.0004705/0.07454, allocations: 249.8 kB / 369 MB, free: 12.13 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0006071/0.07516, allocations: 323.4 kB / 369.3 MB, free: 11.82 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.07517, allocations: 64 / 369.3 MB, free: 11.82 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002642/0.07544, allocations: 135.9 kB / 369.5 MB, free: 11.68 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003122/0.07577, allocations: 31.98 kB / 369.5 MB, free: 11.65 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006941/0.07647, allocations: 0.5191 MB / 370 MB, free: 11.11 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000136/0.07662, allocations: 0.7359 MB / 370.8 MB, free: 10.34 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001127/0.07674, allocations: 25.94 kB / 370.8 MB, free: 10.32 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.611e-05/0.07681, allocations: 27.42 kB / 370.8 MB, free: 10.29 MB / 250.7 MB Notification: Performance of SimCode: time 2.81e-07/0.07681, allocations: 4 kB / 370.8 MB, free: 10.29 MB / 250.7 MB Notification: Performance of Templates: time 0.00587/0.08269, allocations: 3.638 MB / 374.4 MB, free: 6.668 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"/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_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"/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_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"/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_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"/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_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"/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_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"/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_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"/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_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"/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_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"/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_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:53: error: use of undeclared identifier 'state'; did you mean 'static'? integer_array_create(&tmp1, ((modelica_integer*)&(state)), 1, (_index_t)stateSize); ^~~~~ static Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.NormalNoiseProperties_06inz.c:127:53: error: address of overloaded function 'status' does not match required type 'long' integer_array_create(&tmp1, ((modelica_integer*)&(state)), 1, (_index_t)stateSize); ^~~~~ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.NormalNoiseProperties_06inz.c:127:75: error: use of undeclared identifier 'stateSize' integer_array_create(&tmp1, ((modelica_integer*)&(state)), 1, (_index_t)stateSize); ^ 3 errors generated. make: *** [: Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.NormalNoiseProperties_06inz.o] Error 1