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.0007965/0.0007966, allocations: 172.5 kB / 15.41 MB, free: 5.887 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.999/0.999, allocations: 170.5 MB / 186.7 MB, free: 1.152 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.001457/0.001457, allocations: 98.83 kB / 226 MB, free: 10.29 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.0192/0.0192, allocations: 3.12 MB / 268.3 MB, free: 15.89 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003306/0.0003306, allocations: 13.06 kB / 318.2 MB, free: 63.2 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05754/0.05789, allocations: 39.13 MB / 357.4 MB, free: 24.2 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions): time 0.001266/0.05919, allocations: 1.266 MB / 358.6 MB, free: 22.91 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001769/0.06097, allocations: 1.524 MB / 360.1 MB, free: 21.38 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.07e-05/0.06104, allocations: 4 kB / 360.1 MB, free: 21.38 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001152/0.06116, allocations: 3.938 kB / 360.2 MB, free: 21.37 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003733/0.06154, allocations: 79.73 kB / 360.2 MB, free: 21.29 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004078/0.06196, allocations: 279.3 kB / 360.5 MB, free: 21.02 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001028/0.06207, allocations: 131.5 kB / 360.6 MB, free: 20.89 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.47e-05/0.06213, allocations: 21.34 kB / 360.7 MB, free: 20.87 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.805e-05/0.0622, allocations: 59.7 kB / 360.7 MB, free: 20.81 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.289e-05/0.06226, allocations: 59.73 kB / 360.8 MB, free: 20.75 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.974e-05/0.06229, allocations: 8 kB / 360.8 MB, free: 20.75 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005098/0.0628, allocations: 479 kB / 361.2 MB, free: 20.28 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.204e-05/0.06286, allocations: 35.84 kB / 361.3 MB, free: 20.24 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.477e-05/0.06291, allocations: 63.58 kB / 361.3 MB, free: 20.18 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000402/0.06332, allocations: 414.9 kB / 361.7 MB, free: 19.77 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.06333, allocations: 4 kB / 361.7 MB, free: 19.77 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.06334, allocations: 0 / 361.7 MB, free: 19.77 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.446e-06/0.06335, allocations: 0 / 361.7 MB, free: 19.77 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.0005563/0.06391, allocations: 0.491 MB / 362.2 MB, free: 19.23 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.06396, allocations: 11.97 kB / 362.3 MB, free: 19.22 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.449e-05/0.064, allocations: 42.73 kB / 362.3 MB, free: 19.17 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001826/0.06418, allocations: 28.73 kB / 362.3 MB, free: 19.14 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001163/0.06431, allocations: 216 kB / 362.5 MB, free: 18.89 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.06433, allocations: 8.359 kB / 362.5 MB, free: 18.88 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.572e-05/0.06436, allocations: 4.375 kB / 362.5 MB, free: 18.88 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002185/0.06458, allocations: 153.8 kB / 362.7 MB, free: 18.71 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.0646, allocations: 0 / 362.7 MB, free: 18.71 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.06461, allocations: 0 / 362.7 MB, free: 18.71 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.912e-06/0.06462, allocations: 3.984 kB / 362.7 MB, free: 18.7 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001816/0.06481, allocations: 83.83 kB / 362.8 MB, free: 18.62 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001783/0.065, allocations: 257 kB / 363 MB, free: 18.31 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002848/0.06529, allocations: 208.9 kB / 363.2 MB, free: 18.06 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001207/0.06542, allocations: 80.48 kB / 363.3 MB, free: 17.96 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.047e-05/0.06544, allocations: 7.938 kB / 363.3 MB, free: 17.96 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002538/0.0657, allocations: 179.5 kB / 363.5 MB, free: 17.75 MB / 250.7 MB Notification: Performance of pre-optimization done (n=19): time 1.392e-06/0.06571, allocations: 0 / 363.5 MB, free: 17.75 MB / 250.7 MB Notification: Performance of matching and sorting (n=19): time 0.000529/0.06625, allocations: 293.8 kB / 363.8 MB, free: 17.46 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.881e-05/0.06631, allocations: 178.6 kB / 364 MB, free: 17.25 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.06643, allocations: 186.6 kB / 364.1 MB, free: 17.05 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.635e-05/0.06647, allocations: 49.67 kB / 364.2 MB, free: 17 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.708e-05/0.06651, allocations: 108.1 kB / 364.3 MB, free: 16.89 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.889e-05/0.06655, allocations: 47.39 kB / 364.3 MB, free: 16.84 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.271e-05/0.06659, allocations: 29.7 kB / 364.4 MB, free: 16.81 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 5.066e-05/0.06665, allocations: 338.8 kB / 364.7 MB, free: 16.47 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001543/0.06681, allocations: 95.95 kB / 364.8 MB, free: 16.38 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001592/0.06697, allocations: 133.3 kB / 364.9 MB, free: 16.23 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000325/0.06731, allocations: 242.2 kB / 365.2 MB, free: 15.98 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.06732, allocations: 0 / 365.2 MB, free: 15.98 MB / 250.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003956/0.06772, allocations: 300.8 kB / 365.5 MB, free: 15.68 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.06774, allocations: 8 kB / 365.5 MB, free: 15.68 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.06775, allocations: 0 / 365.5 MB, free: 15.68 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.06777, allocations: 4 kB / 365.5 MB, free: 15.67 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/0.06789, allocations: 27.92 kB / 365.5 MB, free: 15.64 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.06791, allocations: 3.984 kB / 365.5 MB, free: 15.64 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.941e-05/0.06799, allocations: 35.81 kB / 365.5 MB, free: 15.61 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.441e-05/0.06801, allocations: 8 kB / 365.5 MB, free: 15.6 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,truncatedNormalNoise.localSeed,truncatedNormalNoise.r_raw,$PRE.truncatedNormalNoise.r_raw,truncatedNormalNoise.r,$PRE.truncatedNormalNoise.r,truncatedNormalNoise.state[4],$PRE.truncatedNormalNoise.state[4],truncatedNormalNoise.state[3],$PRE.truncatedNormalNoise.state[3],truncatedNormalNoise.state[2],$PRE.truncatedNormalNoise.state[2],truncatedNormalNoise.state[1],$PRE.truncatedNormalNoise.state[1],$whenCondition1,uniformNoise.localSeed,uniformNoise.r_raw,$PRE.uniformNoise.r_raw,uniformNoise.r,$PRE.uniformNoise.r,uniformNoise.state[4],$PRE.uniformNoise.state[4],uniformNoise.state[3],$PRE.uniformNoise.state[3],uniformNoise.state[2],$PRE.uniformNoise.state[2],uniformNoise.state[1],$PRE.uniformNoise.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 9.956e-05/0.06812, allocations: 145.8 kB / 365.7 MB, free: 15.45 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.772e-05/0.06815, allocations: 19.75 kB / 365.7 MB, free: 15.43 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.783e-05/0.06819, allocations: 17.39 kB / 365.7 MB, free: 15.41 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.0682, allocations: 7.938 kB / 365.7 MB, free: 15.41 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.0682, allocations: 0 / 365.7 MB, free: 15.41 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.06821, allocations: 8 kB / 365.7 MB, free: 15.4 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001276/0.06835, allocations: 217.5 kB / 365.9 MB, free: 15.14 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.06836, allocations: 0 / 365.9 MB, free: 15.14 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.471e-05/0.06842, allocations: 15.98 kB / 366 MB, free: 15.12 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.06843, allocations: 0 / 366 MB, free: 15.12 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.06844, allocations: 8 kB / 366 MB, free: 15.11 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.06845, allocations: 11.94 kB / 366 MB, free: 15.1 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.06846, allocations: 0 / 366 MB, free: 15.1 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003411/0.0688, allocations: 276.2 kB / 366.3 MB, free: 14.8 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.296e-05/0.06885, allocations: 100.8 kB / 366.4 MB, free: 14.68 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.848e-05/0.06888, allocations: 15.94 kB / 366.4 MB, free: 14.67 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.065e-05/0.06896, allocations: 11.98 kB / 366.4 MB, free: 14.66 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.75e-05/0.06901, allocations: 15.92 kB / 366.4 MB, free: 14.64 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.06903, allocations: 11.98 kB / 366.4 MB, free: 14.63 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.592e-05/0.06911, allocations: 135.5 kB / 366.5 MB, free: 14.5 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.06912, allocations: 0 / 366.5 MB, free: 14.5 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003169/0.06944, allocations: 128 kB / 366.7 MB, free: 14.37 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.0009351/0.07038, allocations: 1.008 MB / 367.7 MB, free: 13.33 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003549/0.07075, allocations: 195.8 kB / 367.9 MB, free: 13.14 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.07076, allocations: 4.188 kB / 367.9 MB, free: 13.13 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000145/0.07091, allocations: 83.84 kB / 367.9 MB, free: 13.05 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001838/0.07111, allocations: 15.98 kB / 368 MB, free: 13.04 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002029/0.07314, allocations: 2.343 MB / 370.3 MB, free: 10.57 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001379/0.07329, allocations: 0.7203 MB / 371 MB, free: 9.82 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.564e-05/0.07336, allocations: 21.41 kB / 371 MB, free: 9.797 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.742e-05/0.07342, allocations: 43.42 kB / 371.1 MB, free: 9.754 MB / 250.7 MB Notification: Performance of SimCode: time 2.11e-07/0.07343, allocations: 0 / 371.1 MB, free: 9.754 MB / 250.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01394/0.08737, allocations: 5.239 MB / 376.3 MB, free: 4.605 MB / 250.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001407/0.08754, allocations: 213.2 kB / 376.5 MB, free: 4.352 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