Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.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.DrydenContinuousTurbulence,fileNamePrefix="Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Noise.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence,fileNamePrefix="Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence",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.0008016/0.0008016, allocations: 173 kB / 15.44 MB, free: 6.234 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.048/1.048, 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.001492/0.001492, allocations: 101.8 kB / 226.5 MB, free: 9.965 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.01904/0.01904, allocations: 3.101 MB / 269.1 MB, free: 15.29 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00034/0.0003401, allocations: 12 kB / 319.4 MB, free: 62.78 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06146/0.06181, allocations: 39.4 MB / 358.8 MB, free: 23.48 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica_Noise.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence): time 0.001558/0.0634, allocations: 1.348 MB / 360.1 MB, free: 22.12 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00167/0.0651, allocations: 1.244 MB / 361.4 MB, free: 20.87 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.467e-05/0.06522, allocations: 0 / 361.4 MB, free: 20.87 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002906/0.06552, allocations: 31.83 kB / 361.4 MB, free: 20.84 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003211/0.06586, allocations: 99.7 kB / 361.5 MB, free: 20.74 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004152/0.06628, allocations: 183.6 kB / 361.7 MB, free: 20.56 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001742/0.06647, allocations: 175.6 kB / 361.8 MB, free: 20.39 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.112e-05/0.06657, allocations: 29.05 kB / 361.9 MB, free: 20.36 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001474/0.06672, allocations: 71.69 kB / 361.9 MB, free: 20.29 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001436/0.06688, allocations: 87.64 kB / 362 MB, free: 20.2 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.572e-05/0.06691, allocations: 8 kB / 362 MB, free: 20.2 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004094/0.06733, allocations: 335.3 kB / 362.4 MB, free: 19.87 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.069e-05/0.06741, allocations: 43.89 kB / 362.4 MB, free: 19.82 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.58e-05/0.06748, allocations: 85.28 kB / 362.5 MB, free: 19.73 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003744/0.06786, allocations: 343 kB / 362.8 MB, free: 19.4 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.06787, allocations: 0 / 362.8 MB, free: 19.4 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.06788, allocations: 0 / 362.8 MB, free: 19.4 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.06789, allocations: 0 / 362.8 MB, free: 19.4 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001012/0.06891, allocations: 0.5339 MB / 363.4 MB, free: 18.82 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.06895, allocations: 12.03 kB / 363.4 MB, free: 18.8 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.675e-05/0.06899, allocations: 38.67 kB / 363.4 MB, free: 18.76 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000181/0.06918, allocations: 28.75 kB / 363.4 MB, free: 18.73 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003683/0.06956, allocations: 283.8 kB / 363.7 MB, free: 18.41 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.06958, allocations: 4.375 kB / 363.7 MB, free: 18.41 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.552e-05/0.06961, allocations: 12.38 kB / 363.7 MB, free: 18.4 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001919/0.06981, allocations: 130.1 kB / 363.9 MB, free: 18.26 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.06984, allocations: 3.906 kB / 363.9 MB, free: 18.26 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.06985, allocations: 0 / 363.9 MB, free: 18.26 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.06987, allocations: 0 / 363.9 MB, free: 18.26 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001681/0.07004, allocations: 91.88 kB / 363.9 MB, free: 18.17 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006971/0.07075, allocations: 0.5124 MB / 364.5 MB, free: 17.6 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002381/0.071, allocations: 153.1 kB / 364.6 MB, free: 17.43 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.843e-05/0.07111, allocations: 69.69 kB / 364.7 MB, free: 17.36 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.43e-05/0.07113, allocations: 0 / 364.7 MB, free: 17.36 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000193/0.07133, allocations: 141.1 kB / 364.8 MB, free: 17.2 MB / 250.7 MB Notification: Performance of pre-optimization done (n=15): time 1.382e-06/0.07134, allocations: 3.938 kB / 364.8 MB, free: 17.2 MB / 250.7 MB Notification: Performance of matching and sorting (n=15): time 0.0004529/0.0718, allocations: 257.4 kB / 365.1 MB, free: 16.94 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.725e-05/0.07185, allocations: 85.2 kB / 365.2 MB, free: 16.84 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003388/0.0722, allocations: 246.5 kB / 365.4 MB, free: 16.59 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/0.07223, allocations: 41.69 kB / 365.4 MB, free: 16.54 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.048e-05/0.07229, allocations: 108.1 kB / 365.5 MB, free: 16.43 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.789e-05/0.07233, allocations: 47.72 kB / 365.6 MB, free: 16.38 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.043e-05/0.07235, allocations: 4 kB / 365.6 MB, free: 16.38 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.54e-05/0.07242, allocations: 334.8 kB / 365.9 MB, free: 16.04 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001227/0.07255, allocations: 75.95 kB / 366 MB, free: 15.97 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001287/0.07269, allocations: 109.5 kB / 366.1 MB, free: 15.86 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002322/0.07293, allocations: 184.8 kB / 366.3 MB, free: 15.67 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.07294, allocations: 0 / 366.3 MB, free: 15.67 MB / 250.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003223/0.07327, allocations: 249.2 kB / 366.5 MB, free: 15.42 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.07329, allocations: 4 kB / 366.5 MB, free: 15.42 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.0733, allocations: 0 / 366.5 MB, free: 15.42 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.07332, allocations: 4 kB / 366.5 MB, free: 15.41 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001494/0.07348, allocations: 32.02 kB / 366.6 MB, free: 15.38 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.07349, allocations: 0 / 366.6 MB, free: 15.38 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001806/0.07368, allocations: 31.8 kB / 366.6 MB, free: 15.35 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.618e-05/0.07371, allocations: 4 kB / 366.6 MB, free: 15.35 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,whiteNoise.localSeed,$PRE.whiteNoise.state[1],whiteNoise.state[1],$PRE.whiteNoise.state[2],whiteNoise.state[2],$PRE.whiteNoise.state[3],whiteNoise.state[3],$PRE.whiteNoise.state[4],whiteNoise.state[4],$PRE.whiteNoise.r,whiteNoise.r,$PRE.whiteNoise.r_raw,whiteNoise.r_raw) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 19 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001022/0.07381, allocations: 147.7 kB / 366.7 MB, free: 15.2 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.704e-05/0.07385, allocations: 15.81 kB / 366.8 MB, free: 15.18 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.408e-05/0.0739, allocations: 25.52 kB / 366.8 MB, free: 15.16 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.0739, allocations: 0 / 366.8 MB, free: 15.16 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.07392, allocations: 4 kB / 366.8 MB, free: 15.16 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.07392, allocations: 0 / 366.8 MB, free: 15.16 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001876/0.07412, allocations: 249.4 kB / 367 MB, free: 14.86 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.07413, allocations: 0 / 367 MB, free: 14.86 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001178/0.07425, allocations: 15.98 kB / 367 MB, free: 14.85 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.105e-06/0.07426, allocations: 0 / 367 MB, free: 14.85 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.756e-05/0.07429, allocations: 4 kB / 367 MB, free: 14.84 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.654e-06/0.07429, allocations: 0 / 367 MB, free: 14.84 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.0743, allocations: 7.938 kB / 367.1 MB, free: 14.84 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004106/0.07472, allocations: 304.3 kB / 367.4 MB, free: 14.52 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.285e-05/0.07477, allocations: 104.9 kB / 367.5 MB, free: 14.4 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.095e-05/0.07481, allocations: 7.984 kB / 367.5 MB, free: 14.39 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001737/0.07499, allocations: 28.05 kB / 367.5 MB, free: 14.36 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.406e-05/0.07504, allocations: 7.984 kB / 367.5 MB, free: 14.36 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/0.07506, allocations: 7.984 kB / 367.5 MB, free: 14.35 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0002664/0.07533, allocations: 195.9 kB / 367.7 MB, free: 14.16 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.07534, allocations: 0 / 367.7 MB, free: 14.16 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000299/0.07564, allocations: 87.98 kB / 367.8 MB, free: 14.07 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (Hw.x_scaled[1],Hw.x_scaled[2]) * Number of discrete variables: 8 ($whenCondition1,whiteNoise.state[1],whiteNoise.state[2],whiteNoise.state[3],whiteNoise.state[4],whiteNoise.r,whiteNoise.r_raw,whiteNoise.localSeed) * Number of discrete states: 4 (whiteNoise.state[1],whiteNoise.state[2],whiteNoise.state[3],whiteNoise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * 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.0009386/0.07659, allocations: 0.9718 MB / 368.8 MB, free: 13.07 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002859/0.07689, allocations: 170.4 kB / 368.9 MB, free: 12.91 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.0769, allocations: 4 kB / 368.9 MB, free: 12.9 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001157/0.07702, allocations: 67.91 kB / 369 MB, free: 12.84 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002296/0.07726, allocations: 19.98 kB / 369 MB, free: 12.82 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002792/0.08006, allocations: 2.425 MB / 371.4 MB, free: 10.3 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002091/0.08029, allocations: 0.7283 MB / 372.2 MB, free: 9.547 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001043/0.0804, allocations: 33.39 kB / 372.2 MB, free: 9.512 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.522e-05/0.08049, allocations: 47.42 kB / 372.2 MB, free: 9.465 MB / 250.7 MB Notification: Performance of SimCode: time 3.4e-07/0.0805, allocations: 0 / 372.2 MB, free: 9.465 MB / 250.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01505/0.09555, allocations: 4.896 MB / 377.1 MB, free: 4.672 MB / 250.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001477/0.09573, allocations: 228.8 kB / 377.4 MB, free: 4.422 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_DrydenContinuousTurbulence.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence.c:7: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence_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_DrydenContinuousTurbulence_functions.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence_functions.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence_functions.c:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence_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_DrydenContinuousTurbulence_functions.c:7: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence_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_DrydenContinuousTurbulence_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_DrydenContinuousTurbulence_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_DrydenContinuousTurbulence_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_DrydenContinuousTurbulence_records.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence_records.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence_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_DrydenContinuousTurbulence_01exo.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence_01exo.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence_01exo.c:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence_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_DrydenContinuousTurbulence_02nls.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence_02nls.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence_02nls.c:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence_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_DrydenContinuousTurbulence_03lsy.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence_03lsy.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence_03lsy.c:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence_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_DrydenContinuousTurbulence_04set.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence_04set.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence_04set.c:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence_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_DrydenContinuousTurbulence_05evt.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence_05evt.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence_05evt.c:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence_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_DrydenContinuousTurbulence_06inz.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence_06inz.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence_06inz.c:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence_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_DrydenContinuousTurbulence_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_DrydenContinuousTurbulence_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_DrydenContinuousTurbulence_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_DrydenContinuousTurbulence_06inz.o] Error 1