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.005693/0.005693, allocations: 166.5 kB / 15.11 MB, free: 5.98 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.138/1.138, allocations: 170.8 MB / 186.6 MB, free: 0.9609 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.00166/0.00166, allocations: 109.8 kB / 226.2 MB, free: 10.09 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.02083/0.02083, allocations: 3.108 MB / 268.7 MB, free: 15.44 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003601/0.00036, allocations: 9.406 kB / 318.6 MB, free: 63.27 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06556/0.06594, allocations: 39.4 MB / 358 MB, free: 23.99 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2912/0.3572, allocations: 114.9 MB / 472.9 MB, free: 12.98 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002822/0.3576, allocations: 87.02 kB / 473 MB, free: 12.93 MB / 298.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.2048/0.5624, allocations: 78.35 MB / 0.5384 GB, free: 5.609 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.315e-06/0.5625, allocations: 0 / 0.5384 GB, free: 5.609 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0004522/0.5629, allocations: 87.88 kB / 0.5385 GB, free: 5.523 MB / 362.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.01251/0.5755, allocations: 3.592 MB / 0.542 GB, free: 1.859 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.5755, allocations: 15.98 kB / 0.542 GB, free: 1.844 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002835/0.5784, allocations: 455.1 kB / 0.5424 GB, free: 1.395 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2098/0.7882, allocations: 2.367 MB / 0.5447 GB, free: 69.73 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007628/0.789, allocations: 366.1 kB / 0.5451 GB, free: 69.63 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001767/0.7908, allocations: 313.2 kB / 0.5454 GB, free: 69.63 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01307/0.8039, allocations: 4.205 MB / 0.5495 GB, free: 69.2 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002271/0.8042, allocations: 13.78 kB / 0.5495 GB, free: 69.2 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001114/0.8053, allocations: 131.4 kB / 0.5496 GB, free: 69.2 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003045/0.8057, allocations: 141.7 kB / 0.5498 GB, free: 69.19 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01167/0.8173, allocations: 3.673 MB / 0.5533 GB, free: 69.16 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03379/0.8512, allocations: 13.94 MB / 0.567 GB, free: 66.27 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004156/0.8554, allocations: 2.178 MB / 0.5691 GB, free: 65.81 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004031/0.8558, allocations: 150.9 kB / 0.5692 GB, free: 65.72 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002539/0.8584, allocations: 1.321 MB / 0.5705 GB, free: 65.6 MB / 362.7 MB Notification: Performance of pre-optimization done (n=191): time 5.611e-06/0.8584, allocations: 6.781 kB / 0.5705 GB, free: 65.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=242): time 0.03213/0.8906, allocations: 13.49 MB / 0.5837 GB, free: 61.08 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003828/0.8944, allocations: 3.65 MB / 0.5873 GB, free: 58.68 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003774/0.8982, allocations: 1.827 MB / 0.5891 GB, free: 57.96 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005675/0.8988, allocations: 81 kB / 0.5891 GB, free: 57.89 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001474/0.9003, allocations: 1.463 MB / 0.5906 GB, free: 56.83 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00112/0.9015, allocations: 0.809 MB / 0.5914 GB, free: 56.2 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004111/0.9019, allocations: 54.81 kB / 0.5914 GB, free: 56.16 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001951/0.9021, allocations: 407.3 kB / 0.5918 GB, free: 55.82 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002476/0.9046, allocations: 1.283 MB / 0.593 GB, free: 55.31 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002534/0.9071, allocations: 1.918 MB / 0.5949 GB, free: 54.08 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002639/0.9098, allocations: 1.557 MB / 0.5964 GB, free: 53.38 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.896e-05/0.9098, allocations: 4.688 kB / 0.5964 GB, free: 53.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=341) (initialization): time 0.00757/0.9174, allocations: 3.874 MB / 0.6002 GB, free: 51.84 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.568e-05/0.9175, allocations: 11.25 kB / 0.6002 GB, free: 51.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.818e-05/0.9175, allocations: 18.12 kB / 0.6003 GB, free: 51.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001267/0.9188, allocations: 0.4978 MB / 0.6007 GB, free: 51.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002567/0.9214, allocations: 0.6694 MB / 0.6014 GB, free: 51.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005144/0.9265, allocations: 4.735 MB / 0.606 GB, free: 48.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002619/0.9292, allocations: 189.7 kB / 0.6062 GB, free: 48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004254/0.9296, allocations: 118.4 kB / 0.6063 GB, free: 47.98 MB / 362.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.002755/0.9324, allocations: 1.083 MB / 0.6074 GB, free: 47.39 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001026/0.9334, allocations: 262 kB / 0.6076 GB, free: 47.26 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007107/0.9405, allocations: 3.711 MB / 0.6112 GB, free: 45.75 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.837e-05/0.9406, allocations: 21.31 kB / 0.6113 GB, free: 45.75 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.6e-05/0.9406, allocations: 7.484 kB / 0.6113 GB, free: 45.74 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-05/0.9406, allocations: 11.34 kB / 0.6113 GB, free: 45.74 MB / 362.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.01832/0.959, allocations: 9.359 MB / 0.6204 GB, free: 41.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.484e-05/0.959, allocations: 5.875 kB / 0.6204 GB, free: 41.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002114/0.9611, allocations: 466.5 kB / 0.6209 GB, free: 41.58 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001717/0.9629, allocations: 0.6514 MB / 0.6215 GB, free: 41.38 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002893/0.9632, allocations: 53.75 kB / 0.6216 GB, free: 41.35 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008547/0.9718, allocations: 7.928 MB / 0.6293 GB, free: 35.21 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00357/0.9754, allocations: 3.381 MB / 0.6326 GB, free: 32.03 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01054/0.986, allocations: 5.644 MB / 0.6381 GB, free: 26.87 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002078/0.9881, allocations: 0.6453 MB / 0.6387 GB, free: 26.28 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001028/0.9892, allocations: 51.14 kB / 0.6388 GB, free: 26.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002001/0.9912, allocations: 156.2 kB / 0.6389 GB, free: 26.12 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006183/0.9918, allocations: 203.5 kB / 0.6391 GB, free: 26.01 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002178/0.9921, allocations: 71.17 kB / 0.6392 GB, free: 25.95 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002897/0.995, allocations: 1.405 MB / 0.6406 GB, free: 24.74 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.995, allocations: 0 / 0.6406 GB, free: 24.74 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.004565/0.9996, allocations: 0.8363 MB / 0.6414 GB, free: 23.93 MB / 362.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.001765/1.001, allocations: 0.547 MB / 0.6419 GB, free: 23.52 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00685/1.008, allocations: 3.745 MB / 0.6456 GB, free: 20.09 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.743e-06/1.008, allocations: 2 kB / 0.6456 GB, free: 20.09 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003726/1.012, allocations: 2.303 MB / 0.6478 GB, free: 17.98 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003685/1.016, allocations: 0.5604 MB / 0.6484 GB, free: 17.55 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01586/1.032, allocations: 8.406 MB / 0.6566 GB, free: 9.883 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003399/1.035, allocations: 2.439 MB / 0.659 GB, free: 7.969 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.004012/1.039, allocations: 0.5936 MB / 0.6596 GB, free: 7.547 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0014/1.04, allocations: 193.5 kB / 0.6597 GB, free: 7.371 MB / 362.7 MB Notification: Performance of SimCode: time 8.52e-07/1.041, allocations: 7.172 kB / 0.6597 GB, free: 7.367 MB / 362.7 MB Notification: Performance of Templates: time 0.2719/1.312, allocations: 42.59 MB / 0.7013 GB, free: 76.51 MB / 378.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 "-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_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 "-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_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:538:11: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_nx == ((modelica_integer) 1))) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoise_functions.c:538:11: note: remove extraneous parentheses around the comparison to silence this warning if((_nx == ((modelica_integer) 1))) ~ ^ ~ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoise_functions.c:538:11: note: use '=' to turn this equality comparison into an assignment if((_nx == ((modelica_integer) 1))) ^~ = Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoise_functions.c:620: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:705: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:935: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) { ^ 5 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers "-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_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 "-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_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 "-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_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 "-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_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 "-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_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 "-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_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 "-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_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:2030:55: error: use of undeclared identifier 'state' integer_array_create(&tmp8, ((modelica_integer*)&((&state)[calc_base_index_dims_subs(1, stateSize, ((modelica_integer) 1))])), 1, stateSize); ^ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoise_06inz.c:2030:91: error: use of undeclared identifier 'stateSize' integer_array_create(&tmp8, ((modelica_integer*)&((&state)[calc_base_index_dims_subs(1, stateSize, ((modelica_integer) 1))])), 1, stateSize); ^ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoise_06inz.c:2030:133: error: use of undeclared identifier 'stateSize' integer_array_create(&tmp8, ((modelica_integer*)&((&state)[calc_base_index_dims_subs(1, stateSize, ((modelica_integer) 1))])), 1, stateSize); ^ 3 errors generated. make: *** [: Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoise_06inz.o] Error 1