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.01319/0.01319, allocations: 174.6 kB / 15.42 MB, free: 6.211 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.067/1.067, allocations: 170.5 MB / 186.7 MB, free: 0.9414 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.01599/0.01599, allocations: 102.1 kB / 226 MB, free: 10.28 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.05589/0.05589, allocations: 3.105 MB / 268.3 MB, free: 15.88 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003459/0.0003459, allocations: 12 kB / 318.2 MB, free: 63.2 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05097/0.05134, allocations: 39.13 MB / 357.4 MB, free: 24.2 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoise): time 0.001044/0.05241, allocations: 1.132 MB / 358.5 MB, free: 23.05 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001055/0.05348, allocations: 0.8572 MB / 359.3 MB, free: 22.18 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.962e-05/0.05352, allocations: 0 / 359.3 MB, free: 22.18 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 7.641e-05/0.05361, allocations: 3.938 kB / 359.4 MB, free: 22.18 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002887/0.0539, allocations: 71.8 kB / 359.4 MB, free: 22.11 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001108/0.05403, allocations: 55.89 kB / 359.5 MB, free: 22.05 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 5.64e-05/0.05409, allocations: 63.83 kB / 359.5 MB, free: 21.99 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.399e-05/0.05413, allocations: 16.14 kB / 359.6 MB, free: 21.98 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.58e-05/0.05418, allocations: 27.8 kB / 359.6 MB, free: 21.95 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.102e-05/0.05422, allocations: 31.84 kB / 359.6 MB, free: 21.92 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.276e-05/0.05424, allocations: 4 kB / 359.6 MB, free: 21.91 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000183/0.05443, allocations: 135.8 kB / 359.8 MB, free: 21.78 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.08e-05/0.05447, allocations: 15.97 kB / 359.8 MB, free: 21.77 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.913e-05/0.0545, allocations: 27.8 kB / 359.8 MB, free: 21.74 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001707/0.05468, allocations: 167.8 kB / 360 MB, free: 21.57 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.05469, allocations: 7.922 kB / 360 MB, free: 21.57 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.0547, allocations: 0 / 360 MB, free: 21.57 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.166e-06/0.05471, allocations: 0 / 360 MB, free: 21.57 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.0003628/0.05508, allocations: 387.3 kB / 360.3 MB, free: 21.14 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.978e-05/0.05511, allocations: 11.97 kB / 360.4 MB, free: 21.13 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.747e-05/0.05515, allocations: 38.73 kB / 360.4 MB, free: 21.08 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000156/0.05531, allocations: 20.83 kB / 360.4 MB, free: 21.06 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.873e-05/0.0554, allocations: 188.2 kB / 360.6 MB, free: 20.84 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.05542, allocations: 384 / 360.6 MB, free: 20.84 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.118e-05/0.05543, allocations: 8.125 kB / 360.6 MB, free: 20.83 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001234/0.05556, allocations: 87.31 kB / 360.7 MB, free: 20.73 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.05558, allocations: 3.938 kB / 360.7 MB, free: 20.73 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.634e-06/0.05559, allocations: 0 / 360.7 MB, free: 20.73 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.828e-06/0.0556, allocations: 0 / 360.7 MB, free: 20.73 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.299e-05/0.0557, allocations: 39.97 kB / 360.7 MB, free: 20.69 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001318/0.05584, allocations: 194.4 kB / 360.9 MB, free: 20.45 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00015/0.05599, allocations: 97.12 kB / 361 MB, free: 20.34 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.744e-05/0.05606, allocations: 41.7 kB / 361.1 MB, free: 20.29 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.444e-06/0.05608, allocations: 0 / 361.1 MB, free: 20.29 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001669/0.05625, allocations: 113 kB / 361.2 MB, free: 20.16 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 1.253e-06/0.05626, allocations: 0 / 361.2 MB, free: 20.16 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002776/0.05654, allocations: 145.5 kB / 361.3 MB, free: 20.01 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.357e-05/0.05658, allocations: 85.09 kB / 361.4 MB, free: 19.91 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.736e-05/0.05667, allocations: 134.1 kB / 361.5 MB, free: 19.77 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.05669, allocations: 33.7 kB / 361.6 MB, free: 19.73 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.006e-05/0.05674, allocations: 100.2 kB / 361.7 MB, free: 19.62 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.525e-05/0.05677, allocations: 23.81 kB / 361.7 MB, free: 19.6 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.427e-05/0.0568, allocations: 21.7 kB / 361.7 MB, free: 19.57 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 4.265e-05/0.05685, allocations: 322.8 kB / 362 MB, free: 19.25 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.909e-05/0.05693, allocations: 43.98 kB / 362.1 MB, free: 19.21 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.013e-05/0.05702, allocations: 66.53 kB / 362.1 MB, free: 19.14 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000147/0.05717, allocations: 117.5 kB / 362.2 MB, free: 19.02 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.05718, allocations: 3.938 kB / 362.2 MB, free: 19.01 MB / 250.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001998/0.05739, allocations: 145.6 kB / 362.4 MB, free: 18.86 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.05741, allocations: 11.94 kB / 362.4 MB, free: 18.85 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.05742, allocations: 3.938 kB / 362.4 MB, free: 18.85 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.05743, allocations: 4.031 kB / 362.4 MB, free: 18.84 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.507e-05/0.05751, allocations: 15.98 kB / 362.4 MB, free: 18.83 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.05753, allocations: 4 kB / 362.4 MB, free: 18.82 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.822e-05/0.05757, allocations: 7.938 kB / 362.4 MB, free: 18.82 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.238e-06/0.05758, allocations: 4 kB / 362.4 MB, free: 18.81 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,uniformNoise.localSeed,uniformNoise.r_raw,$PRE.uniformNoise.r_raw,uniformNoise.r,$PRE.uniformNoise.r,uniformNoise.state[4],$PRE.uniformNoise.state[4],uniformNoise.state[3],$PRE.uniformNoise.state[3],uniformNoise.state[2],$PRE.uniformNoise.state[2],uniformNoise.state[1],$PRE.uniformNoise.state[1]) * 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 6.477e-05/0.05765, allocations: 137.8 kB / 362.6 MB, free: 18.67 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.562e-05/0.05767, allocations: 11.84 kB / 362.6 MB, free: 18.66 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.834e-05/0.0577, allocations: 8.719 kB / 362.6 MB, free: 18.65 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.05771, allocations: 4 kB / 362.6 MB, free: 18.64 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.05771, allocations: 0 / 362.6 MB, free: 18.64 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.05772, allocations: 3.984 kB / 362.6 MB, free: 18.64 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.893e-05/0.05781, allocations: 185.5 kB / 362.8 MB, free: 18.41 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.05782, allocations: 3.938 kB / 362.8 MB, free: 18.41 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.653e-05/0.05785, allocations: 4 kB / 362.8 MB, free: 18.4 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.175e-06/0.05786, allocations: 4 kB / 362.8 MB, free: 18.4 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.403e-06/0.05787, allocations: 0 / 362.8 MB, free: 18.4 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.05788, allocations: 3.984 kB / 362.8 MB, free: 18.39 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.05789, allocations: 4 kB / 362.8 MB, free: 18.39 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001767/0.05807, allocations: 153.7 kB / 362.9 MB, free: 18.22 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.111e-05/0.0581, allocations: 89.02 kB / 363 MB, free: 18.11 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.839e-05/0.05812, allocations: 4 kB / 363 MB, free: 18.11 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.641e-05/0.05816, allocations: 11.98 kB / 363.1 MB, free: 18.1 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.748e-05/0.0582, allocations: 4 kB / 363.1 MB, free: 18.09 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.05821, allocations: 0 / 363.1 MB, free: 18.09 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.419e-05/0.05826, allocations: 108.7 kB / 363.2 MB, free: 17.99 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.05826, allocations: 0 / 363.2 MB, free: 17.99 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002159/0.05848, allocations: 44 kB / 363.2 MB, free: 17.95 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.0004667/0.05896, allocations: 0.7774 MB / 364 MB, free: 17.15 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001809/0.05915, allocations: 91.89 kB / 364.1 MB, free: 17.06 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.05916, allocations: 0 / 364.1 MB, free: 17.06 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.851e-05/0.05923, allocations: 35.98 kB / 364.1 MB, free: 17.03 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001333/0.05937, allocations: 4 kB / 364.1 MB, free: 17.02 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/0.06048, allocations: 1.589 MB / 365.7 MB, free: 15.34 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.389e-05/0.06058, allocations: 0.6887 MB / 366.4 MB, free: 14.62 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.324e-05/0.06062, allocations: 16.2 kB / 366.4 MB, free: 14.61 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.619e-05/0.06066, allocations: 19.44 kB / 366.4 MB, free: 14.59 MB / 250.7 MB Notification: Performance of SimCode: time 2.3e-07/0.06067, allocations: 0 / 366.4 MB, free: 14.59 MB / 250.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0163/0.07697, allocations: 2.603 MB / 369 MB, free: 12.07 MB / 250.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000139/0.07715, allocations: 218.5 kB / 369.2 MB, free: 11.81 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