Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoise.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.UniformNoise,fileNamePrefix="Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoise,fileNamePrefix="Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoise",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.001242/0.001242, allocations: 169.6 kB / 15.44 MB, free: 6.238 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.014/1.014, allocations: 170.8 MB / 187 MB, free: 0.8438 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.001436/0.001436, allocations: 94.14 kB / 226.5 MB, free: 9.969 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.01881/0.01881, allocations: 3.109 MB / 269.1 MB, free: 15.29 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003208/0.000321, allocations: 12 kB / 319.4 MB, free: 62.76 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05775/0.05809, allocations: 39.39 MB / 358.8 MB, free: 23.47 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoise): time 0.001226/0.05934, allocations: 1.128 MB / 359.9 MB, free: 22.33 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0012/0.06057, allocations: 0.8378 MB / 360.7 MB, free: 21.48 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.282e-05/0.06064, allocations: 4 kB / 360.7 MB, free: 21.48 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.215e-05/0.06071, allocations: 3.938 kB / 360.7 MB, free: 21.48 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000363/0.06108, allocations: 75.78 kB / 360.8 MB, free: 21.4 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001546/0.06125, allocations: 59.88 kB / 360.9 MB, free: 21.34 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 6.558e-05/0.06132, allocations: 59.84 kB / 360.9 MB, free: 21.29 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.199e-05/0.06137, allocations: 8.172 kB / 360.9 MB, free: 21.28 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.42e-05/0.06143, allocations: 27.84 kB / 361 MB, free: 21.25 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.751e-05/0.06148, allocations: 27.84 kB / 361 MB, free: 21.22 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.374e-05/0.0615, allocations: 4 kB / 361 MB, free: 21.22 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002246/0.06173, allocations: 143.7 kB / 361.1 MB, free: 21.08 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.347e-05/0.06177, allocations: 15.98 kB / 361.2 MB, free: 21.06 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.763e-05/0.06182, allocations: 57.5 kB / 361.2 MB, free: 21 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002106/0.06203, allocations: 155.9 kB / 361.4 MB, free: 20.85 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.06205, allocations: 3.938 kB / 361.4 MB, free: 20.84 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.06205, allocations: 3.938 kB / 361.4 MB, free: 20.84 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.436e-06/0.06206, allocations: 0 / 361.4 MB, free: 20.84 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003987/0.06247, allocations: 391.3 kB / 361.8 MB, free: 20.41 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.123e-05/0.06251, allocations: 8.031 kB / 361.8 MB, free: 20.4 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.941e-05/0.06254, allocations: 46.73 kB / 361.8 MB, free: 20.35 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001571/0.0627, allocations: 20.83 kB / 361.8 MB, free: 20.33 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.943e-05/0.06281, allocations: 187 kB / 362 MB, free: 20.11 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.06284, allocations: 8.359 kB / 362 MB, free: 20.1 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.274e-05/0.06285, allocations: 8.125 kB / 362 MB, free: 20.09 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/0.063, allocations: 75.39 kB / 362.1 MB, free: 20.01 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.06302, allocations: 3.938 kB / 362.1 MB, free: 20 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.06304, allocations: 4 kB / 362.1 MB, free: 20 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.06305, allocations: 3.984 kB / 362.1 MB, free: 20 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.558e-05/0.06315, allocations: 31.92 kB / 362.1 MB, free: 19.96 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001478/0.0633, allocations: 198.4 kB / 362.3 MB, free: 19.72 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001518/0.06346, allocations: 93.06 kB / 362.4 MB, free: 19.61 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.646e-05/0.06353, allocations: 41.77 kB / 362.5 MB, free: 19.56 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.532e-06/0.06354, allocations: 4 kB / 362.5 MB, free: 19.56 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001635/0.06371, allocations: 101.1 kB / 362.6 MB, free: 19.44 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 1.353e-06/0.06372, allocations: 0 / 362.6 MB, free: 19.44 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002927/0.06402, allocations: 149.5 kB / 362.7 MB, free: 19.29 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.149e-05/0.06406, allocations: 89.22 kB / 362.8 MB, free: 19.18 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.996e-05/0.06415, allocations: 138.1 kB / 362.9 MB, free: 19.04 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/0.06418, allocations: 33.77 kB / 363 MB, free: 19 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.035e-05/0.06421, allocations: 96.08 kB / 363.1 MB, free: 18.9 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.885e-05/0.06425, allocations: 23.73 kB / 363.1 MB, free: 18.88 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.552e-06/0.06426, allocations: 4 kB / 363.1 MB, free: 18.87 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 4.902e-05/0.06431, allocations: 322.8 kB / 363.4 MB, free: 18.55 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.236e-05/0.0644, allocations: 43.98 kB / 363.4 MB, free: 18.5 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.153e-05/0.06449, allocations: 65.69 kB / 363.5 MB, free: 18.43 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001478/0.06465, allocations: 113.1 kB / 363.6 MB, free: 18.32 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.06466, allocations: 3.938 kB / 363.6 MB, free: 18.32 MB / 250.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002093/0.06487, allocations: 161.5 kB / 363.8 MB, free: 18.15 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.06489, allocations: 14.58 kB / 363.8 MB, free: 18.14 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.06491, allocations: 0 / 363.8 MB, free: 18.14 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.06492, allocations: 0 / 363.8 MB, free: 18.14 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.019e-05/0.06501, allocations: 12 kB / 363.8 MB, free: 18.13 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.06502, allocations: 0 / 363.8 MB, free: 18.13 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.238e-05/0.06507, allocations: 19.8 kB / 363.8 MB, free: 18.11 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.06509, allocations: 8 kB / 363.8 MB, free: 18.1 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,$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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 11 * 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 8.06e-05/0.06517, allocations: 133.8 kB / 364 MB, free: 17.96 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.377e-05/0.06519, allocations: 7.906 kB / 364 MB, free: 17.95 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.448e-05/0.06522, allocations: 12.7 kB / 364 MB, free: 17.94 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.06523, allocations: 4 kB / 364 MB, free: 17.94 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.06524, allocations: 0 / 364 MB, free: 17.94 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.06525, allocations: 0 / 364 MB, free: 17.94 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000103/0.06535, allocations: 181.5 kB / 364.2 MB, free: 17.71 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.06536, allocations: 0 / 364.2 MB, free: 17.71 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.913e-05/0.0654, allocations: 7.984 kB / 364.2 MB, free: 17.7 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.145e-06/0.06541, allocations: 12 kB / 364.2 MB, free: 17.69 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.06542, allocations: 0 / 364.2 MB, free: 17.69 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.06543, allocations: 0 / 364.2 MB, free: 17.69 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.06543, allocations: 0 / 364.2 MB, free: 17.69 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001899/0.06563, allocations: 157.7 kB / 364.3 MB, free: 17.52 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.342e-05/0.06566, allocations: 89.02 kB / 364.4 MB, free: 17.41 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.93e-05/0.06569, allocations: 7.984 kB / 364.4 MB, free: 17.4 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.624e-05/0.06573, allocations: 4 kB / 364.4 MB, free: 17.4 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.084e-05/0.06576, allocations: 11.98 kB / 364.5 MB, free: 17.39 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.062e-06/0.06578, allocations: 0 / 364.5 MB, free: 17.39 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.669e-05/0.06583, allocations: 107.8 kB / 364.6 MB, free: 17.29 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.06583, allocations: 0 / 364.6 MB, free: 17.29 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002312/0.06607, allocations: 43.98 kB / 364.6 MB, free: 17.24 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 (uniformNoise.localSeed,$whenCondition1,uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4],uniformNoise.r,uniformNoise.r_raw) * Number of discrete states: 4 (uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 2 * 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.000519/0.06659, allocations: 0.7597 MB / 365.4 MB, free: 16.46 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001927/0.0668, allocations: 96.11 kB / 365.5 MB, free: 16.36 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.06681, allocations: 0 / 365.5 MB, free: 16.36 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 7.119e-05/0.06689, allocations: 43.98 kB / 365.5 MB, free: 16.32 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001407/0.06704, allocations: 4.156 kB / 365.5 MB, free: 16.32 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001185/0.06823, allocations: 1.586 MB / 367.1 MB, free: 14.64 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001157/0.06836, allocations: 0.6926 MB / 367.8 MB, free: 13.92 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.671e-05/0.0684, allocations: 15.92 kB / 367.8 MB, free: 13.9 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.715e-05/0.06844, allocations: 19.44 kB / 367.8 MB, free: 13.88 MB / 250.7 MB Notification: Performance of SimCode: time 2.41e-07/0.06845, allocations: 4 kB / 367.8 MB, free: 13.88 MB / 250.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01075/0.0792, allocations: 2.608 MB / 370.4 MB, free: 11.36 MB / 250.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000138/0.07938, allocations: 210.8 kB / 370.6 MB, free: 11.11 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_UniformNoise.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoise.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoise.c:7: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoise_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_UniformNoise_functions.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoise_functions.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoise_functions.c:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoise_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_UniformNoise_functions.c:7: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoise_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_UniformNoise_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_UniformNoise_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_UniformNoise_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_UniformNoise_records.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoise_records.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoise_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_UniformNoise_01exo.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoise_01exo.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoise_01exo.c:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoise_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_UniformNoise_02nls.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoise_02nls.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoise_02nls.c:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoise_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_UniformNoise_03lsy.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoise_03lsy.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoise_03lsy.c:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoise_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_UniformNoise_04set.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoise_04set.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoise_04set.c:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoise_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_UniformNoise_05evt.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoise_05evt.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoise_05evt.c:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoise_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_UniformNoise_06inz.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoise_06inz.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoise_06inz.c:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoise_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_UniformNoise_06inz.c:37:53: error: use of undeclared identifier 'state'; did you mean 'static'? integer_array_create(&tmp0, ((modelica_integer*)&(state)), 1, (_index_t)stateSize); ^~~~~ static Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoise_06inz.c:37:53: error: address of overloaded function 'status' does not match required type 'long' integer_array_create(&tmp0, ((modelica_integer*)&(state)), 1, (_index_t)stateSize); ^~~~~ Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoise_06inz.c:37:75: error: use of undeclared identifier 'stateSize' integer_array_create(&tmp0, ((modelica_integer*)&(state)), 1, (_index_t)stateSize); ^ 2 warnings and 3 errors generated. make: *** [: Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoise_06inz.o] Error 1