Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoiseProperties.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.UniformNoiseProperties,fileNamePrefix="Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoiseProperties,fileNamePrefix="Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoiseProperties",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.000806/0.000806, allocations: 168.7 kB / 15.41 MB, free: 6.207 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.9941/0.9941, allocations: 170.5 MB / 186.7 MB, free: 1.172 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.001516/0.001516, allocations: 97.64 kB / 226 MB, free: 10.3 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.01923/0.01923, allocations: 3.116 MB / 268.3 MB, free: 15.9 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003421/0.0003421, allocations: 16 kB / 318.2 MB, free: 63.21 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05565/0.056, allocations: 39.13 MB / 357.4 MB, free: 24.2 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoiseProperties): time 0.001577/0.05763, allocations: 1.556 MB / 358.9 MB, free: 22.62 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001323/0.05896, allocations: 1.013 MB / 359.9 MB, free: 21.6 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.6e-05/0.05905, allocations: 8 kB / 359.9 MB, free: 21.59 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001122/0.05918, allocations: 11.86 kB / 360 MB, free: 21.58 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003626/0.05955, allocations: 87.66 kB / 360 MB, free: 21.5 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001938/0.05975, allocations: 107.8 kB / 360.1 MB, free: 21.39 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001536/0.05992, allocations: 207.5 kB / 360.3 MB, free: 21.19 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001349/0.06006, allocations: 60.5 kB / 360.4 MB, free: 21.13 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.522e-05/0.06015, allocations: 83.61 kB / 360.5 MB, free: 21.05 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.789e-05/0.06026, allocations: 91.58 kB / 360.6 MB, free: 20.96 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.721e-05/0.06029, allocations: 8 kB / 360.6 MB, free: 20.95 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002002/0.0605, allocations: 147.8 kB / 360.7 MB, free: 20.8 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.253e-05/0.06055, allocations: 47.81 kB / 360.8 MB, free: 20.76 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.039e-05/0.06062, allocations: 83.45 kB / 360.9 MB, free: 20.68 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002328/0.06086, allocations: 295.1 kB / 361.1 MB, free: 20.39 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.06087, allocations: 0 / 361.1 MB, free: 20.39 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.06088, allocations: 0 / 361.1 MB, free: 20.39 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.06089, allocations: 0 / 361.1 MB, free: 20.39 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0008253/0.06172, allocations: 0.5466 MB / 361.7 MB, free: 19.79 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.06176, allocations: 12.03 kB / 361.7 MB, free: 19.78 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.125e-05/0.0618, allocations: 50.73 kB / 361.8 MB, free: 19.72 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001738/0.06198, allocations: 36.64 kB / 361.8 MB, free: 19.68 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001773/0.06217, allocations: 243.9 kB / 362 MB, free: 19.41 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.234e-05/0.0622, allocations: 12.66 kB / 362 MB, free: 19.39 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.321e-05/0.06224, allocations: 20.38 kB / 362.1 MB, free: 19.38 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004192/0.06266, allocations: 240.3 kB / 362.3 MB, free: 19.13 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.06268, allocations: 0 / 362.3 MB, free: 19.13 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.753e-05/0.06271, allocations: 4 kB / 362.3 MB, free: 19.12 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.06272, allocations: 4 kB / 362.3 MB, free: 19.12 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003912/0.06311, allocations: 187.8 kB / 362.5 MB, free: 18.94 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007982/0.06392, allocations: 0.6446 MB / 363.1 MB, free: 18.24 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009266/0.06486, allocations: 397.2 kB / 363.5 MB, free: 17.83 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002666/0.06514, allocations: 145.6 kB / 363.7 MB, free: 17.68 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.06517, allocations: 15.98 kB / 363.7 MB, free: 17.67 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003465/0.06552, allocations: 208.8 kB / 363.9 MB, free: 17.45 MB / 250.7 MB Notification: Performance of pre-optimization done (n=23): time 1.403e-06/0.06553, allocations: 0 / 363.9 MB, free: 17.45 MB / 250.7 MB Notification: Performance of matching and sorting (n=23): time 0.0008786/0.06642, allocations: 432.3 kB / 364.3 MB, free: 17.02 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.339e-05/0.06646, allocations: 85.11 kB / 364.4 MB, free: 16.92 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001433/0.06661, allocations: 207.8 kB / 364.6 MB, free: 16.7 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.423e-05/0.06665, allocations: 37.7 kB / 364.6 MB, free: 16.66 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.628e-05/0.06671, allocations: 132.4 kB / 364.8 MB, free: 16.53 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.828e-05/0.06676, allocations: 75.02 kB / 364.8 MB, free: 16.45 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.834e-05/0.0668, allocations: 37.7 kB / 364.9 MB, free: 16.41 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 4.835e-05/0.06686, allocations: 338.8 kB / 365.2 MB, free: 16.07 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002853/0.06715, allocations: 139.9 kB / 365.3 MB, free: 15.93 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002864/0.06744, allocations: 173.8 kB / 365.5 MB, free: 15.76 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000532/0.06798, allocations: 306 kB / 365.8 MB, free: 15.45 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.06799, allocations: 0 / 365.8 MB, free: 15.45 MB / 250.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006528/0.06865, allocations: 406 kB / 366.2 MB, free: 15.05 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.06868, allocations: 7.938 kB / 366.2 MB, free: 15.04 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.06869, allocations: 0 / 366.2 MB, free: 15.04 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.0687, allocations: 4 kB / 366.2 MB, free: 15.04 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002494/0.06896, allocations: 71.89 kB / 366.3 MB, free: 14.97 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.06897, allocations: 8 kB / 366.3 MB, free: 14.96 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001542/0.06913, allocations: 51.59 kB / 366.3 MB, free: 14.91 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.781e-05/0.06916, allocations: 8 kB / 366.3 MB, free: 14.9 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,noise.r_raw,$PRE.noise.r_raw,noise.r,$PRE.noise.r,noise.state[4],$PRE.noise.state[4],noise.state[3],$PRE.noise.state[3],noise.state[2],$PRE.noise.state[2],noise.state[1],$PRE.noise.state[1],noise.localSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 34 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001021/0.06927, allocations: 151.7 kB / 366.5 MB, free: 14.75 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.055e-05/0.0693, allocations: 23.66 kB / 366.5 MB, free: 14.72 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.339e-05/0.06936, allocations: 25.86 kB / 366.5 MB, free: 14.7 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.06937, allocations: 4 kB / 366.5 MB, free: 14.7 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.666e-06/0.06938, allocations: 0 / 366.5 MB, free: 14.7 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.06939, allocations: 0 / 366.5 MB, free: 14.7 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008989/0.07029, allocations: 0.6778 MB / 367.2 MB, free: 13.96 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.07031, allocations: 8 kB / 367.2 MB, free: 13.95 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002218/0.07053, allocations: 51.95 kB / 367.3 MB, free: 13.9 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.07055, allocations: 11.88 kB / 367.3 MB, free: 13.89 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.95e-05/0.07057, allocations: 0 / 367.3 MB, free: 13.89 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.07058, allocations: 7.984 kB / 367.3 MB, free: 13.88 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.07059, allocations: 0 / 367.3 MB, free: 13.88 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009492/0.07154, allocations: 0.5472 MB / 367.8 MB, free: 13.32 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.474e-05/0.07159, allocations: 100.8 kB / 367.9 MB, free: 13.2 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.908e-05/0.07163, allocations: 16.06 kB / 368 MB, free: 13.18 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001772/0.07182, allocations: 23.97 kB / 368 MB, free: 13.16 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.401e-05/0.07188, allocations: 15.98 kB / 368 MB, free: 13.14 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.504e-05/0.0719, allocations: 7.984 kB / 368 MB, free: 13.14 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001005/0.07201, allocations: 149.5 kB / 368.2 MB, free: 12.99 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.07201, allocations: 4 kB / 368.2 MB, free: 12.99 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002967/0.07232, allocations: 71.84 kB / 368.2 MB, free: 12.92 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (mean.mu,variance.mu,variance.var,standardDeviation.variance.mu,standardDeviation.variance.var) * Number of discrete variables: 8 (noise.localSeed,$whenCondition1,noise.state[1],noise.state[2],noise.state[3],noise.state[4],noise.r,noise.r_raw) * Number of discrete states: 4 (noise.state[1],noise.state[2],noise.state[3],noise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001209/0.07353, allocations: 1.168 MB / 369.4 MB, free: 11.73 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0005997/0.07414, allocations: 311.8 kB / 369.7 MB, free: 11.43 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.07415, allocations: 0 / 369.7 MB, free: 11.43 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002728/0.07443, allocations: 143.9 kB / 369.8 MB, free: 11.29 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003289/0.07477, allocations: 23.97 kB / 369.9 MB, free: 11.26 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003032/0.07781, allocations: 2.923 MB / 372.8 MB, free: 8.25 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001255/0.07795, allocations: 0.7398 MB / 373.5 MB, free: 7.484 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001113/0.07807, allocations: 41.86 kB / 373.6 MB, free: 7.445 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.07818, allocations: 67.41 kB / 373.6 MB, free: 7.379 MB / 250.7 MB Notification: Performance of SimCode: time 3.51e-07/0.07818, allocations: 0 / 373.6 MB, free: 7.379 MB / 250.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01745/0.09564, allocations: 5.045 MB / 378.7 MB, free: 2.438 MB / 250.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001211/0.09579, allocations: 230.5 kB / 378.9 MB, free: 2.18 MB / 250.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_UniformNoiseProperties.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoiseProperties.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoiseProperties.c:7: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoiseProperties_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_UniformNoiseProperties_functions.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoiseProperties_functions.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoiseProperties_functions.c:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoiseProperties_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_UniformNoiseProperties_functions.c:7: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoiseProperties_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_UniformNoiseProperties_functions.c:23: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_UniformNoiseProperties_functions.c:108: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_UniformNoiseProperties_functions.c:334: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_UniformNoiseProperties_records.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoiseProperties_records.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoiseProperties_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_UniformNoiseProperties_01exo.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoiseProperties_01exo.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoiseProperties_01exo.c:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoiseProperties_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_UniformNoiseProperties_02nls.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoiseProperties_02nls.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoiseProperties_02nls.c:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoiseProperties_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_UniformNoiseProperties_03lsy.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoiseProperties_03lsy.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoiseProperties_03lsy.c:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoiseProperties_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_UniformNoiseProperties_04set.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoiseProperties_04set.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoiseProperties_04set.c:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoiseProperties_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_UniformNoiseProperties_05evt.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoiseProperties_05evt.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoiseProperties_05evt.c:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoiseProperties_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_UniformNoiseProperties_06inz.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoiseProperties_06inz.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoiseProperties_06inz.c:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoiseProperties_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_UniformNoiseProperties_06inz.c:127:53: error: use of undeclared identifier 'state'; did you mean 'static'? integer_array_create(&tmp1, ((modelica_integer*)&(state)), 1, (_index_t)stateSize); ^~~~~ static Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoiseProperties_06inz.c:127:53: error: address of overloaded function 'status' does not match required type 'long' integer_array_create(&tmp1, ((modelica_integer*)&(state)), 1, (_index_t)stateSize); ^~~~~ Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoiseProperties_06inz.c:127:75: error: use of undeclared identifier 'stateSize' integer_array_create(&tmp1, ((modelica_integer*)&(state)), 1, (_index_t)stateSize); ^ 2 warnings and 3 errors generated. make: *** [: Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoiseProperties_06inz.o] Error 1