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: "" <> buildModelFMU(Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoise,fileNamePrefix="Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ActuatorWithNoise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoise,fileNamePrefix="Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ActuatorWithNoise",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001317/0.001316, allocations: 175.2 kB / 15.44 MB, free: 6.234 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.025/1.025, allocations: 170.8 MB / 187 MB, free: 0.8516 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.001372/0.001373, allocations: 110.2 kB / 226.5 MB, free: 9.961 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.01905/0.01905, allocations: 3.113 MB / 269.1 MB, free: 15.29 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003472/0.0003474, allocations: 8 kB / 319.4 MB, free: 62.78 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06352/0.06389, allocations: 39.41 MB / 358.8 MB, free: 23.47 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoise): time 0.01072/0.07466, allocations: 12.79 MB / 371.6 MB, free: 10.61 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.009534/0.08425, allocations: 4.992 MB / 376.6 MB, free: 5.609 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002888/0.08717, allocations: 63.69 kB / 376.6 MB, free: 5.547 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002845/0.09004, allocations: 0.804 MB / 377.4 MB, free: 4.738 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004847/0.09492, allocations: 1.044 MB / 378.5 MB, free: 3.691 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002776/0.09771, allocations: 0.8229 MB / 379.3 MB, free: 2.871 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.006482/0.1042, allocations: 4.405 MB / 383.7 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004588/0.1088, allocations: 2.581 MB / 386.3 MB, free: 11.8 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002572/0.1114, allocations: 1.385 MB / 387.7 MB, free: 10.41 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002849/0.1143, allocations: 1.797 MB / 389.5 MB, free: 8.605 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001004/0.1153, allocations: 204 kB / 389.7 MB, free: 8.406 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001995/0.1173, allocations: 0.5151 MB / 390.2 MB, free: 7.891 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001718/0.119, allocations: 1.001 MB / 391.2 MB, free: 6.887 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003429/0.1225, allocations: 1.809 MB / 393 MB, free: 5.062 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008319/0.1308, allocations: 6.832 MB / 399.8 MB, free: 14.21 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.1309, allocations: 0 / 399.8 MB, free: 14.21 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1309, allocations: 0 / 399.8 MB, free: 14.21 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001765/0.1311, allocations: 0 / 399.8 MB, free: 14.21 MB / 282.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.008284/0.1393, allocations: 3.556 MB / 403.4 MB, free: 10.58 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.1394, allocations: 8.031 kB / 403.4 MB, free: 10.57 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007834/0.1402, allocations: 446.8 kB / 403.8 MB, free: 10.12 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001261/0.1415, allocations: 459.3 kB / 404.3 MB, free: 9.672 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003387/0.1449, allocations: 2.166 MB / 406.4 MB, free: 7.453 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006686/0.1455, allocations: 415.2 kB / 406.8 MB, free: 7.027 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004611/0.146, allocations: 319.8 kB / 407.2 MB, free: 6.715 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007593/0.1536, allocations: 4.25 MB / 411.4 MB, free: 2.391 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.336e-05/0.1537, allocations: 15.89 kB / 411.4 MB, free: 2.375 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002746/0.154, allocations: 127.9 kB / 411.5 MB, free: 2.25 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001568/0.1542, allocations: 146.1 kB / 411.7 MB, free: 2.105 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1527/0.3069, allocations: 3.831 MB / 415.5 MB, free: 51.48 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02061/0.3275, allocations: 14.15 MB / 429.7 MB, free: 42.71 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003294/0.3309, allocations: 2.123 MB / 431.8 MB, free: 41.41 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002198/0.3331, allocations: 1.292 MB / 433.1 MB, free: 40.77 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002519/0.3334, allocations: 133.8 kB / 433.2 MB, free: 40.67 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002207/0.3356, allocations: 1.306 MB / 434.5 MB, free: 39.88 MB / 282.7 MB Notification: Performance of pre-optimization done (n=184): time 3.857e-06/0.3356, allocations: 1.312 kB / 434.5 MB, free: 39.88 MB / 282.7 MB Notification: Performance of matching and sorting (n=232): time 0.02764/0.3633, allocations: 13.29 MB / 447.8 MB, free: 29.52 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002922/0.3662, allocations: 3.263 MB / 451.1 MB, free: 26.07 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003423/0.3697, allocations: 2.137 MB / 453.2 MB, free: 23.9 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003516/0.37, allocations: 73.69 kB / 453.3 MB, free: 23.82 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009187/0.371, allocations: 1.469 MB / 454.8 MB, free: 22.34 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005941/0.3716, allocations: 0.7805 MB / 455.5 MB, free: 21.57 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001317/0.3717, allocations: 48 kB / 455.6 MB, free: 21.52 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.3718, allocations: 419.2 kB / 456 MB, free: 21.11 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001754/0.3736, allocations: 1.258 MB / 457.2 MB, free: 19.84 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002136/0.3757, allocations: 1.914 MB / 459.2 MB, free: 17.67 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003913/0.3797, allocations: 3.264 MB / 462.4 MB, free: 14.14 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.848e-06/0.3797, allocations: 8 kB / 462.4 MB, free: 14.13 MB / 282.7 MB Notification: Performance of matching and sorting (n=333) (initialization): time 0.005384/0.3851, allocations: 3.822 MB / 466.3 MB, free: 10.25 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.724e-05/0.3851, allocations: 12 kB / 466.3 MB, free: 10.24 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.127e-05/0.3852, allocations: 16 kB / 466.3 MB, free: 10.23 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001094/0.3863, allocations: 0.4972 MB / 466.8 MB, free: 9.719 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002169/0.3884, allocations: 0.6474 MB / 467.4 MB, free: 9.07 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00424/0.3927, allocations: 4.665 MB / 472.1 MB, free: 4.129 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002059/0.3948, allocations: 195.8 kB / 472.3 MB, free: 3.938 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001698/0.3949, allocations: 108 kB / 472.4 MB, free: 3.832 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 79 * 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 (302): * Single equations (assignments): 297 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,23)} Notification: Performance of prepare postOptimizeDAE: time 0.001684/0.3966, allocations: 1.074 MB / 473.5 MB, free: 2.75 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003459/0.397, allocations: 252.8 kB / 473.7 MB, free: 2.5 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005498/0.4025, allocations: 3.588 MB / 477.3 MB, free: 14.88 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.979e-05/0.4025, allocations: 23.94 kB / 477.3 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.4026, allocations: 8 kB / 477.3 MB, free: 14.85 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.977e-05/0.4026, allocations: 11.95 kB / 477.3 MB, free: 14.84 MB / 298.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.01622/0.4188, allocations: 9.258 MB / 486.6 MB, free: 5.484 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/0.4188, allocations: 0.6562 kB / 486.6 MB, free: 5.484 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001777/0.4206, allocations: 419.6 kB / 487 MB, free: 5.074 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001574/0.4222, allocations: 0.6238 MB / 487.6 MB, free: 4.438 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000194/0.4224, allocations: 55.97 kB / 487.7 MB, free: 4.383 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009175/0.4316, allocations: 7.482 MB / 495.2 MB, free: 12.5 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003433/0.4351, allocations: 3.015 MB / 498.2 MB, free: 9.352 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01031/0.4454, allocations: 5.354 MB / 0.4917 GB, free: 3.945 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001393/0.4468, allocations: 0.6227 MB / 0.4923 GB, free: 3.301 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006082/0.4475, allocations: 55.92 kB / 0.4924 GB, free: 3.246 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001723/0.4492, allocations: 155.9 kB / 0.4925 GB, free: 3.094 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005018/0.4497, allocations: 189.6 kB / 0.4927 GB, free: 2.906 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001628/0.4499, allocations: 59.98 kB / 0.4928 GB, free: 2.848 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.002951/0.4529, allocations: 1.46 MB / 0.4942 GB, free: 1.371 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4529, allocations: 0 / 0.4942 GB, free: 1.371 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.003243/0.4561, allocations: 0.7648 MB / 0.495 GB, free: 0.6172 MB / 314.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 (195): * Single equations (assignments): 188 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,1,100.0%), (3,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,22)} Notification: Performance of Backend phase and start with SimCode phase: time 0.009538/0.4657, allocations: 6.119 MB / 0.5009 GB, free: 10.46 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.006407/0.4721, allocations: 3.651 MB / 0.5045 GB, free: 6.746 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.4721, allocations: 4 kB / 0.5045 GB, free: 6.742 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003793/0.4759, allocations: 2.246 MB / 0.5067 GB, free: 4.438 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004109/0.4801, allocations: 0.5801 MB / 0.5073 GB, free: 3.863 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06334/0.5434, allocations: 30.63 MB / 0.5372 GB, free: 3.172 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003001/0.5465, allocations: 2.368 MB / 0.5395 GB, free: 0.7734 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.002502/0.549, allocations: 0.5712 MB / 0.5401 GB, free: 200 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1425/0.6915, allocations: 1.303 MB / 0.5413 GB, free: 119.3 MB / 362.7 MB Notification: Performance of SimCode: time 9.32e-07/0.6916, allocations: 0 / 0.5413 GB, free: 119.3 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09604/0.7876, allocations: 65.2 MB / 0.605 GB, free: 70.79 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001872/0.7878, allocations: 251.2 kB / 0.6052 GB, free: 70.54 MB / 362.7 MB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -c -o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ActuatorWithNoise.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ActuatorWithNoise.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ActuatorWithNoise.c:7: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ActuatorWithNoise_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:155: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -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:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ActuatorWithNoise_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 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:270: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:355: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:581: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) { ^ 6 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -c -o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ActuatorWithNoise_records.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ActuatorWithNoise_records.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ActuatorWithNoise_records.c:4: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -c -o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ActuatorWithNoise_01exo.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ActuatorWithNoise_01exo.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ActuatorWithNoise_01exo.c:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ActuatorWithNoise_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:155: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -c -o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ActuatorWithNoise_02nls.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ActuatorWithNoise_02nls.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ActuatorWithNoise_02nls.c:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ActuatorWithNoise_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:155: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -c -o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ActuatorWithNoise_03lsy.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ActuatorWithNoise_03lsy.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ActuatorWithNoise_03lsy.c:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ActuatorWithNoise_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:155: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -c -o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ActuatorWithNoise_04set.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ActuatorWithNoise_04set.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ActuatorWithNoise_04set.c:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ActuatorWithNoise_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:155: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -c -o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ActuatorWithNoise_05evt.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ActuatorWithNoise_05evt.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ActuatorWithNoise_05evt.c:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ActuatorWithNoise_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:155: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -c -o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ActuatorWithNoise_06inz.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ActuatorWithNoise_06inz.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ActuatorWithNoise_06inz.c:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ActuatorWithNoise_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:155: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ActuatorWithNoise_06inz.c:2039:53: error: use of undeclared identifier 'state'; did you mean 'static'? integer_array_create(&tmp8, ((modelica_integer*)&(state)), 1, (_index_t)stateSize); ^~~~~ static Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ActuatorWithNoise_06inz.c:2039:53: error: address of overloaded function 'status' does not match required type 'long' integer_array_create(&tmp8, ((modelica_integer*)&(state)), 1, (_index_t)stateSize); ^~~~~ Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ActuatorWithNoise_06inz.c:2039:75: error: use of undeclared identifier 'stateSize' integer_array_create(&tmp8, ((modelica_integer*)&(state)), 1, (_index_t)stateSize); ^ 2 warnings and 3 errors generated. make: *** [: Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ActuatorWithNoise_06inz.o] Error 1