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.001481/0.001481, allocations: 169.9 kB / 12.72 MB, free: 2.594 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.176/1.176, allocations: 170.6 MB / 183.8 MB, free: 11.42 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.001545/0.001545, allocations: 110.8 kB / 223.2 MB, free: 4.043 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.01791/0.01791, allocations: 3.053 MB / 265.5 MB, free: 24.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.045e-05/4.067e-05, allocations: 4 kB / 312.8 MB, free: 8.98 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2108/0.2108, allocations: 39.37 MB / 352.1 MB, free: 37.38 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2748/0.4856, allocations: 114.8 MB / 466.9 MB, free: 90.3 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001905/0.4859, allocations: 84.92 kB / 467 MB, free: 90.29 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.1694/0.6552, allocations: 78.44 MB / 0.5326 GB, free: 12.73 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.6553, allocations: 0 / 0.5326 GB, free: 12.73 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002572/0.6555, allocations: 91.86 kB / 0.5327 GB, free: 12.64 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.007202/0.6627, allocations: 3.247 MB / 0.5359 GB, free: 9.332 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.6628, allocations: 11.98 kB / 0.5359 GB, free: 9.32 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001893/0.6647, allocations: 463.1 kB / 0.5364 GB, free: 8.863 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004169/0.6689, allocations: 2.343 MB / 0.5386 GB, free: 6.469 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003856/0.6693, allocations: 367.2 kB / 0.539 GB, free: 6.09 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007176/0.67, allocations: 319.7 kB / 0.5393 GB, free: 5.777 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006744/0.6768, allocations: 4.095 MB / 0.5433 GB, free: 1.539 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.97e-05/0.6769, allocations: 11.84 kB / 0.5433 GB, free: 1.527 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002918/0.6772, allocations: 132 kB / 0.5434 GB, free: 1.398 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001034/0.6773, allocations: 142.1 kB / 0.5436 GB, free: 1.258 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006618/0.6839, allocations: 3.488 MB / 0.547 GB, free: 13.76 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02509/0.7091, allocations: 13.94 MB / 0.5606 GB, free: 15.44 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003255/0.7124, allocations: 2.082 MB / 0.5626 GB, free: 13.26 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001903/0.7143, allocations: 1.199 MB / 0.5638 GB, free: 12.06 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003325/0.7146, allocations: 154.9 kB / 0.5639 GB, free: 11.89 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00198/0.7166, allocations: 1.243 MB / 0.5652 GB, free: 10.62 MB / 346.7 MB Notification: Performance of pre-optimization done (n=191): time 3.947e-06/0.7167, allocations: 4 kB / 0.5652 GB, free: 10.62 MB / 346.7 MB Notification: Performance of matching and sorting (n=242): time 0.1984/0.9151, allocations: 11.32 MB / 0.5762 GB, free: 59.62 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003581/0.9187, allocations: 3.525 MB / 0.5797 GB, free: 58.12 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002732/0.9215, allocations: 1.813 MB / 0.5814 GB, free: 57.91 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005758/0.9221, allocations: 79.42 kB / 0.5815 GB, free: 57.88 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001086/0.9232, allocations: 1.459 MB / 0.5829 GB, free: 57.75 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007278/0.9239, allocations: 0.8103 MB / 0.5837 GB, free: 57.34 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001402/0.9241, allocations: 57.94 kB / 0.5838 GB, free: 57.34 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.9242, allocations: 412.3 kB / 0.5842 GB, free: 57.03 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001705/0.9259, allocations: 1.244 MB / 0.5854 GB, free: 57.02 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001969/0.9279, allocations: 1.877 MB / 0.5872 GB, free: 56.36 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002024/0.9299, allocations: 1.515 MB / 0.5887 GB, free: 56.3 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-05/0.9299, allocations: 7.875 kB / 0.5887 GB, free: 56.3 MB / 346.7 MB Notification: Performance of matching and sorting (n=341) (initialization): time 0.005783/0.9357, allocations: 3.798 MB / 0.5924 GB, free: 56.01 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.486e-05/0.9358, allocations: 16.69 kB / 0.5924 GB, free: 56.01 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.506e-05/0.9358, allocations: 15.31 kB / 0.5925 GB, free: 56.01 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001148/0.937, allocations: 0.4904 MB / 0.5929 GB, free: 55.98 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002589/0.9396, allocations: 0.6655 MB / 0.5936 GB, free: 55.98 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004634/0.9443, allocations: 4.628 MB / 0.5981 GB, free: 53.35 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002455/0.9468, allocations: 194.5 kB / 0.5983 GB, free: 53.35 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004083/0.9472, allocations: 108.4 kB / 0.5984 GB, free: 53.35 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 () * 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.0005869/0.9478, allocations: 276 kB / 0.5987 GB, free: 53.23 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00059/0.9484, allocations: 260.3 kB / 0.5989 GB, free: 53.1 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005776/0.9542, allocations: 3.535 MB / 0.6024 GB, free: 52.94 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.826e-05/0.9542, allocations: 22.75 kB / 0.6024 GB, free: 52.94 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.338e-06/0.9542, allocations: 3.281 kB / 0.6024 GB, free: 52.94 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.188e-05/0.9543, allocations: 10.03 kB / 0.6024 GB, free: 52.94 MB / 346.7 MB Warning: The model contains alias variables with conflicting start and/or 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.01537/0.9696, allocations: 9.194 MB / 0.6114 GB, free: 50.5 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.161e-05/0.9697, allocations: 0 / 0.6114 GB, free: 50.5 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001987/0.9717, allocations: 460.4 kB / 0.6118 GB, free: 50.48 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001553/0.9733, allocations: 0.6532 MB / 0.6124 GB, free: 50.29 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002902/0.9736, allocations: 54.52 kB / 0.6125 GB, free: 50.26 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007365/0.981, allocations: 7.691 MB / 0.62 GB, free: 44.7 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003108/0.9841, allocations: 3.257 MB / 0.6232 GB, free: 42.56 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007152/0.9913, allocations: 5.358 MB / 0.6284 GB, free: 40.08 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001393/0.9927, allocations: 0.6335 MB / 0.629 GB, free: 39.66 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003934/0.9931, allocations: 54.55 kB / 0.6291 GB, free: 39.62 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001391/0.9945, allocations: 154.7 kB / 0.6292 GB, free: 39.6 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004359/0.995, allocations: 202.1 kB / 0.6294 GB, free: 39.57 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001516/0.9951, allocations: 69.58 kB / 0.6295 GB, free: 39.55 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001914/0.9971, allocations: 1.378 MB / 0.6308 GB, free: 38.97 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.9971, allocations: 0 / 0.6308 GB, free: 38.97 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002713/0.9998, allocations: 0.8439 MB / 0.6317 GB, free: 38.88 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) * 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.0009252/1.001, allocations: 0.5553 MB / 0.6322 GB, free: 38.73 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.004621/1.005, allocations: 3.578 MB / 0.6357 GB, free: 37.14 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/1.005, allocations: 0 / 0.6357 GB, free: 37.14 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002777/1.008, allocations: 2.195 MB / 0.6378 GB, free: 36.06 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002776/1.011, allocations: 0.5628 MB / 0.6384 GB, free: 35.91 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009875/1.021, allocations: 5.831 MB / 0.6441 GB, free: 33.42 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001609/1.022, allocations: 2.436 MB / 0.6465 GB, free: 32.31 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.002084/1.025, allocations: 0.5989 MB / 0.6471 GB, free: 31.88 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006215/1.025, allocations: 188.8 kB / 0.6472 GB, free: 31.71 MB / 346.7 MB Notification: Performance of SimCode: time 8.61e-07/1.025, allocations: 0 / 0.6472 GB, free: 31.71 MB / 346.7 MB Notification: Performance of Templates: time 0.05894/1.084, allocations: 43.22 MB / 0.6894 GB, free: 0.625 MB / 346.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:2052: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:2052: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:2052: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