Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.ImpureGenerator.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.ImpureGenerator,fileNamePrefix="Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Noise.Blocks.Examples.NoiseExamples.ImpureGenerator,fileNamePrefix="Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator",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.0008145/0.0008145, allocations: 167.7 kB / 7.642 MB, free: 1.426 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.048/1.048, allocations: 170.7 MB / 178.7 MB, free: 7.035 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001545/0.001545, allocations: 115.8 kB / 218 MB, free: 15.33 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.01779/0.01779, allocations: 3.059 MB / 260.2 MB, free: 5.062 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.547e-05/1.549e-05, allocations: 2.25 kB / 305.9 MB, free: 69.48 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05725/0.05728, allocations: 39.4 MB / 345.3 MB, free: 32.89 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2135/0.2709, allocations: 66.07 MB / 411.4 MB, free: 22.56 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001802/0.2711, allocations: 75.73 kB / 411.4 MB, free: 22.56 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Math/Random/Interfaces/random.mo:7:3-7:71:writable] Warning: Unused input variable stateSize in function .Modelica_Noise.Math.Random.Generators.Xorshift64star.random. Notification: Performance of FrontEnd - DAE generated: time 0.006155/0.2773, allocations: 2.636 MB / 414.1 MB, free: 22.12 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2773, allocations: 0 / 414.1 MB, free: 22.12 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.2773, allocations: 2.312 kB / 414.1 MB, free: 22.12 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002252/0.2775, allocations: 345.8 kB / 414.4 MB, free: 21.76 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.2776, allocations: 11.53 kB / 414.4 MB, free: 21.76 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.963e-05/0.2776, allocations: 1.031 kB / 414.4 MB, free: 21.76 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001028/0.2777, allocations: 166.9 kB / 414.6 MB, free: 21.56 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.2778, allocations: 0 / 414.6 MB, free: 21.56 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.276e-05/0.2778, allocations: 5.203 kB / 414.6 MB, free: 21.56 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.282e-05/0.2778, allocations: 8.781 kB / 414.6 MB, free: 21.55 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.919e-05/0.2779, allocations: 37.92 kB / 414.6 MB, free: 21.52 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.2779, allocations: 0 / 414.6 MB, free: 21.52 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.2779, allocations: 1.875 kB / 414.6 MB, free: 21.52 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.2779, allocations: 0 / 414.6 MB, free: 21.52 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.019e-05/0.278, allocations: 132.7 kB / 414.8 MB, free: 21.36 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.473e-05/0.278, allocations: 17.23 kB / 414.8 MB, free: 21.34 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.082e-05/0.2781, allocations: 5.953 kB / 414.8 MB, free: 21.33 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.613e-06/0.2781, allocations: 5.094 kB / 414.8 MB, free: 21.33 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.883e-05/0.2782, allocations: 62.81 kB / 414.8 MB, free: 21.27 MB / 282.7 MB Notification: Performance of pre-optimization done (n=2): time 1.272e-06/0.2782, allocations: 0 / 414.8 MB, free: 21.27 MB / 282.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001251/0.2783, allocations: 50.22 kB / 414.9 MB, free: 21.23 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.907e-05/0.2783, allocations: 52.56 kB / 414.9 MB, free: 21.17 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.173e-05/0.2784, allocations: 98 kB / 415 MB, free: 21.08 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.053e-06/0.2784, allocations: 25.7 kB / 415.1 MB, free: 21.05 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.024e-05/0.2784, allocations: 89.05 kB / 415.2 MB, free: 20.96 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.354e-05/0.2784, allocations: 4.75 kB / 415.2 MB, free: 20.96 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.405e-06/0.2785, allocations: 0 / 415.2 MB, free: 20.96 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.336e-05/0.2785, allocations: 315.6 kB / 415.5 MB, free: 20.65 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.434e-06/0.2785, allocations: 1.406 kB / 415.5 MB, free: 20.65 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.112e-05/0.2785, allocations: 10.91 kB / 415.5 MB, free: 20.63 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.383e-05/0.2786, allocations: 6.5 kB / 415.5 MB, free: 20.63 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.2786, allocations: 5 kB / 415.5 MB, free: 20.62 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.636e-05/0.2786, allocations: 40.78 kB / 415.5 MB, free: 20.59 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/0.2786, allocations: 5.125 kB / 415.5 MB, free: 20.59 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.2786, allocations: 2.031 kB / 415.5 MB, free: 20.59 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.2787, allocations: 5.516 kB / 415.5 MB, free: 20.59 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.355e-05/0.2787, allocations: 8.859 kB / 415.6 MB, free: 20.58 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.576e-06/0.2787, allocations: 0 / 415.6 MB, free: 20.58 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.488e-05/0.2787, allocations: 1.25 kB / 415.6 MB, free: 20.58 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.969e-06/0.2787, allocations: 1.438 kB / 415.6 MB, free: 20.58 MB / 282.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: 2 ($whenCondition1,impureRandom.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.007e-05/0.2788, allocations: 112.3 kB / 415.7 MB, free: 20.47 MB / 282.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 4.439e-05/0.2788, allocations: 41.27 kB / 415.7 MB, free: 20.44 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.466e-06/0.2788, allocations: 12.09 kB / 415.7 MB, free: 20.43 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.924e-05/0.2789, allocations: 9.047 kB / 415.7 MB, free: 20.42 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.2789, allocations: 1.062 kB / 415.7 MB, free: 20.42 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.2789, allocations: 0 / 415.7 MB, free: 20.42 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.2789, allocations: 1.062 kB / 415.7 MB, free: 20.42 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.398e-05/0.279, allocations: 134.2 kB / 415.9 MB, free: 20.27 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.279, allocations: 1.125 kB / 415.9 MB, free: 20.27 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.887e-06/0.279, allocations: 4.688 kB / 415.9 MB, free: 20.26 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.279, allocations: 1.156 kB / 415.9 MB, free: 20.26 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-06/0.279, allocations: 0.5156 kB / 415.9 MB, free: 20.26 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.279, allocations: 4.984 kB / 415.9 MB, free: 20.26 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.279, allocations: 0 / 415.9 MB, free: 20.26 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.538e-05/0.2791, allocations: 76.92 kB / 415.9 MB, free: 20.18 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.935e-05/0.2791, allocations: 80.14 kB / 416 MB, free: 20.09 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.18e-05/0.2791, allocations: 4.031 kB / 416 MB, free: 20.09 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.343e-05/0.2791, allocations: 1.609 kB / 416 MB, free: 20.09 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.671e-05/0.2792, allocations: 5.797 kB / 416 MB, free: 20.08 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.153e-06/0.2792, allocations: 1.547 kB / 416 MB, free: 20.08 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.633e-05/0.2792, allocations: 87.83 kB / 416.1 MB, free: 20.01 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2792, allocations: 0 / 416.1 MB, free: 20.01 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002393/0.2795, allocations: 36.34 kB / 416.2 MB, free: 20 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,impureRandom.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003593/0.2798, allocations: 0.6544 MB / 416.8 MB, free: 19.39 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 5.49e-05/0.2799, allocations: 9.906 kB / 416.8 MB, free: 19.39 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2799, allocations: 5.719 kB / 416.8 MB, free: 19.38 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.46e-05/0.2799, allocations: 2.531 kB / 416.8 MB, free: 19.38 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.776e-05/0.28, allocations: 9.641 kB / 416.8 MB, free: 19.38 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002425/0.2803, allocations: 107.8 kB / 416.9 MB, free: 19.26 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.852e-05/0.2804, allocations: 0.6787 MB / 417.6 MB, free: 18.57 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.384e-05/0.2804, allocations: 11 kB / 417.6 MB, free: 18.56 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.233e-05/0.2804, allocations: 11.66 kB / 417.6 MB, free: 18.56 MB / 282.7 MB Notification: Performance of SimCode: time 2.6e-07/0.2804, allocations: 0 / 417.6 MB, free: 18.56 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01926/0.2997, allocations: 1.531 MB / 419.2 MB, free: 18.41 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001606/0.2999, allocations: 157.9 kB / 419.3 MB, free: 18.22 MB / 282.7 MB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -DOMC_MODEL_PREFIX=Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_FMU.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_FMU.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_FMU.c:9: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221: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_ImpureGenerator_FMU.c:54: include/fmi2/fmu2_model_interface.c:73:11: warning: enumeration value 'modelSlaveInitialized' not handled in switch [-Wswitch] switch (comp->state) ^ include/fmi2/fmu2_model_interface.c:162:16: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] GC_vasprintf(&str, msg, args); ^~~~ include/util/modelica_string.h:71:31: note: passing argument to parameter 'strp' here int GC_vasprintf(const char **strp, const char *fmt, va_list ap); ^ 4 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -DOMC_MODEL_PREFIX=Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator.c:7: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -DOMC_MODEL_PREFIX=Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_functions.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_functions.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_functions.c:1: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_functions.h:3: In file included from include/meta/meta_modelica.h:49: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221: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_ImpureGenerator_functions.c:6: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_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_ImpureGenerator_functions.c:71: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_ImpureGenerator_functions.c:262:52: warning: passing 'const int *' to parameter of type 'int *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] ModelicaRandom_setInternalState_xorshift1024star((const int*) _rngState_c89, size_of_dimension_base_array(_rngState, ((modelica_integer) 1)), _id_ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include/ModelicaRandom.c:530:76: note: passing argument to parameter 'state' here MODELICA_EXPORT void ModelicaRandom_setInternalState_xorshift1024star(int* state, size_t nState, int id) { ^ 5 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -DOMC_MODEL_PREFIX=Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_records.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_records.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_records.c:3: In file included from include/meta/meta_modelica.h:49: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -DOMC_MODEL_PREFIX=Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_01exo.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_01exo.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_01exo.c:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -DOMC_MODEL_PREFIX=Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_02nls.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_02nls.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_02nls.c:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -DOMC_MODEL_PREFIX=Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_03lsy.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_03lsy.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_03lsy.c:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -DOMC_MODEL_PREFIX=Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_04set.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_04set.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_04set.c:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -DOMC_MODEL_PREFIX=Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_05evt.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_05evt.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_05evt.c:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -DOMC_MODEL_PREFIX=Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_06inz.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_06inz.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_06inz.c:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -DOMC_MODEL_PREFIX=Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_07dly.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_07dly.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_07dly.c:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -DOMC_MODEL_PREFIX=Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_08bnd.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_08bnd.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_08bnd.c:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -DOMC_MODEL_PREFIX=Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_09alg.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_09alg.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_09alg.c:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -DOMC_MODEL_PREFIX=Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_10asr.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_10asr.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_10asr.c:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -DOMC_MODEL_PREFIX=Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_11mix.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_11mix.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_11mix.c:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -DOMC_MODEL_PREFIX=Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_12jac.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_12jac.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_12jac.c:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -DOMC_MODEL_PREFIX=Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_13opt.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_13opt.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_13opt.c:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -DOMC_MODEL_PREFIX=Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_14lnz.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_14lnz.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_14lnz.c:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -DOMC_MODEL_PREFIX=Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_15syn.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_15syn.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_15syn.c:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -DOMC_MODEL_PREFIX=Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_16dae.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_16dae.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_16dae.c:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -DOMC_MODEL_PREFIX=Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_17inl.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_17inl.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_17inl.c:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -DOMC_MODEL_PREFIX=Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_init_fmu.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_init_fmu.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_init_fmu.c:1: In file included from include/simulation_data.h:39: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. mkdir -p ../binaries/linux64 clang -shared -o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator.so Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_FMU.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_functions.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_records.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_01exo.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_02nls.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_03lsy.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_04set.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_05evt.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_06inz.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_07dly.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_08bnd.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_09alg.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_10asr.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_11mix.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_12jac.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_13opt.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_14lnz.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_15syn.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_16dae.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_17inl.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_init_fmu.o -L"/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Blocks/Examples/NoiseExamples" -L'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc' -Wl,-rpath,'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc' -lSimulationRuntimeFMI -llapack -lblas -lm -lpthread -rdynamic -Wl,--no-undefined /usr/bin/ld: Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_functions.o: in function `ModelicaRandom_automaticGlobalSeed': Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_functions.c:(.text+0x2cd): undefined reference to `_getpid' clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [Makefile:44: nozip] Error 1