Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoiseProperties.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.UniformNoiseProperties,fileNamePrefix="Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoiseProperties,fileNamePrefix="Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoiseProperties",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.0008614/0.0008614, allocations: 172.9 kB / 15.44 MB, free: 6.23 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 0.9993/0.9993, allocations: 170.8 MB / 187 MB, free: 1 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.00151/0.00151, allocations: 102.8 kB / 226.5 MB, free: 9.984 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.01955/0.01955, allocations: 3.112 MB / 269.1 MB, free: 15.3 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003773/0.0003774, allocations: 10.12 kB / 319.4 MB, free: 62.79 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0559/0.05629, allocations: 39.4 MB / 358.8 MB, free: 23.48 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoiseProperties): time 0.001584/0.05791, allocations: 1.536 MB / 360.3 MB, free: 21.92 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001512/0.05945, allocations: 1.001 MB / 361.3 MB, free: 20.91 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000111/0.05959, allocations: 0 / 361.3 MB, free: 20.91 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000115/0.05972, allocations: 15.86 kB / 361.3 MB, free: 20.9 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004428/0.06017, allocations: 87.7 kB / 361.4 MB, free: 20.81 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000273/0.06045, allocations: 107.8 kB / 361.5 MB, free: 20.71 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001806/0.06064, allocations: 207.5 kB / 361.7 MB, free: 20.5 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001348/0.06079, allocations: 60.5 kB / 361.8 MB, free: 20.45 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.942e-05/0.06089, allocations: 79.67 kB / 361.9 MB, free: 20.37 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.64e-05/0.061, allocations: 95.52 kB / 361.9 MB, free: 20.27 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.98e-05/0.06103, allocations: 12 kB / 362 MB, free: 20.26 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000236/0.06128, allocations: 143.8 kB / 362.1 MB, free: 20.12 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.894e-05/0.06134, allocations: 39.83 kB / 362.1 MB, free: 20.08 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.645e-05/0.06142, allocations: 113.1 kB / 362.2 MB, free: 19.96 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002736/0.0617, allocations: 295.1 kB / 362.5 MB, free: 19.68 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.06171, allocations: 0 / 362.5 MB, free: 19.68 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.06172, allocations: 0 / 362.5 MB, free: 19.68 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.06173, allocations: 0 / 362.5 MB, free: 19.68 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0009485/0.06269, allocations: 0.5428 MB / 363.1 MB, free: 19.08 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.06274, allocations: 8.031 kB / 363.1 MB, free: 19.07 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.447e-05/0.0628, allocations: 54.73 kB / 363.1 MB, free: 19.01 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001921/0.063, allocations: 36.64 kB / 363.2 MB, free: 18.98 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002262/0.06323, allocations: 239.9 kB / 363.4 MB, free: 18.7 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.306e-05/0.06326, allocations: 12.66 kB / 363.4 MB, free: 18.69 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.932e-05/0.06331, allocations: 20.38 kB / 363.4 MB, free: 18.67 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004589/0.06377, allocations: 244.2 kB / 363.7 MB, free: 18.42 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.0638, allocations: 0 / 363.7 MB, free: 18.42 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.034e-05/0.06382, allocations: 8 kB / 363.7 MB, free: 18.41 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.06384, allocations: 4 kB / 363.7 MB, free: 18.41 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004395/0.06428, allocations: 183.8 kB / 363.9 MB, free: 18.23 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009269/0.06522, allocations: 0.6445 MB / 364.5 MB, free: 17.53 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009776/0.06621, allocations: 409.2 kB / 364.9 MB, free: 17.11 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000277/0.0665, allocations: 145.6 kB / 365.1 MB, free: 16.96 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.032e-05/0.06653, allocations: 0 / 365.1 MB, free: 16.96 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003699/0.06691, allocations: 216.3 kB / 365.3 MB, free: 16.74 MB / 250.7 MB Notification: Performance of pre-optimization done (n=23): time 1.273e-06/0.06692, allocations: 0 / 365.3 MB, free: 16.74 MB / 250.7 MB Notification: Performance of matching and sorting (n=23): time 0.0009607/0.06789, allocations: 432.3 kB / 365.7 MB, free: 16.31 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.449e-05/0.06794, allocations: 81.11 kB / 365.8 MB, free: 16.21 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001603/0.06811, allocations: 211.8 kB / 366 MB, free: 16 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/0.06814, allocations: 33.7 kB / 366 MB, free: 15.96 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.658e-05/0.0682, allocations: 132.4 kB / 366.1 MB, free: 15.82 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.964e-05/0.06825, allocations: 79.05 kB / 366.2 MB, free: 15.75 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.569e-05/0.06827, allocations: 11.98 kB / 366.2 MB, free: 15.73 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 5.589e-05/0.06833, allocations: 330.8 kB / 366.5 MB, free: 15.4 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002904/0.06863, allocations: 143.9 kB / 366.7 MB, free: 15.26 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002908/0.06893, allocations: 173.9 kB / 366.9 MB, free: 15.09 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005334/0.06947, allocations: 306 kB / 367.2 MB, free: 14.78 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.06948, allocations: 0 / 367.2 MB, free: 14.78 MB / 250.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006529/0.07014, allocations: 402.1 kB / 367.6 MB, free: 14.38 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.07016, allocations: 7.938 kB / 367.6 MB, free: 14.38 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.07017, allocations: 0 / 367.6 MB, free: 14.38 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.07019, allocations: 7.984 kB / 367.6 MB, free: 14.37 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002606/0.07046, allocations: 79.89 kB / 367.6 MB, free: 14.29 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.07047, allocations: 4 kB / 367.6 MB, free: 14.29 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001538/0.07063, allocations: 47.67 kB / 367.7 MB, free: 14.24 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.192e-05/0.07066, allocations: 7.984 kB / 367.7 MB, free: 14.23 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,noise.localSeed,$PRE.noise.state[1],noise.state[1],$PRE.noise.state[2],noise.state[2],$PRE.noise.state[3],noise.state[3],$PRE.noise.state[4],noise.state[4],$PRE.noise.r,noise.r,$PRE.noise.r_raw,noise.r_raw) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 34 * 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.0001134/0.07078, allocations: 143.8 kB / 367.8 MB, free: 14.08 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.733e-05/0.07082, allocations: 31.64 kB / 367.9 MB, free: 14.05 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.533e-05/0.07088, allocations: 17.88 kB / 367.9 MB, free: 14.04 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.07089, allocations: 4 kB / 367.9 MB, free: 14.03 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.0709, allocations: 3.984 kB / 367.9 MB, free: 14.03 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.07091, allocations: 3.984 kB / 367.9 MB, free: 14.02 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009681/0.07188, allocations: 0.6805 MB / 368.6 MB, free: 13.29 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.0719, allocations: 8 kB / 368.6 MB, free: 13.28 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000228/0.07213, allocations: 51.95 kB / 368.6 MB, free: 13.23 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.07214, allocations: 11.88 kB / 368.7 MB, free: 13.22 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.04e-05/0.07217, allocations: 0 / 368.7 MB, free: 13.22 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.07218, allocations: 4 kB / 368.7 MB, free: 13.21 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.07218, allocations: 3.938 kB / 368.7 MB, free: 13.21 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008745/0.07306, allocations: 0.5472 MB / 369.2 MB, free: 12.64 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.625e-05/0.07311, allocations: 108.8 kB / 369.3 MB, free: 12.52 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.602e-05/0.07315, allocations: 8 kB / 369.3 MB, free: 12.51 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000175/0.07333, allocations: 27.97 kB / 369.4 MB, free: 12.48 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.968e-05/0.07339, allocations: 11.98 kB / 369.4 MB, free: 12.47 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.572e-05/0.07341, allocations: 8 kB / 369.4 MB, free: 12.46 MB / 250.7 MB Notification: Performance of sorting global known variables: time 9.301e-05/0.07351, allocations: 157.5 kB / 369.5 MB, free: 12.31 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.07352, allocations: 0 / 369.5 MB, free: 12.31 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003168/0.07384, allocations: 71.84 kB / 369.6 MB, free: 12.24 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (mean.mu,variance.mu,variance.var,standardDeviation.variance.mu,standardDeviation.variance.var) * Number of discrete variables: 8 (noise.localSeed,$whenCondition1,noise.state[1],noise.state[2],noise.state[3],noise.state[4],noise.r,noise.r_raw) * Number of discrete states: 4 (noise.state[1],noise.state[2],noise.state[3],noise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 16 * 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.001253/0.0751, allocations: 1.172 MB / 370.8 MB, free: 11.05 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0006641/0.07577, allocations: 315.6 kB / 371.1 MB, free: 10.74 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.07579, allocations: 0 / 371.1 MB, free: 10.74 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002823/0.07608, allocations: 135.9 kB / 371.2 MB, free: 10.61 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003211/0.07641, allocations: 27.25 kB / 371.2 MB, free: 10.59 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003166/0.07958, allocations: 2.936 MB / 374.2 MB, free: 7.559 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001657/0.07976, allocations: 0.7359 MB / 374.9 MB, free: 6.797 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001389/0.07991, allocations: 33.94 kB / 374.9 MB, free: 6.766 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001279/0.08005, allocations: 63.41 kB / 375 MB, free: 6.703 MB / 250.7 MB Notification: Performance of SimCode: time 3.11e-07/0.08005, allocations: 0 / 375 MB, free: 6.703 MB / 250.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01459/0.09465, allocations: 5.053 MB / 380.1 MB, free: 1.754 MB / 250.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001317/0.09481, allocations: 227.3 kB / 380.3 MB, free: 1.496 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_UniformNoiseProperties.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoiseProperties.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoiseProperties.c:7: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoiseProperties_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_UniformNoiseProperties_functions.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoiseProperties_functions.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoiseProperties_functions.c:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoiseProperties_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_UniformNoiseProperties_functions.c:7: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoiseProperties_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_UniformNoiseProperties_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_UniformNoiseProperties_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_UniformNoiseProperties_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_UniformNoiseProperties_records.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoiseProperties_records.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoiseProperties_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_UniformNoiseProperties_01exo.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoiseProperties_01exo.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoiseProperties_01exo.c:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoiseProperties_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_UniformNoiseProperties_02nls.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoiseProperties_02nls.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoiseProperties_02nls.c:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoiseProperties_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_UniformNoiseProperties_03lsy.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoiseProperties_03lsy.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoiseProperties_03lsy.c:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoiseProperties_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_UniformNoiseProperties_04set.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoiseProperties_04set.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoiseProperties_04set.c:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoiseProperties_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_UniformNoiseProperties_05evt.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoiseProperties_05evt.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoiseProperties_05evt.c:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoiseProperties_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_UniformNoiseProperties_06inz.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoiseProperties_06inz.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoiseProperties_06inz.c:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoiseProperties_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_UniformNoiseProperties_06inz.c:127:53: error: use of undeclared identifier 'state'; did you mean 'static'? integer_array_create(&tmp1, ((modelica_integer*)&(state)), 1, (_index_t)stateSize); ^~~~~ static Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoiseProperties_06inz.c:127:53: error: address of overloaded function 'status' does not match required type 'long' integer_array_create(&tmp1, ((modelica_integer*)&(state)), 1, (_index_t)stateSize); ^~~~~ Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoiseProperties_06inz.c:127:75: error: use of undeclared identifier 'stateSize' integer_array_create(&tmp1, ((modelica_integer*)&(state)), 1, (_index_t)stateSize); ^ 2 warnings and 3 errors generated. make: *** [: Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoiseProperties_06inz.o] Error 1