Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoise.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.ActuatorWithNoise,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1600,variableFilter="",fileNamePrefix="Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoise") translateModel(Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoise,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1600,variableFilter="",fileNamePrefix="Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001258/0.001259, allocations: 164.5 kB / 16.11 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.335/1.335, allocations: 170.8 MB / 187.6 MB, free: 10.46 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.00155/0.00155, allocations: 94.91 kB / 227.2 MB, free: 2.855 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.01953/0.01953, allocations: 3.103 MB / 269.8 MB, free: 23.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004422/0.0004423, allocations: 8 kB / 319.9 MB, free: 4.977 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.194/0.1945, allocations: 39.38 MB / 359.2 MB, free: 37.4 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2806/0.4751, allocations: 115.1 MB / 474.4 MB, free: 88.9 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002483/0.4754, allocations: 90.62 kB / 474.5 MB, free: 88.85 MB / 314.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Math/Random/Interfaces/random.mo:7:3-7:71:writable] Warning: Unused input variable stateSize in function .Modelica_Noise.Math.Random.Generators.Xorshift64star.random. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Math/Random/Interfaces/random.mo:7:3-7:71:writable] Warning: Unused input variable stateSize in function .Modelica_Noise.Math.Random.Generators.Xorshift128plus.random. Notification: Performance of FrontEnd - DAE generated: time 0.1749/0.6503, allocations: 78.45 MB / 0.5399 GB, free: 10.76 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.475e-06/0.6503, allocations: 0 / 0.5399 GB, free: 10.76 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003379/0.6507, allocations: 87.94 kB / 0.54 GB, free: 10.68 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 813 * Number of variables: 813 Notification: Performance of Generate backend data structure: time 0.008727/0.6594, allocations: 3.564 MB / 0.5435 GB, free: 7.039 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.6595, allocations: 11.98 kB / 0.5435 GB, free: 7.027 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001971/0.6615, allocations: 456.1 kB / 0.544 GB, free: 6.578 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005043/0.6665, allocations: 2.444 MB / 0.5463 GB, free: 4.082 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004853/0.667, allocations: 368.4 kB / 0.5467 GB, free: 3.703 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001134/0.6682, allocations: 307.9 kB / 0.547 GB, free: 3.402 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008363/0.6766, allocations: 4.235 MB / 0.5511 GB, free: 15.02 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001373/0.6767, allocations: 7.906 kB / 0.5511 GB, free: 15.02 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005078/0.6773, allocations: 136 kB / 0.5513 GB, free: 14.88 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002372/0.6775, allocations: 138.1 kB / 0.5514 GB, free: 14.75 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01336/0.6909, allocations: 3.678 MB / 0.555 GB, free: 11.06 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04388/0.7348, allocations: 13.94 MB / 0.5686 GB, free: 12.74 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006602/0.7415, allocations: 2.178 MB / 0.5707 GB, free: 10.47 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004085/0.7456, allocations: 1.284 MB / 0.572 GB, free: 9.18 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004937/0.7462, allocations: 151 kB / 0.5721 GB, free: 9.012 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00406/0.7502, allocations: 1.321 MB / 0.5734 GB, free: 7.664 MB / 346.7 MB Notification: Performance of pre-optimization done (n=191): time 7.284e-06/0.7503, allocations: 3.938 kB / 0.5734 GB, free: 7.66 MB / 346.7 MB Notification: Performance of matching and sorting (n=242): time 0.1886/0.9389, allocations: 13.36 MB / 0.5865 GB, free: 58.02 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003251/0.9422, allocations: 3.534 MB / 0.5899 GB, free: 56.48 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002817/0.945, allocations: 2.067 MB / 0.5919 GB, free: 56.25 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004682/0.9455, allocations: 81.44 kB / 0.592 GB, free: 56.22 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001144/0.9467, allocations: 1.461 MB / 0.5934 GB, free: 55.76 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007603/0.9474, allocations: 0.8098 MB / 0.5942 GB, free: 55.35 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001491/0.9476, allocations: 53.69 kB / 0.5943 GB, free: 55.35 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.9477, allocations: 413.2 kB / 0.5947 GB, free: 55.04 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001892/0.9496, allocations: 1.276 MB / 0.5959 GB, free: 55.04 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002252/0.9519, allocations: 1.912 MB / 0.5978 GB, free: 54.37 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003928/0.9558, allocations: 3.287 MB / 0.601 GB, free: 53.7 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.358e-05/0.9558, allocations: 7.781 kB / 0.601 GB, free: 53.7 MB / 346.7 MB Notification: Performance of matching and sorting (n=341) (initialization): time 0.005968/0.9618, allocations: 3.869 MB / 0.6048 GB, free: 53.4 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.918e-05/0.9619, allocations: 14.75 kB / 0.6048 GB, free: 53.4 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.318e-05/0.9619, allocations: 18.69 kB / 0.6048 GB, free: 53.4 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001092/0.963, allocations: 0.4906 MB / 0.6053 GB, free: 53.37 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002222/0.9653, allocations: 0.6707 MB / 0.6059 GB, free: 53.37 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004383/0.9696, allocations: 4.655 MB / 0.6105 GB, free: 50.74 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002127/0.9718, allocations: 195.5 kB / 0.6107 GB, free: 50.73 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002468/0.9721, allocations: 110.5 kB / 0.6108 GB, free: 50.73 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition1,motor.uniformNoise.localSeed,$PRE.motor.uniformNoise.state[1],motor.uniformNoise.state[1],$PRE.motor.uniformNoise.state[2],motor.uniformNoise.state[2],$PRE.motor.uniformNoise.state[3],motor.uniformNoise.state[3],$PRE.motor.uniformNoise.state[4],motor.uniformNoise.state[4],$PRE.motor.uniformNoise.r,motor.uniformNoise.r,$PRE.motor.uniformNoise.r_raw,motor.uniformNoise.r_raw,gearbox.lossyGear.tau_aPos,gearbox.lossyGear.startForward,gearbox.lossyGear.startBackward,gearbox.lossyGear.locked,$PRE.gearbox.lossyGear.mode,gearbox.lossyGear.mode,gearbox.lossyGear.ideal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (310): * Single equations (assignments): 304 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {2 23} Notification: Performance of prepare postOptimizeDAE: time 0.002362/0.9744, allocations: 1.074 MB / 0.6118 GB, free: 50.62 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000583/0.975, allocations: 267.7 kB / 0.6121 GB, free: 50.48 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005884/0.9809, allocations: 3.688 MB / 0.6157 GB, free: 49.15 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.696e-05/0.981, allocations: 22.91 kB / 0.6157 GB, free: 49.15 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/0.981, allocations: 7.516 kB / 0.6157 GB, free: 49.15 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.113e-05/0.981, allocations: 15.09 kB / 0.6157 GB, free: 49.14 MB / 346.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01362/0.9946, allocations: 9.346 MB / 0.6249 GB, free: 45.11 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.148e-06/0.9947, allocations: 0 / 0.6249 GB, free: 45.11 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001743/0.9964, allocations: 464.8 kB / 0.6253 GB, free: 45.09 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001442/0.9979, allocations: 0.6453 MB / 0.6259 GB, free: 44.9 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001785/0.9981, allocations: 59.64 kB / 0.626 GB, free: 44.86 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007586/1.006, allocations: 7.718 MB / 0.6335 GB, free: 39.29 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003088/1.009, allocations: 3.27 MB / 0.6367 GB, free: 37.12 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00813/1.017, allocations: 5.501 MB / 0.6421 GB, free: 34.75 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001383/1.018, allocations: 0.6436 MB / 0.6427 GB, free: 34.32 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000374/1.019, allocations: 57.53 kB / 0.6428 GB, free: 34.29 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001266/1.02, allocations: 157.6 kB / 0.6429 GB, free: 34.26 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004174/1.02, allocations: 195.4 kB / 0.6431 GB, free: 34.23 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001402/1.021, allocations: 72.78 kB / 0.6432 GB, free: 34.21 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001909/1.023, allocations: 1.401 MB / 0.6445 GB, free: 33.65 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.2e-07/1.023, allocations: 0 / 0.6445 GB, free: 33.65 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002745/1.025, allocations: 0.8412 MB / 0.6454 GB, free: 33.55 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 11 ($STATESET1.x,controller.speed_PI.x,controller.positionToSpeed.x,controller.position_PI.x,gearbox.phi_rel,gearbox.w_rel,slewRateLimiter.y,rodMass.s,rodMass.v,elastoGap.s_rel,elastoGap.v_rel) * Number of discrete variables: 13 (motor.uniformNoise.localSeed,$whenCondition1,motor.uniformNoise.state[1],motor.uniformNoise.state[2],motor.uniformNoise.state[3],motor.uniformNoise.state[4],motor.uniformNoise.r,motor.uniformNoise.r_raw,gearbox.lossyGear.tau_aPos,gearbox.lossyGear.startForward,gearbox.lossyGear.startBackward,gearbox.lossyGear.locked,gearbox.lossyGear.mode) * Number of discrete states: 5 (motor.uniformNoise.state[1],motor.uniformNoise.state[2],motor.uniformNoise.state[3],motor.uniformNoise.state[4],gearbox.lossyGear.mode) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (202): * Single equations (assignments): 195 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(3,100.0%) 11} * Non-linear torn systems: 1 {2 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009338/1.026, allocations: 0.526 MB / 0.6459 GB, free: 33.42 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00522/1.031, allocations: 3.724 MB / 0.6495 GB, free: 31.83 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.169e-06/1.032, allocations: 3.938 kB / 0.6495 GB, free: 31.83 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003353/1.035, allocations: 2.302 MB / 0.6518 GB, free: 30.73 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003928/1.039, allocations: 0.5999 MB / 0.6524 GB, free: 30.56 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01422/1.053, allocations: 8.411 MB / 0.6606 GB, free: 22.97 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002282/1.055, allocations: 2.37 MB / 0.6629 GB, free: 21.06 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.002212/1.058, allocations: 0.593 MB / 0.6635 GB, free: 20.64 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006531/1.058, allocations: 191.8 kB / 0.6636 GB, free: 20.47 MB / 346.7 MB Notification: Performance of SimCode: time 7.21e-07/1.058, allocations: 0 / 0.6636 GB, free: 20.47 MB / 346.7 MB Notification: Performance of Templates: time 0.07417/1.132, allocations: 43.06 MB / 0.7057 GB, free: 4.176 MB / 362.7 MB make -j1 -f Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoise.makefile make -j1 -f Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoise.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_ActuatorWithNoise -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoise.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoise.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_ActuatorWithNoise -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoise_functions.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoise_functions.c In file included from Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoise_functions.c:7: In file included from ./Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoise_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.ActuatorWithNoise_functions.c:621: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.ActuatorWithNoise_functions.c:706: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.ActuatorWithNoise_functions.c:936: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_ActuatorWithNoise -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoise_records.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoise_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_ActuatorWithNoise -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoise_01exo.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoise_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_ActuatorWithNoise -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoise_02nls.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoise_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_ActuatorWithNoise -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoise_03lsy.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoise_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_ActuatorWithNoise -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoise_04set.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoise_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_ActuatorWithNoise -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoise_05evt.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoise_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_ActuatorWithNoise -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoise_06inz.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoise_06inz.c Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoise_06inz.c:2052:55: error: use of undeclared identifier 'state' integer_array_create(&tmp8, ((modelica_integer*)&((&state)[((modelica_integer) 1) - 1])), 1, (_index_t)stateSize); ^ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoise_06inz.c:2052:106: error: use of undeclared identifier 'stateSize' integer_array_create(&tmp8, ((modelica_integer*)&((&state)[((modelica_integer) 1) - 1])), 1, (_index_t)stateSize); ^ 2 errors generated. make: *** [: Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoise_06inz.o] Error 1