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.0008625/0.0008625, allocations: 173.5 kB / 15.42 MB, free: 6.215 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 0.9846/0.9846, allocations: 170.5 MB / 186.7 MB, free: 1.082 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.001428/0.001428, allocations: 106.9 kB / 226 MB, free: 10.29 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.019/0.019, allocations: 3.104 MB / 268.3 MB, free: 15.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003544/0.0003545, allocations: 8 kB / 318.2 MB, free: 63.2 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05818/0.05855, allocations: 39.14 MB / 357.4 MB, free: 24.2 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoise): time 0.01422/0.07282, allocations: 13.1 MB / 370.5 MB, free: 11.03 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01078/0.08365, allocations: 5.047 MB / 375.5 MB, free: 5.973 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002505/0.08619, allocations: 63.69 kB / 375.6 MB, free: 5.91 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002017/0.08823, allocations: 0.804 MB / 376.4 MB, free: 5.102 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003848/0.0921, allocations: 1.04 MB / 377.4 MB, free: 4.059 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002099/0.09423, allocations: 0.8272 MB / 378.2 MB, free: 3.23 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.004641/0.09889, allocations: 4.405 MB / 382.6 MB, free: 14.81 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00328/0.1022, allocations: 2.573 MB / 385.2 MB, free: 12.17 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002162/0.1044, allocations: 1.393 MB / 386.6 MB, free: 10.77 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0022/0.1066, allocations: 1.793 MB / 388.4 MB, free: 8.969 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004299/0.107, allocations: 204 kB / 388.6 MB, free: 8.77 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001256/0.1083, allocations: 0.5151 MB / 389.1 MB, free: 8.254 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009181/0.1092, allocations: 1.008 MB / 390.1 MB, free: 7.242 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00149/0.1107, allocations: 1.772 MB / 391.9 MB, free: 5.461 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005179/0.1159, allocations: 6.836 MB / 398.7 MB, free: 14.6 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1159, allocations: 0 / 398.7 MB, free: 14.6 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.354e-06/0.1159, allocations: 0 / 398.7 MB, free: 14.6 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.000103/0.1161, allocations: 0 / 398.7 MB, free: 14.6 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.00697/0.123, allocations: 3.552 MB / 402.3 MB, free: 10.98 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/0.1231, allocations: 12.03 kB / 402.3 MB, free: 10.96 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006634/0.1238, allocations: 450.9 kB / 402.7 MB, free: 10.51 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001181/0.125, allocations: 455.3 kB / 403.2 MB, free: 10.06 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003349/0.1283, allocations: 2.162 MB / 405.3 MB, free: 7.848 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006355/0.129, allocations: 419.2 kB / 405.8 MB, free: 7.418 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004091/0.1294, allocations: 315.8 kB / 406.1 MB, free: 7.109 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006562/0.136, allocations: 4.262 MB / 410.3 MB, free: 2.773 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.375e-05/0.1361, allocations: 11.84 kB / 410.3 MB, free: 2.762 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002767/0.1363, allocations: 131.9 kB / 410.5 MB, free: 2.633 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001207/0.1365, allocations: 150.1 kB / 410.6 MB, free: 2.484 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1274/0.2639, allocations: 3.826 MB / 414.4 MB, free: 51.34 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01929/0.2832, allocations: 14.15 MB / 428.6 MB, free: 42.8 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002613/0.2859, allocations: 2.12 MB / 430.7 MB, free: 41.5 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00186/0.2878, allocations: 1.291 MB / 432 MB, free: 40.86 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000235/0.288, allocations: 142.7 kB / 432.1 MB, free: 40.75 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001833/0.2899, allocations: 1.309 MB / 433.4 MB, free: 39.96 MB / 282.7 MB Notification: Performance of pre-optimization done (n=184): time 3.937e-06/0.2899, allocations: 0.5938 kB / 433.4 MB, free: 39.96 MB / 282.7 MB Notification: Performance of matching and sorting (n=232): time 0.02474/0.3146, allocations: 13.29 MB / 446.7 MB, free: 30.54 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002684/0.3173, allocations: 3.255 MB / 450 MB, free: 27.1 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002407/0.3198, allocations: 2.133 MB / 452.1 MB, free: 24.94 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002451/0.32, allocations: 77.64 kB / 452.2 MB, free: 24.86 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007983/0.3208, allocations: 1.473 MB / 453.7 MB, free: 23.37 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004308/0.3213, allocations: 0.7766 MB / 454.5 MB, free: 22.6 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002246/0.3215, allocations: 207 kB / 454.7 MB, free: 22.39 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.067e-05/0.3215, allocations: 309.1 kB / 455 MB, free: 22.09 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001618/0.3232, allocations: 1.266 MB / 456.2 MB, free: 20.82 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001819/0.325, allocations: 1.913 MB / 458.1 MB, free: 18.65 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003517/0.3285, allocations: 3.26 MB / 461.4 MB, free: 15.12 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.315e-06/0.3285, allocations: 4 kB / 461.4 MB, free: 15.12 MB / 282.7 MB Notification: Performance of matching and sorting (n=333) (initialization): time 0.005102/0.3336, allocations: 3.826 MB / 465.2 MB, free: 11.24 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/0.3337, allocations: 12 kB / 465.2 MB, free: 11.23 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.238e-05/0.3337, allocations: 16 kB / 465.3 MB, free: 11.21 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001059/0.3348, allocations: 0.509 MB / 465.8 MB, free: 10.69 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00215/0.3369, allocations: 0.6396 MB / 466.4 MB, free: 10.05 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00415/0.3411, allocations: 4.663 MB / 471.1 MB, free: 5.109 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00186/0.343, allocations: 191.8 kB / 471.3 MB, free: 4.922 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001643/0.3432, allocations: 104 kB / 471.4 MB, free: 4.82 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,gearbox.lossyGear.ideal,gearbox.lossyGear.mode,$PRE.gearbox.lossyGear.mode,gearbox.lossyGear.locked,gearbox.lossyGear.startBackward,gearbox.lossyGear.startForward,gearbox.lossyGear.tau_aPos,motor.uniformNoise.r_raw,$PRE.motor.uniformNoise.r_raw,motor.uniformNoise.r,$PRE.motor.uniformNoise.r,motor.uniformNoise.state[4],$PRE.motor.uniformNoise.state[4],motor.uniformNoise.state[3],$PRE.motor.uniformNoise.state[3],motor.uniformNoise.state[2],$PRE.motor.uniformNoise.state[2],motor.uniformNoise.state[1],$PRE.motor.uniformNoise.state[1],motor.uniformNoise.localSeed) * 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.001591/0.3448, allocations: 1.078 MB / 472.4 MB, free: 3.734 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004058/0.3452, allocations: 260.8 kB / 472.7 MB, free: 3.477 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00508/0.3503, allocations: 3.588 MB / 476.3 MB, free: 15.86 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-05/0.3503, allocations: 24 kB / 476.3 MB, free: 15.84 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/0.3503, allocations: 8 kB / 476.3 MB, free: 15.83 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.045e-05/0.3503, allocations: 11.95 kB / 476.3 MB, free: 15.82 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.01429/0.3646, allocations: 9.258 MB / 485.6 MB, free: 6.469 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.696e-06/0.3647, allocations: 4 kB / 485.6 MB, free: 6.465 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001685/0.3664, allocations: 420.2 kB / 486 MB, free: 6.055 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001536/0.3679, allocations: 0.6277 MB / 486.6 MB, free: 5.414 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001549/0.3681, allocations: 51.97 kB / 486.7 MB, free: 5.363 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008141/0.3762, allocations: 7.479 MB / 494.1 MB, free: 13.48 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003087/0.3794, allocations: 3.001 MB / 497.1 MB, free: 10.34 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008397/0.3878, allocations: 5.36 MB / 0.4907 GB, free: 4.93 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001274/0.3891, allocations: 0.6188 MB / 0.4913 GB, free: 4.289 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003301/0.3894, allocations: 48 kB / 0.4914 GB, free: 4.242 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001301/0.3907, allocations: 155.8 kB / 0.4915 GB, free: 4.09 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004118/0.3912, allocations: 185.7 kB / 0.4917 GB, free: 3.906 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001329/0.3913, allocations: 67.97 kB / 0.4918 GB, free: 3.84 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.002158/0.3935, allocations: 1.452 MB / 0.4932 GB, free: 2.371 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.3935, allocations: 0 / 0.4932 GB, free: 2.371 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002245/0.3957, allocations: 0.7682 MB / 0.4939 GB, free: 1.613 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.008841/0.4046, allocations: 6.131 MB / 0.4999 GB, free: 11.45 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.005855/0.4105, allocations: 3.645 MB / 0.5035 GB, free: 7.738 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.161e-06/0.4105, allocations: 0 / 0.5035 GB, free: 7.738 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003491/0.414, allocations: 2.25 MB / 0.5057 GB, free: 5.426 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00335/0.4174, allocations: 0.5872 MB / 0.5063 GB, free: 4.848 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06184/0.4792, allocations: 30.47 MB / 0.536 GB, free: 4.332 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002376/0.4816, allocations: 2.366 MB / 0.5383 GB, free: 1.938 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.002147/0.4838, allocations: 0.5712 MB / 0.5389 GB, free: 1.359 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00202/0.4858, allocations: 1.304 MB / 0.5402 GB, free: 56 kB / 362.7 MB Notification: Performance of SimCode: time 7.41e-07/0.4858, allocations: 0 / 0.5402 GB, free: 56 kB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2207/0.7065, allocations: 65.21 MB / 0.6038 GB, free: 71.18 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001892/0.7068, allocations: 251.3 kB / 0.6041 GB, free: 70.93 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