Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/package.mo", uses=false) Using package Modelica_Noise with version 1.0 Beta.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions,fileNamePrefix="Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Distributions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions,fileNamePrefix="Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Distributions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0008966/0.0008966, allocations: 172.3 kB / 15.45 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.9858/0.9858, allocations: 170.8 MB / 187 MB, free: 1.012 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.001438/0.001438, allocations: 102.1 kB / 226.5 MB, free: 9.98 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.01918/0.01918, allocations: 3.112 MB / 269.1 MB, free: 15.31 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000322/0.0003221, allocations: 16 kB / 319.4 MB, free: 62.77 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06449/0.06482, allocations: 39.39 MB / 358.8 MB, free: 23.47 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions): time 0.00128/0.06614, allocations: 1.254 MB / 360 MB, free: 22.2 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001683/0.06784, allocations: 1.489 MB / 361.5 MB, free: 20.7 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.97e-05/0.06789, allocations: 0 / 361.5 MB, free: 20.7 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.481e-05/0.06799, allocations: 11.92 kB / 361.5 MB, free: 20.69 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000352/0.06835, allocations: 83.72 kB / 361.6 MB, free: 20.61 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004313/0.06879, allocations: 283.2 kB / 361.9 MB, free: 20.33 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.191e-05/0.0689, allocations: 127.6 kB / 362 MB, free: 20.21 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.611e-05/0.06895, allocations: 17.34 kB / 362 MB, free: 20.19 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.086e-05/0.06902, allocations: 59.7 kB / 362.1 MB, free: 20.13 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.211e-05/0.06908, allocations: 59.73 kB / 362.1 MB, free: 20.07 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.0691, allocations: 8 kB / 362.1 MB, free: 20.07 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005119/0.06962, allocations: 479 kB / 362.6 MB, free: 19.6 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.067e-05/0.06967, allocations: 35.78 kB / 362.6 MB, free: 19.56 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.911e-05/0.06973, allocations: 81.36 kB / 362.7 MB, free: 19.48 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000409/0.07014, allocations: 426.8 kB / 363.1 MB, free: 19.06 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.07015, allocations: 0 / 363.1 MB, free: 19.06 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.07016, allocations: 4 kB / 363.1 MB, free: 19.05 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.387e-06/0.07017, allocations: 0 / 363.1 MB, free: 19.05 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.000546/0.07072, allocations: 0.491 MB / 363.6 MB, free: 18.52 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.07076, allocations: 8.031 kB / 363.6 MB, free: 18.51 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.397e-05/0.0708, allocations: 42.73 kB / 363.7 MB, free: 18.46 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001808/0.07098, allocations: 28.73 kB / 363.7 MB, free: 18.43 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001121/0.07111, allocations: 216 kB / 363.9 MB, free: 18.18 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.07113, allocations: 4.375 kB / 363.9 MB, free: 18.18 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.594e-05/0.07115, allocations: 4.375 kB / 363.9 MB, free: 18.17 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002126/0.07137, allocations: 160.4 kB / 364.1 MB, free: 18 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.07139, allocations: 0 / 364.1 MB, free: 18 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.0714, allocations: 0 / 364.1 MB, free: 18 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.07141, allocations: 0 / 364.1 MB, free: 18 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001843/0.0716, allocations: 83.83 kB / 364.2 MB, free: 17.91 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001826/0.07179, allocations: 256.9 kB / 364.4 MB, free: 17.6 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002961/0.0721, allocations: 213.1 kB / 364.6 MB, free: 17.35 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001239/0.07223, allocations: 80.2 kB / 364.7 MB, free: 17.25 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.501e-05/0.07225, allocations: 11.94 kB / 364.7 MB, free: 17.24 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002554/0.07251, allocations: 175.5 kB / 364.9 MB, free: 17.04 MB / 250.7 MB Notification: Performance of pre-optimization done (n=19): time 1.283e-06/0.07253, allocations: 4 kB / 364.9 MB, free: 17.04 MB / 250.7 MB Notification: Performance of matching and sorting (n=19): time 0.0005489/0.07308, allocations: 289.9 kB / 365.2 MB, free: 16.75 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.502e-05/0.07314, allocations: 170.6 kB / 365.3 MB, free: 16.55 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.07326, allocations: 194.6 kB / 365.5 MB, free: 16.34 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.624e-05/0.07329, allocations: 41.7 kB / 365.6 MB, free: 16.3 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.032e-05/0.07334, allocations: 108.1 kB / 365.7 MB, free: 16.19 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.902e-05/0.07338, allocations: 51.38 kB / 365.7 MB, free: 16.14 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.708e-06/0.0734, allocations: 4 kB / 365.7 MB, free: 16.13 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 4.765e-05/0.07345, allocations: 330.8 kB / 366.1 MB, free: 15.8 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001557/0.07361, allocations: 103.9 kB / 366.2 MB, free: 15.7 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001577/0.07378, allocations: 141.2 kB / 366.3 MB, free: 15.55 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000294/0.07408, allocations: 233.9 kB / 366.5 MB, free: 15.31 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.07409, allocations: 0 / 366.5 MB, free: 15.31 MB / 250.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000402/0.0745, allocations: 305.2 kB / 366.8 MB, free: 15 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.07452, allocations: 4 kB / 366.8 MB, free: 15 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.07453, allocations: 0 / 366.8 MB, free: 15 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.07455, allocations: 4 kB / 366.8 MB, free: 15 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001291/0.07468, allocations: 27.97 kB / 366.9 MB, free: 14.97 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.0747, allocations: 11.92 kB / 366.9 MB, free: 14.96 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.277e-05/0.07479, allocations: 27.84 kB / 366.9 MB, free: 14.93 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.802e-05/0.07481, allocations: 8 kB / 366.9 MB, free: 14.92 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 29 (n,$whenCondition2,$PRE.truncatedNormalNoise.state[1],truncatedNormalNoise.state[1],$PRE.truncatedNormalNoise.state[2],truncatedNormalNoise.state[2],$PRE.truncatedNormalNoise.state[3],truncatedNormalNoise.state[3],$PRE.truncatedNormalNoise.state[4],truncatedNormalNoise.state[4],$PRE.truncatedNormalNoise.r,truncatedNormalNoise.r,$PRE.truncatedNormalNoise.r_raw,truncatedNormalNoise.r_raw,truncatedNormalNoise.localSeed,$whenCondition1,$PRE.uniformNoise.state[1],uniformNoise.state[1],$PRE.uniformNoise.state[2],uniformNoise.state[2],$PRE.uniformNoise.state[3],uniformNoise.state[3],$PRE.uniformNoise.state[4],uniformNoise.state[4],$PRE.uniformNoise.r,uniformNoise.r,$PRE.uniformNoise.r_raw,uniformNoise.r_raw,uniformNoise.localSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 23 * Array equations: 2 * 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.0001093/0.07493, allocations: 141.8 kB / 367 MB, free: 14.77 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.377e-05/0.07496, allocations: 23.73 kB / 367.1 MB, free: 14.75 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.749e-05/0.07499, allocations: 17.41 kB / 367.1 MB, free: 14.74 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.075, allocations: 0 / 367.1 MB, free: 14.74 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.07501, allocations: 4 kB / 367.1 MB, free: 14.73 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.07502, allocations: 8 kB / 367.1 MB, free: 14.73 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000132/0.07515, allocations: 217.5 kB / 367.3 MB, free: 14.46 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.07516, allocations: 4 kB / 367.3 MB, free: 14.46 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.596e-05/0.07522, allocations: 19.92 kB / 367.3 MB, free: 14.44 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.07523, allocations: 4 kB / 367.3 MB, free: 14.44 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.07525, allocations: 4 kB / 367.3 MB, free: 14.43 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.07526, allocations: 0 / 367.3 MB, free: 14.43 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.07526, allocations: 0 / 367.3 MB, free: 14.43 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003314/0.0756, allocations: 287.4 kB / 367.6 MB, free: 14.12 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.121e-05/0.07564, allocations: 100.8 kB / 367.7 MB, free: 14.01 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.699e-05/0.07567, allocations: 15.94 kB / 367.7 MB, free: 13.99 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.143e-05/0.07575, allocations: 7.984 kB / 367.7 MB, free: 13.98 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.387e-05/0.0758, allocations: 16.08 kB / 367.8 MB, free: 13.97 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.07582, allocations: 11.98 kB / 367.8 MB, free: 13.96 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.388e-05/0.0759, allocations: 131.5 kB / 367.9 MB, free: 13.83 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.0759, allocations: 0 / 367.9 MB, free: 13.83 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003117/0.07622, allocations: 132 kB / 368 MB, free: 13.7 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 17 (n,truncatedNormalNoise.localSeed,$whenCondition2,truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4],truncatedNormalNoise.r,truncatedNormalNoise.r_raw,uniformNoise.localSeed,$whenCondition1,uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4],uniformNoise.r,uniformNoise.r_raw) * Number of discrete states: 8 (uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4],truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (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.0009458/0.07717, allocations: 1.001 MB / 369 MB, free: 12.66 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003461/0.07753, allocations: 204.2 kB / 369.2 MB, free: 12.46 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.07754, allocations: 4.188 kB / 369.2 MB, free: 12.46 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001465/0.07769, allocations: 79.91 kB / 369.3 MB, free: 12.38 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000175/0.07788, allocations: 8.438 kB / 369.3 MB, free: 12.37 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00198/0.07986, allocations: 2.36 MB / 371.7 MB, free: 9.891 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001125/0.07999, allocations: 0.7125 MB / 372.4 MB, free: 9.148 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.785e-05/0.08005, allocations: 21.41 kB / 372.4 MB, free: 9.125 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.253e-05/0.08012, allocations: 47.42 kB / 372.5 MB, free: 9.078 MB / 250.7 MB Notification: Performance of SimCode: time 2.21e-07/0.08013, allocations: 0 / 372.5 MB, free: 9.078 MB / 250.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01425/0.09439, allocations: 5.242 MB / 377.7 MB, free: 3.93 MB / 250.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001207/0.09453, allocations: 221 kB / 377.9 MB, free: 3.668 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_Distributions.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Distributions.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Distributions.c:7: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Distributions_model.h:5: In file included from ./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_Distributions_functions.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Distributions_functions.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Distributions_functions.c:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Distributions_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_Distributions_functions.c:7: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Distributions_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include/ModelicaRandom.c:600:10: warning: implicit declaration of function '_getpid' is invalid in C99 [-Wimplicit-function-declaration] pid = ModelicaRandom_getpid(); ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include/ModelicaRandom.c:207:34: note: expanded from macro 'ModelicaRandom_getpid' # define ModelicaRandom_getpid _getpid ^ Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Distributions_functions.c:114:34: warning: passing 'const int *' to parameter of type 'int *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] ModelicaRandom_xorshift128plus((const int*) _stateIn_c89, (int*) _stateOut_c89, &_result_ext); ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include/ModelicaRandom.c:363:57: note: passing argument to parameter 'state_in' here MODELICA_EXPORT void ModelicaRandom_xorshift128plus(int state_in[], int state_out[], double* y) { ^ Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Distributions_functions.c:199:33: warning: passing 'const int *' to parameter of type 'int *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] ModelicaRandom_xorshift64star((const int*) _stateIn_c89, (int*) _stateOut_c89, &_result_ext); ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include/ModelicaRandom.c:312:56: note: passing argument to parameter 'state_in' here MODELICA_EXPORT void ModelicaRandom_xorshift64star(int state_in[], int state_out[], double* y) { ^ Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Distributions_functions.c:425: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_Distributions_records.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Distributions_records.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Distributions_records.c: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_Distributions_01exo.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Distributions_01exo.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Distributions_01exo.c:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Distributions_model.h:5: In file included from ./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_Distributions_02nls.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Distributions_02nls.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Distributions_02nls.c:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Distributions_model.h:5: In file included from ./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_Distributions_03lsy.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Distributions_03lsy.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Distributions_03lsy.c:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Distributions_model.h:5: In file included from ./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_Distributions_04set.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Distributions_04set.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Distributions_04set.c:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Distributions_model.h:5: In file included from ./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_Distributions_05evt.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Distributions_05evt.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Distributions_05evt.c:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Distributions_model.h:5: In file included from ./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_Distributions_06inz.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Distributions_06inz.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Distributions_06inz.c:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Distributions_model.h:5: In file included from ./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_Distributions_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_Distributions_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_Distributions_06inz.c:37:75: error: use of undeclared identifier 'stateSize' integer_array_create(&tmp0, ((modelica_integer*)&(state)), 1, (_index_t)stateSize); ^ Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Distributions_06inz.c:191:53: error: use of undeclared identifier 'state'; did you mean 'static'? integer_array_create(&tmp4, ((modelica_integer*)&(state)), 1, (_index_t)stateSize); ^~~~~ static Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Distributions_06inz.c:191:53: error: address of overloaded function 'status' does not match required type 'long' integer_array_create(&tmp4, ((modelica_integer*)&(state)), 1, (_index_t)stateSize); ^~~~~ Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Distributions_06inz.c:191:75: error: use of undeclared identifier 'stateSize' integer_array_create(&tmp4, ((modelica_integer*)&(state)), 1, (_index_t)stateSize); ^ 2 warnings and 6 errors generated. make: *** [: Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Distributions_06inz.o] Error 1