Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions.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.Distributions,fileNamePrefix="Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Distributions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions,fileNamePrefix="Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Distributions",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.000946/0.000946, 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.042/1.042, 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.001404/0.001404, allocations: 104.5 kB / 218 MB, free: 15.34 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/package.mo): time 0.0175/0.0175, allocations: 3.067 MB / 260.2 MB, free: 5.062 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.482e-05/1.483e-05, allocations: 3 kB / 305.9 MB, free: 69.45 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05821/0.05824, allocations: 39.4 MB / 345.3 MB, free: 32.87 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2425/0.3008, allocations: 68.9 MB / 414.2 MB, free: 17.68 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000195/0.301, allocations: 81.55 kB / 414.3 MB, free: 17.68 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Math/Random/Interfaces/random.mo:7:3-7:71:writable] Warning: Unused input variable stateSize in function .Modelica_Noise.Math.Random.Generators.Xorshift64star.random. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Math/Random/Interfaces/random.mo:7:3-7:71:writable] Warning: Unused input variable stateSize in function .Modelica_Noise.Math.Random.Generators.Xorshift128plus.random. Notification: Performance of FrontEnd - DAE generated: time 0.02156/0.3226, allocations: 9.187 MB / 423.5 MB, free: 16.77 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.3226, allocations: 0 / 423.5 MB, free: 16.77 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.977e-06/0.3226, allocations: 3.875 kB / 423.5 MB, free: 16.77 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005682/0.3232, allocations: 0.4969 MB / 424 MB, free: 16.33 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.3233, allocations: 15.59 kB / 424 MB, free: 16.32 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001907/0.3235, allocations: 35.39 kB / 424 MB, free: 16.32 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.3236, allocations: 198.4 kB / 424.2 MB, free: 16.11 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/0.3236, allocations: 3.953 kB / 424.2 MB, free: 16.1 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.228e-05/0.3237, allocations: 7.781 kB / 424.2 MB, free: 16.1 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.936e-05/0.3237, allocations: 38.52 kB / 424.3 MB, free: 16.1 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001627/0.3239, allocations: 135.2 kB / 424.4 MB, free: 16.02 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.3239, allocations: 0 / 424.4 MB, free: 16.02 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.688e-05/0.324, allocations: 4.547 kB / 424.4 MB, free: 16.02 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.324, allocations: 3.844 kB / 424.4 MB, free: 16.02 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002512/0.3242, allocations: 244.9 kB / 424.6 MB, free: 15.82 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000144/0.3244, allocations: 154.3 kB / 424.8 MB, free: 15.7 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.78e-05/0.3244, allocations: 73.69 kB / 424.9 MB, free: 15.65 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.234e-05/0.3245, allocations: 0.5156 kB / 424.9 MB, free: 15.65 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002019/0.3247, allocations: 159.2 kB / 425 MB, free: 15.55 MB / 282.7 MB Notification: Performance of pre-optimization done (n=19): time 1.443e-06/0.3247, allocations: 0 / 425 MB, free: 15.55 MB / 282.7 MB Notification: Performance of matching and sorting (n=19): time 0.000696/0.3254, allocations: 240 kB / 425.2 MB, free: 15.51 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.766e-05/0.3254, allocations: 175.8 kB / 425.4 MB, free: 15.32 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.3256, allocations: 166 kB / 425.6 MB, free: 15.22 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.46e-05/0.3256, allocations: 44.2 kB / 425.6 MB, free: 15.19 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.085e-05/0.3257, allocations: 110 kB / 425.7 MB, free: 15.1 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.134e-05/0.3257, allocations: 42.5 kB / 425.8 MB, free: 15.08 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.226e-05/0.3257, allocations: 4.172 kB / 425.8 MB, free: 15.08 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.541e-05/0.3258, allocations: 328.6 kB / 426.1 MB, free: 14.77 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.165e-05/0.3259, allocations: 66.91 kB / 426.2 MB, free: 14.77 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.929e-05/0.326, allocations: 103.8 kB / 426.3 MB, free: 14.73 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004636/0.3265, allocations: 129.5 kB / 426.4 MB, free: 14.72 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3265, allocations: 3.844 kB / 426.4 MB, free: 14.72 MB / 282.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006294/0.3271, allocations: 287.9 kB / 426.7 MB, free: 14.66 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.3271, allocations: 7.75 kB / 426.7 MB, free: 14.66 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/0.3271, allocations: 1.078 kB / 426.7 MB, free: 14.66 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.3272, allocations: 7.969 kB / 426.7 MB, free: 14.66 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.3273, allocations: 23.3 kB / 426.7 MB, free: 14.66 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.3273, allocations: 8.906 kB / 426.7 MB, free: 14.65 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.511e-05/0.3274, allocations: 12.91 kB / 426.7 MB, free: 14.65 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.704e-05/0.3274, allocations: 9.062 kB / 426.7 MB, free: 14.65 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 29 (n,$whenCondition2,$PRE.truncatedNormalNoise.state[1],truncatedNormalNoise.state[1],$PRE.truncatedNormalNoise.state[2],truncatedNormalNoise.state[2],$PRE.truncatedNormalNoise.state[3],truncatedNormalNoise.state[3],$PRE.truncatedNormalNoise.state[4],truncatedNormalNoise.state[4],$PRE.truncatedNormalNoise.r,truncatedNormalNoise.r,$PRE.truncatedNormalNoise.r_raw,truncatedNormalNoise.r_raw,truncatedNormalNoise.localSeed,$whenCondition1,$PRE.uniformNoise.state[1],uniformNoise.state[1],$PRE.uniformNoise.state[2],uniformNoise.state[2],$PRE.uniformNoise.state[3],uniformNoise.state[3],$PRE.uniformNoise.state[4],uniformNoise.state[4],$PRE.uniformNoise.r,uniformNoise.r,$PRE.uniformNoise.r_raw,uniformNoise.r_raw,uniformNoise.localSeed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 21 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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 8.493e-05/0.3275, allocations: 125.6 kB / 426.9 MB, free: 14.54 MB / 282.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005718/0.3281, allocations: 254.9 kB / 427.1 MB, free: 14.48 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.331e-05/0.3281, allocations: 16.31 kB / 427.1 MB, free: 14.47 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.932e-05/0.3282, allocations: 16.19 kB / 427.1 MB, free: 14.46 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.3282, allocations: 3.875 kB / 427.1 MB, free: 14.46 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.3282, allocations: 7.875 kB / 427.2 MB, free: 14.46 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.3282, allocations: 4.672 kB / 427.2 MB, free: 14.46 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001407/0.3283, allocations: 188.4 kB / 427.3 MB, free: 14.3 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.3284, allocations: 3.875 kB / 427.3 MB, free: 14.3 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.79e-05/0.3284, allocations: 15.31 kB / 427.4 MB, free: 14.3 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.3284, allocations: 7.859 kB / 427.4 MB, free: 14.29 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.3284, allocations: 5.891 kB / 427.4 MB, free: 14.29 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.3285, allocations: 3.938 kB / 427.4 MB, free: 14.29 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.3285, allocations: 4.438 kB / 427.4 MB, free: 14.29 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006504/0.3291, allocations: 333.5 kB / 427.7 MB, free: 14.11 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.469e-05/0.3292, allocations: 110.8 kB / 427.8 MB, free: 14 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.813e-05/0.3292, allocations: 11.33 kB / 427.8 MB, free: 14 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.136e-05/0.3293, allocations: 10.39 kB / 427.8 MB, free: 14 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.766e-05/0.3293, allocations: 21.56 kB / 427.9 MB, free: 13.99 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.537e-05/0.3294, allocations: 9.594 kB / 427.9 MB, free: 13.99 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.601e-05/0.3294, allocations: 129.8 kB / 428 MB, free: 13.91 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3294, allocations: 0 / 428 MB, free: 13.91 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004813/0.3299, allocations: 159.6 kB / 428.2 MB, free: 13.87 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 17 (n,truncatedNormalNoise.localSeed,$whenCondition2,truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4],truncatedNormalNoise.r,truncatedNormalNoise.r_raw,uniformNoise.localSeed,$whenCondition1,uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4],uniformNoise.r,uniformNoise.r_raw) * Number of discrete states: 8 (uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4],truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.001349/0.3313, allocations: 1.393 MB / 429.5 MB, free: 12.81 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002281/0.3315, allocations: 214.7 kB / 429.8 MB, free: 12.74 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.3315, allocations: 0 / 429.8 MB, free: 12.74 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.797e-05/0.3316, allocations: 70.38 kB / 429.8 MB, free: 12.73 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00013/0.3318, allocations: 12.64 kB / 429.8 MB, free: 12.73 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005097/0.3323, allocations: 339.6 kB / 430.2 MB, free: 12.49 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001198/0.3324, allocations: 0.718 MB / 430.9 MB, free: 11.8 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.201e-05/0.3325, allocations: 24.02 kB / 430.9 MB, free: 11.79 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.934e-05/0.3325, allocations: 41.31 kB / 431 MB, free: 11.79 MB / 282.7 MB Notification: Performance of SimCode: time 2.91e-07/0.3325, allocations: 3.875 kB / 431 MB, free: 11.79 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05997/0.3925, allocations: 5.004 MB / 436 MB, free: 11.37 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001401/0.3927, allocations: 154.4 kB / 436.1 MB, free: 11.18 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_Distributions -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_Distributions_FMU.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Distributions_FMU.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Distributions_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_Distributions_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_Distributions -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_Distributions.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Distributions.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Distributions.c:7: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Distributions_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_Distributions -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_Distributions_functions.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Distributions_functions.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Distributions_functions.c:1: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Distributions_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_Distributions_functions.c:6: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Distributions_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_Distributions_functions.c:103: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_Distributions_functions.c:184: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_Distributions_functions.c:404: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) { ^ Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Distributions_functions.c:513:14: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_u == 0.0)) ~~~^~~~~~ Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Distributions_functions.c:513:14: note: remove extraneous parentheses around the comparison to silence this warning if((_u == 0.0)) ~ ^ ~ Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Distributions_functions.c:513:14: note: use '=' to turn this equality comparison into an assignment if((_u == 0.0)) ^~ = 7 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_Distributions -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_Distributions_records.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Distributions_records.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Distributions_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_Distributions -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_Distributions_01exo.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Distributions_01exo.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Distributions_01exo.c:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Distributions_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_Distributions -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_Distributions_02nls.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Distributions_02nls.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Distributions_02nls.c:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Distributions_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_Distributions -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_Distributions_03lsy.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Distributions_03lsy.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Distributions_03lsy.c:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Distributions_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_Distributions -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_Distributions_04set.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Distributions_04set.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Distributions_04set.c:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Distributions_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_Distributions -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_Distributions_05evt.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Distributions_05evt.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Distributions_05evt.c:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Distributions_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_Distributions -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_Distributions_06inz.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Distributions_06inz.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Distributions_06inz.c:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Distributions_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); ^ Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Distributions_06inz.c:37:55: error: use of undeclared identifier '$Pstate'; did you mean 'setstate'? integer_array_create(&tmp0, ((modelica_integer*)&((&$Pstate)[calc_base_index_dims_subs(1, $PstateSize, ((modelica_integer) 1))])), 1, $PstateSize); ^~~~~~~ setstate /usr/include/stdlib.h:415:14: note: 'setstate' declared here extern char *setstate (char *__statebuf) __THROW __nonnull ((1)); ^ Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Distributions_06inz.c:37:93: error: use of undeclared identifier '$PstateSize' integer_array_create(&tmp0, ((modelica_integer*)&((&$Pstate)[calc_base_index_dims_subs(1, $PstateSize, ((modelica_integer) 1))])), 1, $PstateSize); ^ Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Distributions_06inz.c:37:137: error: use of undeclared identifier '$PstateSize' integer_array_create(&tmp0, ((modelica_integer*)&((&$Pstate)[calc_base_index_dims_subs(1, $PstateSize, ((modelica_integer) 1))])), 1, $PstateSize); ^ Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Distributions_06inz.c:192:55: error: use of undeclared identifier '$Pstate'; did you mean 'setstate'? integer_array_create(&tmp4, ((modelica_integer*)&((&$Pstate)[calc_base_index_dims_subs(1, $PstateSize, ((modelica_integer) 1))])), 1, $PstateSize); ^~~~~~~ setstate /usr/include/stdlib.h:415:14: note: 'setstate' declared here extern char *setstate (char *__statebuf) __THROW __nonnull ((1)); ^ Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Distributions_06inz.c:192:93: error: use of undeclared identifier '$PstateSize' integer_array_create(&tmp4, ((modelica_integer*)&((&$Pstate)[calc_base_index_dims_subs(1, $PstateSize, ((modelica_integer) 1))])), 1, $PstateSize); ^ Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Distributions_06inz.c:192:137: error: use of undeclared identifier '$PstateSize' integer_array_create(&tmp4, ((modelica_integer*)&((&$Pstate)[calc_base_index_dims_subs(1, $PstateSize, ((modelica_integer) 1))])), 1, $PstateSize); ^ 2 warnings and 6 errors generated. make: *** [: Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Distributions_06inz.o] Error 1