Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.NormalNoiseProperties.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.NormalNoiseProperties,fileNamePrefix="Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_NormalNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Noise.Blocks.Examples.NoiseExamples.NormalNoiseProperties,fileNamePrefix="Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_NormalNoiseProperties",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.0008267/0.0008268, allocations: 170.8 kB / 15.41 MB, free: 6.203 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.011/1.011, allocations: 170.5 MB / 186.7 MB, free: 1.172 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.001543/0.001543, allocations: 114.9 kB / 226 MB, free: 10.3 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.02049/0.02049, allocations: 3.107 MB / 268.3 MB, free: 15.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003347/0.0003348, allocations: 11.94 kB / 318.2 MB, free: 63.21 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05576/0.05611, allocations: 39.12 MB / 357.4 MB, free: 24.21 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica_Noise.Blocks.Examples.NoiseExamples.NormalNoiseProperties): time 0.001626/0.05778, allocations: 1.56 MB / 358.9 MB, free: 22.63 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001491/0.05928, allocations: 1.306 MB / 360.2 MB, free: 21.32 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.546e-05/0.05936, allocations: 7.938 kB / 360.2 MB, free: 21.31 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.747e-05/0.05947, allocations: 15.86 kB / 360.2 MB, free: 21.29 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003404/0.05981, allocations: 75.73 kB / 360.3 MB, free: 21.22 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003327/0.06016, allocations: 215.5 kB / 360.5 MB, free: 21.01 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001307/0.0603, allocations: 191.6 kB / 360.7 MB, free: 20.82 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.06042, allocations: 68.48 kB / 360.8 MB, free: 20.75 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.557e-05/0.06051, allocations: 83.61 kB / 360.9 MB, free: 20.67 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.965e-05/0.06059, allocations: 91.59 kB / 360.9 MB, free: 20.58 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.597e-05/0.06063, allocations: 8 kB / 361 MB, free: 20.57 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00036/0.06099, allocations: 331.3 kB / 361.3 MB, free: 20.25 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.242e-05/0.06105, allocations: 35.84 kB / 361.3 MB, free: 20.21 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.886e-05/0.06111, allocations: 87.44 kB / 361.4 MB, free: 20.13 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003276/0.06145, allocations: 386.9 kB / 361.8 MB, free: 19.75 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.06146, allocations: 4 kB / 361.8 MB, free: 19.75 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.06147, allocations: 3.938 kB / 361.8 MB, free: 19.74 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.088e-06/0.06148, allocations: 0 / 361.8 MB, free: 19.74 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.0008391/0.06232, allocations: 0.5623 MB / 362.3 MB, free: 19.13 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.06236, allocations: 11.97 kB / 362.4 MB, free: 19.12 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.181e-05/0.06241, allocations: 50.73 kB / 362.4 MB, free: 19.06 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001743/0.06259, allocations: 36.64 kB / 362.4 MB, free: 19.02 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001636/0.06276, allocations: 239.9 kB / 362.7 MB, free: 18.75 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.251e-05/0.06279, allocations: 12.66 kB / 362.7 MB, free: 18.74 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.141e-05/0.06283, allocations: 16.38 kB / 362.7 MB, free: 18.72 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004101/0.06325, allocations: 252.2 kB / 363 MB, free: 18.46 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.06326, allocations: 3.938 kB / 363 MB, free: 18.46 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.641e-05/0.06329, allocations: 12 kB / 363 MB, free: 18.45 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.0633, allocations: 4 kB / 363 MB, free: 18.45 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004164/0.06372, allocations: 171.9 kB / 363.1 MB, free: 18.28 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007254/0.06445, allocations: 0.6484 MB / 363.8 MB, free: 17.57 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009002/0.06537, allocations: 397.3 kB / 364.2 MB, free: 17.17 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002551/0.06563, allocations: 141.6 kB / 364.3 MB, free: 17.02 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.921e-05/0.06566, allocations: 12.06 kB / 364.3 MB, free: 17.01 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003321/0.066, allocations: 204.8 kB / 364.5 MB, free: 16.79 MB / 250.7 MB Notification: Performance of pre-optimization done (n=23): time 1.413e-06/0.06601, allocations: 0 / 364.5 MB, free: 16.79 MB / 250.7 MB Notification: Performance of matching and sorting (n=23): time 0.0008624/0.06688, allocations: 439.1 kB / 365 MB, free: 16.36 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.328e-05/0.06692, allocations: 89.11 kB / 365 MB, free: 16.26 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.06706, allocations: 203.8 kB / 365.2 MB, free: 16.05 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.459e-05/0.0671, allocations: 45.67 kB / 365.3 MB, free: 16 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.834e-05/0.06715, allocations: 128.4 kB / 365.4 MB, free: 15.87 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.693e-05/0.0672, allocations: 67.02 kB / 365.5 MB, free: 15.8 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.904e-05/0.06724, allocations: 45.67 kB / 365.5 MB, free: 15.75 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 4.922e-05/0.06729, allocations: 334.8 kB / 365.9 MB, free: 15.41 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000287/0.06759, allocations: 143.9 kB / 366 MB, free: 15.27 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002804/0.06788, allocations: 169.9 kB / 366.2 MB, free: 15.1 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005103/0.06839, allocations: 306 kB / 366.5 MB, free: 14.8 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.06841, allocations: 0 / 366.5 MB, free: 14.8 MB / 250.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.000642/0.06905, allocations: 406 kB / 366.9 MB, free: 14.39 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.06908, allocations: 7.938 kB / 366.9 MB, free: 14.39 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.06909, allocations: 0 / 366.9 MB, free: 14.39 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.0691, allocations: 7.938 kB / 366.9 MB, free: 14.38 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002493/0.06936, allocations: 75.89 kB / 366.9 MB, free: 14.3 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.06937, allocations: 11.97 kB / 367 MB, free: 14.29 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001418/0.06952, allocations: 39.73 kB / 367 MB, free: 14.25 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.06955, allocations: 11.98 kB / 367 MB, free: 14.24 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.r_raw,$PRE.noise.r_raw,noise.r,$PRE.noise.r,noise.state[4],$PRE.noise.state[4],noise.state[3],$PRE.noise.state[3],noise.state[2],$PRE.noise.state[2],noise.state[1],$PRE.noise.state[1],noise.localSeed) * 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 9.532e-05/0.06965, allocations: 155.7 kB / 367.2 MB, free: 14.08 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.088e-05/0.06968, allocations: 23.66 kB / 367.2 MB, free: 14.06 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.988e-05/0.06974, allocations: 21.86 kB / 367.2 MB, free: 14.04 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.06975, allocations: 0 / 367.2 MB, free: 14.04 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.06976, allocations: 4 kB / 367.2 MB, free: 14.04 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.06976, allocations: 0 / 367.2 MB, free: 14.04 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008802/0.07065, allocations: 0.6933 MB / 367.9 MB, free: 13.29 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.07066, allocations: 0 / 367.9 MB, free: 13.29 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000214/0.07088, allocations: 51.95 kB / 367.9 MB, free: 13.23 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.07089, allocations: 3.938 kB / 368 MB, free: 13.23 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.902e-05/0.07092, allocations: 8 kB / 368 MB, free: 13.22 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.07092, allocations: 8 kB / 368 MB, free: 13.21 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.07093, allocations: 0 / 368 MB, free: 13.21 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008644/0.0718, allocations: 0.5472 MB / 368.5 MB, free: 12.65 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.216e-05/0.07184, allocations: 100.8 kB / 368.6 MB, free: 12.53 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.495e-05/0.07188, allocations: 8.062 kB / 368.6 MB, free: 12.52 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001686/0.07206, allocations: 31.97 kB / 368.7 MB, free: 12.49 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.421e-05/0.07211, allocations: 11.98 kB / 368.7 MB, free: 12.48 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.398e-05/0.07213, allocations: 11.98 kB / 368.7 MB, free: 12.47 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.884e-05/0.07222, allocations: 153.5 kB / 368.8 MB, free: 12.32 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.07223, allocations: 0 / 368.8 MB, free: 12.32 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003223/0.07256, allocations: 103.9 kB / 368.9 MB, free: 12.22 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.001306/0.07387, allocations: 1.234 MB / 370.2 MB, free: 10.96 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0005964/0.07448, allocations: 315.6 kB / 370.5 MB, free: 10.66 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.522e-06/0.07449, allocations: 4 kB / 370.5 MB, free: 10.65 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002735/0.07477, allocations: 135.9 kB / 370.6 MB, free: 10.52 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002713/0.07505, allocations: 23.25 kB / 370.6 MB, free: 10.5 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002934/0.07799, allocations: 2.934 MB / 373.6 MB, free: 7.48 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000129/0.07813, allocations: 0.7398 MB / 374.3 MB, free: 6.715 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001038/0.07824, allocations: 29.94 kB / 374.3 MB, free: 6.688 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.794e-05/0.07835, allocations: 71.41 kB / 374.4 MB, free: 6.617 MB / 250.7 MB Notification: Performance of SimCode: time 2.6e-07/0.07835, allocations: 0 / 374.4 MB, free: 6.617 MB / 250.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01872/0.09708, allocations: 5.76 MB / 380.2 MB, free: 0.9648 MB / 250.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001175/0.09722, allocations: 226.3 kB / 380.4 MB, free: 0.707 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_NormalNoiseProperties.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_NormalNoiseProperties.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_NormalNoiseProperties.c:7: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_NormalNoiseProperties_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_NormalNoiseProperties_functions.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_NormalNoiseProperties_functions.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_NormalNoiseProperties_functions.c:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_NormalNoiseProperties_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_NormalNoiseProperties_functions.c:7: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_NormalNoiseProperties_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_NormalNoiseProperties_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_NormalNoiseProperties_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_NormalNoiseProperties_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_NormalNoiseProperties_records.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_NormalNoiseProperties_records.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_NormalNoiseProperties_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_NormalNoiseProperties_01exo.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_NormalNoiseProperties_01exo.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_NormalNoiseProperties_01exo.c:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_NormalNoiseProperties_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_NormalNoiseProperties_02nls.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_NormalNoiseProperties_02nls.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_NormalNoiseProperties_02nls.c:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_NormalNoiseProperties_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_NormalNoiseProperties_03lsy.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_NormalNoiseProperties_03lsy.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_NormalNoiseProperties_03lsy.c:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_NormalNoiseProperties_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_NormalNoiseProperties_04set.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_NormalNoiseProperties_04set.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_NormalNoiseProperties_04set.c:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_NormalNoiseProperties_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_NormalNoiseProperties_05evt.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_NormalNoiseProperties_05evt.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_NormalNoiseProperties_05evt.c:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_NormalNoiseProperties_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_NormalNoiseProperties_06inz.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_NormalNoiseProperties_06inz.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_NormalNoiseProperties_06inz.c:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_NormalNoiseProperties_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_NormalNoiseProperties_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_NormalNoiseProperties_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_NormalNoiseProperties_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_NormalNoiseProperties_06inz.o] Error 1