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.001345/0.001345, allocations: 176.2 kB / 7.646 MB, free: 1.426 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.077/1.077, allocations: 170.7 MB / 178.7 MB, free: 7.031 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.001571/0.001571, allocations: 108.5 kB / 218 MB, free: 15.34 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.01907/0.01907, allocations: 3.063 MB / 260.2 MB, free: 5.066 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.383e-05/1.398e-05, allocations: 1.375 kB / 305.8 MB, free: 69.5 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05446/0.05449, allocations: 39.39 MB / 345.2 MB, free: 32.99 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2669/0.3214, allocations: 114.1 MB / 459.3 MB, free: 8.211 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002296/0.3217, allocations: 85.34 kB / 459.4 MB, free: 8.195 MB / 282.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.1956/0.5173, allocations: 77.55 MB / 0.5243 GB, free: 3.09 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.5174, allocations: 0 / 0.5243 GB, free: 3.09 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003356/0.5177, allocations: 91.86 kB / 0.5244 GB, free: 3 MB / 346.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.009063/0.5268, allocations: 3.251 MB / 0.5276 GB, free: 15.68 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.5268, allocations: 8.031 kB / 0.5276 GB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002093/0.5289, allocations: 455.1 kB / 0.528 GB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005095/0.5341, allocations: 2.35 MB / 0.5303 GB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004676/0.5345, allocations: 267.2 kB / 0.5306 GB, free: 12.54 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008895/0.5354, allocations: 195.8 kB / 0.5308 GB, free: 12.35 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006715/0.5422, allocations: 3.289 MB / 0.534 GB, free: 9.059 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007615/0.5498, allocations: 3.653 MB / 0.5376 GB, free: 5.266 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.262e-05/0.5499, allocations: 15.84 kB / 0.5376 GB, free: 5.25 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002616/0.5502, allocations: 7.938 kB / 0.5376 GB, free: 5.242 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001291/0.5503, allocations: 142.1 kB / 0.5377 GB, free: 5.102 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1886/0.739, allocations: 13.31 MB / 0.5507 GB, free: 70.82 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003033/0.742, allocations: 2.033 MB / 0.5527 GB, free: 70.39 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002064/0.7441, allocations: 1.155 MB / 0.5538 GB, free: 70.36 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004071/0.7446, allocations: 150.6 kB / 0.554 GB, free: 70.27 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002076/0.7466, allocations: 1.2 MB / 0.5551 GB, free: 70.15 MB / 362.7 MB Notification: Performance of pre-optimization done (n=195): time 4.038e-06/0.7467, allocations: 0 / 0.5551 GB, free: 70.15 MB / 362.7 MB Notification: Performance of matching and sorting (n=248): time 0.01766/0.7643, allocations: 9.878 MB / 0.5648 GB, free: 68.56 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.369e-05/0.7644, allocations: 212.7 kB / 0.565 GB, free: 68.34 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001914/0.7664, allocations: 1.498 MB / 0.5665 GB, free: 68.13 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001963/0.7666, allocations: 41 kB / 0.5665 GB, free: 68.1 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009732/0.7675, allocations: 1.455 MB / 0.5679 GB, free: 67.61 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005374/0.7681, allocations: 0.7965 MB / 0.5687 GB, free: 67.17 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001426/0.7682, allocations: 5.312 kB / 0.5687 GB, free: 67.17 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.7684, allocations: 410.1 kB / 0.5691 GB, free: 66.86 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001512/0.7699, allocations: 1.213 MB / 0.5703 GB, free: 66.86 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001746/0.7716, allocations: 1.831 MB / 0.5721 GB, free: 66.2 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002023/0.7737, allocations: 1.493 MB / 0.5735 GB, free: 66.15 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.146e-05/0.7737, allocations: 11.36 kB / 0.5735 GB, free: 66.15 MB / 362.7 MB Notification: Performance of matching and sorting (n=347) (initialization): time 0.005363/0.7791, allocations: 3.579 MB / 0.577 GB, free: 65.87 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.987e-05/0.7791, allocations: 11.66 kB / 0.577 GB, free: 65.87 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-05/0.7792, allocations: 17.78 kB / 0.5771 GB, free: 65.87 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001072/0.7802, allocations: 497.7 kB / 0.5775 GB, free: 65.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0026/0.7829, allocations: 0.6786 MB / 0.5782 GB, free: 65.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004492/0.7874, allocations: 4.482 MB / 0.5826 GB, free: 62.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002453/0.7898, allocations: 137 kB / 0.5827 GB, free: 62.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003563/0.7902, allocations: 116.8 kB / 0.5828 GB, free: 62.91 MB / 362.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: gearbox.flange_a.tau:VARIABLE(flow=true unit = "N.m" ) "Cut torque in the flange" type: Real gearbox.lossyGear.sa:VARIABLE(unit = "1" ) "Path parameter for acceleration and torque loss" type: Real 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 (316): * Single equations (assignments): 310 * 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.0005938/0.7908, allocations: 193.8 kB / 0.583 GB, free: 62.78 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000453/0.7913, allocations: 242.3 kB / 0.5832 GB, free: 62.65 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005272/0.7966, allocations: 3.38 MB / 0.5865 GB, free: 61.33 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.841e-05/0.7966, allocations: 26.06 kB / 0.5866 GB, free: 61.33 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.7966, allocations: 2.969 kB / 0.5866 GB, free: 61.33 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.283e-05/0.7967, allocations: 13.61 kB / 0.5866 GB, free: 61.33 MB / 362.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.01328/0.8099, allocations: 8.826 MB / 0.5952 GB, free: 57.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.086e-05/0.81, allocations: 3.969 kB / 0.5952 GB, free: 57.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001872/0.8119, allocations: 475 kB / 0.5956 GB, free: 57.49 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001404/0.8133, allocations: 0.6433 MB / 0.5963 GB, free: 57.29 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001663/0.8135, allocations: 22.11 kB / 0.5963 GB, free: 57.28 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00671/0.8202, allocations: 7.487 MB / 0.6036 GB, free: 51.94 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002922/0.8231, allocations: 3.211 MB / 0.6067 GB, free: 49.85 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006894/0.8301, allocations: 5.286 MB / 0.6119 GB, free: 47.4 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001286/0.8314, allocations: 0.6043 MB / 0.6125 GB, free: 47 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003557/0.8318, allocations: 18.47 kB / 0.6125 GB, free: 47 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001318/0.8331, allocations: 121.9 kB / 0.6126 GB, free: 47 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003926/0.8335, allocations: 209.9 kB / 0.6128 GB, free: 46.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001474/0.8336, allocations: 71.48 kB / 0.6129 GB, free: 46.95 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001569/0.8352, allocations: 1.116 MB / 0.614 GB, free: 46.45 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.8352, allocations: 0 / 0.614 GB, free: 46.45 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002755/0.838, allocations: 0.7234 MB / 0.6147 GB, free: 46.43 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (206): * Single equations (assignments): 199 * 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.001002/0.839, allocations: 0.5171 MB / 0.6152 GB, free: 46.3 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00514/0.8442, allocations: 3.483 MB / 0.6186 GB, free: 44.73 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/0.8442, allocations: 0 / 0.6186 GB, free: 44.73 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002953/0.8472, allocations: 2.139 MB / 0.6207 GB, free: 43.67 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002657/0.8498, allocations: 474.7 kB / 0.6211 GB, free: 43.56 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009805/0.8597, allocations: 5.719 MB / 0.6267 GB, free: 39.27 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001813/0.8615, allocations: 2.442 MB / 0.6291 GB, free: 37.35 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.002371/0.8639, allocations: 0.595 MB / 0.6297 GB, free: 36.93 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006489/0.8646, allocations: 190 kB / 0.6299 GB, free: 36.77 MB / 362.7 MB Notification: Performance of SimCode: time 7.72e-07/0.8646, allocations: 0 / 0.6299 GB, free: 36.77 MB / 362.7 MB Notification: Performance of Templates: time 0.05532/0.9199, allocations: 35.96 MB / 0.665 GB, free: 12.56 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 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/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 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/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:6: 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:607: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:688: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:908: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 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/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 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/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 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/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 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/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 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/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 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/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 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/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:2080:55: error: use of undeclared identifier '$Pstate'; did you mean 'setstate'? integer_array_create(&tmp8, ((modelica_integer*)&((&$Pstate)[calc_base_index_dims_subs(1, $PstateSize, ((modelica_integer) 1))])), 1, $PstateSize); ^~~~~~~ setstate /usr/include/stdlib.h:415:14: note: 'setstate' declared here extern char *setstate (char *__statebuf) __THROW __nonnull ((1)); ^ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoise_06inz.c:2080:93: error: use of undeclared identifier '$PstateSize' integer_array_create(&tmp8, ((modelica_integer*)&((&$Pstate)[calc_base_index_dims_subs(1, $PstateSize, ((modelica_integer) 1))])), 1, $PstateSize); ^ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoise_06inz.c:2080:137: error: use of undeclared identifier '$PstateSize' integer_array_create(&tmp8, ((modelica_integer*)&((&$Pstate)[calc_base_index_dims_subs(1, $PstateSize, ((modelica_integer) 1))])), 1, $PstateSize); ^ 3 errors generated. make: *** [: Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoise_06inz.o] Error 1