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.0008888/0.0008889, allocations: 168.6 kB / 15.44 MB, free: 6.242 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.006/1.006, allocations: 170.8 MB / 187 MB, free: 0.875 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.001415/0.001415, allocations: 105.9 kB / 226.5 MB, free: 9.965 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/package.mo): time 0.01901/0.01901, allocations: 3.11 MB / 269.1 MB, free: 15.29 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003167/0.0003167, allocations: 16.66 kB / 319.4 MB, free: 62.77 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05344/0.05377, allocations: 39.39 MB / 358.8 MB, free: 23.48 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica_Noise.Blocks.Examples.NoiseExamples.NormalNoiseProperties): time 0.001581/0.05539, allocations: 1.531 MB / 360.3 MB, free: 21.93 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001725/0.05715, allocations: 1.286 MB / 361.6 MB, free: 20.64 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000124/0.0573, allocations: 4 kB / 361.6 MB, free: 20.64 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001024/0.05741, allocations: 11.86 kB / 361.6 MB, free: 20.62 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003974/0.05782, allocations: 75.72 kB / 361.7 MB, free: 20.55 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003986/0.05823, allocations: 215.5 kB / 361.9 MB, free: 20.34 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001591/0.0584, allocations: 195.6 kB / 362.1 MB, free: 20.15 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001615/0.05857, allocations: 76.41 kB / 362.2 MB, free: 20.07 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.902e-05/0.05866, allocations: 71.69 kB / 362.2 MB, free: 20 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/0.05878, allocations: 95.58 kB / 362.3 MB, free: 19.91 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.869e-05/0.05881, allocations: 8 kB / 362.3 MB, free: 19.9 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004419/0.05926, allocations: 331.2 kB / 362.7 MB, free: 19.58 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.445e-05/0.05932, allocations: 35.89 kB / 362.7 MB, free: 19.54 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.145e-05/0.05942, allocations: 109.2 kB / 362.8 MB, free: 19.43 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004094/0.05983, allocations: 394.8 kB / 363.2 MB, free: 19.04 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.05985, allocations: 0 / 363.2 MB, free: 19.04 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.05986, allocations: 0 / 363.2 MB, free: 19.04 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.084e-05/0.05987, allocations: 0 / 363.2 MB, free: 19.04 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.0009774/0.06086, allocations: 0.5662 MB / 363.7 MB, free: 18.43 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.0609, allocations: 12.02 kB / 363.8 MB, free: 18.41 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.465e-05/0.06095, allocations: 54.73 kB / 363.8 MB, free: 18.35 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002064/0.06116, allocations: 32.66 kB / 363.8 MB, free: 18.32 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000168/0.06134, allocations: 235.9 kB / 364.1 MB, free: 18.05 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.308e-05/0.06137, allocations: 20.64 kB / 364.1 MB, free: 18.03 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.403e-05/0.06141, allocations: 16.38 kB / 364.1 MB, free: 18.02 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004204/0.06184, allocations: 252.2 kB / 364.4 MB, free: 17.76 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.605e-06/0.06186, allocations: 4 kB / 364.4 MB, free: 17.75 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.68e-05/0.06188, allocations: 3.938 kB / 364.4 MB, free: 17.75 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.06189, allocations: 4 kB / 364.4 MB, free: 17.75 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003924/0.06229, allocations: 175.9 kB / 364.5 MB, free: 17.57 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007606/0.06306, allocations: 0.6484 MB / 365.2 MB, free: 16.87 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000944/0.06401, allocations: 405.2 kB / 365.6 MB, free: 16.46 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002613/0.06428, allocations: 145.6 kB / 365.7 MB, free: 16.31 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.799e-05/0.06431, allocations: 4.062 kB / 365.7 MB, free: 16.3 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003387/0.06466, allocations: 212.8 kB / 365.9 MB, free: 16.08 MB / 250.7 MB Notification: Performance of pre-optimization done (n=23): time 1.343e-06/0.06467, allocations: 4 kB / 365.9 MB, free: 16.07 MB / 250.7 MB Notification: Performance of matching and sorting (n=23): time 0.0008935/0.06557, allocations: 428.3 kB / 366.4 MB, free: 15.65 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.344e-05/0.06561, allocations: 93.03 kB / 366.4 MB, free: 15.54 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/0.06575, allocations: 207.8 kB / 366.7 MB, free: 15.33 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.422e-05/0.06579, allocations: 37.7 kB / 366.7 MB, free: 15.29 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.893e-05/0.06584, allocations: 124.4 kB / 366.8 MB, free: 15.16 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.905e-05/0.06589, allocations: 75 kB / 366.9 MB, free: 15.09 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.522e-05/0.06591, allocations: 7.984 kB / 366.9 MB, free: 15.08 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 4.679e-05/0.06596, allocations: 334.8 kB / 367.2 MB, free: 14.74 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002857/0.06625, allocations: 151.8 kB / 367.4 MB, free: 14.59 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002831/0.06654, allocations: 173.9 kB / 367.5 MB, free: 14.42 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005308/0.06708, allocations: 298 kB / 367.8 MB, free: 14.12 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.06709, allocations: 0 / 367.8 MB, free: 14.12 MB / 250.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006529/0.06775, allocations: 406 kB / 368.2 MB, free: 13.72 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.06777, allocations: 11.94 kB / 368.2 MB, free: 13.71 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.06778, allocations: 0 / 368.2 MB, free: 13.71 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.0678, allocations: 0 / 368.2 MB, free: 13.71 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002594/0.06806, allocations: 79.88 kB / 368.3 MB, free: 13.63 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.06808, allocations: 0 / 368.3 MB, free: 13.63 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001457/0.06823, allocations: 43.73 kB / 368.4 MB, free: 13.59 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.302e-05/0.06826, allocations: 15.98 kB / 368.4 MB, free: 13.57 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,noise.localSeed,$PRE.noise.state[1],noise.state[1],$PRE.noise.state[2],noise.state[2],$PRE.noise.state[3],noise.state[3],$PRE.noise.state[4],noise.state[4],$PRE.noise.r,noise.r,$PRE.noise.r_raw,noise.r_raw) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 34 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001037/0.06837, allocations: 143.7 kB / 368.5 MB, free: 13.42 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.568e-05/0.0684, allocations: 27.64 kB / 368.5 MB, free: 13.39 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.31e-05/0.06846, allocations: 25.88 kB / 368.6 MB, free: 13.37 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.06847, allocations: 0 / 368.6 MB, free: 13.37 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.06847, allocations: 0 / 368.6 MB, free: 13.37 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.06848, allocations: 3.984 kB / 368.6 MB, free: 13.37 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009058/0.06939, allocations: 0.6856 MB / 369.3 MB, free: 12.62 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.06941, allocations: 3.938 kB / 369.3 MB, free: 12.62 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002218/0.06963, allocations: 51.95 kB / 369.3 MB, free: 12.57 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.06965, allocations: 3.938 kB / 369.3 MB, free: 12.57 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.108e-05/0.06967, allocations: 12 kB / 369.3 MB, free: 12.55 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.06968, allocations: 0 / 369.3 MB, free: 12.55 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.06969, allocations: 7.922 kB / 369.3 MB, free: 12.55 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008733/0.07056, allocations: 0.5434 MB / 369.9 MB, free: 11.98 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.348e-05/0.07061, allocations: 100.8 kB / 370 MB, free: 11.87 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.581e-05/0.07065, allocations: 12.06 kB / 370 MB, free: 11.86 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001731/0.07083, allocations: 27.97 kB / 370 MB, free: 11.83 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.804e-05/0.07089, allocations: 23.97 kB / 370 MB, free: 11.8 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.468e-05/0.07091, allocations: 4 kB / 370 MB, free: 11.8 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.964e-05/0.071, allocations: 145.5 kB / 370.2 MB, free: 11.66 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.07101, allocations: 0 / 370.2 MB, free: 11.66 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003341/0.07135, allocations: 115.8 kB / 370.3 MB, free: 11.55 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.001344/0.0727, allocations: 1.22 MB / 371.5 MB, free: 10.3 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0006542/0.07336, allocations: 323.6 kB / 371.8 MB, free: 9.988 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.07338, allocations: 0 / 371.8 MB, free: 9.988 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002863/0.07367, allocations: 139.9 kB / 372 MB, free: 9.852 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002894/0.07397, allocations: 19.98 kB / 372 MB, free: 9.832 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003067/0.07704, allocations: 2.943 MB / 374.9 MB, free: 6.797 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001421/0.0772, allocations: 0.7437 MB / 375.7 MB, free: 6.027 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001081/0.07731, allocations: 25.94 kB / 375.7 MB, free: 6.004 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001074/0.07743, allocations: 63.41 kB / 375.8 MB, free: 5.941 MB / 250.7 MB Notification: Performance of SimCode: time 7.62e-07/0.07744, allocations: 4 kB / 375.8 MB, free: 5.938 MB / 250.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01482/0.09226, allocations: 5.772 MB / 381.5 MB, free: 280 kB / 250.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001382/0.09243, allocations: 226 kB / 381.8 MB, free: 16 kB / 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