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: translateModel(Modelica_Noise.Blocks.Examples.NoiseExamples.NormalNoiseProperties,tolerance=1e-09,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.NormalNoiseProperties") translateModel(Modelica_Noise.Blocks.Examples.NoiseExamples.NormalNoiseProperties,tolerance=1e-09,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.NormalNoiseProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001572/0.001572, allocations: 169.1 kB / 7.643 MB, free: 1.426 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.086/1.086, allocations: 170.7 MB / 178.7 MB, free: 7.039 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.001621/0.001621, allocations: 110.8 kB / 218 MB, free: 15.34 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/package.mo): time 0.01955/0.01955, allocations: 3.059 MB / 260.2 MB, free: 5.066 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.392e-05/2.382e-05, allocations: 1 kB / 305.8 MB, free: 69.5 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05366/0.05371, allocations: 39.4 MB / 345.2 MB, free: 33 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2396/0.2934, allocations: 69.73 MB / 414.9 MB, free: 17.62 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002037/0.2936, allocations: 78.78 kB / 415 MB, free: 17.62 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Math/Random/Interfaces/random.mo:7:3-7:71:writable] Warning: Unused input variable stateSize in function .Modelica_Noise.Math.Random.Generators.Xorshift64star.random. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Math/Random/Interfaces/random.mo:7:3-7:71:writable] Warning: Unused input variable stateSize in function .Modelica_Noise.Math.Random.Generators.Xorshift128plus.random. Notification: Performance of FrontEnd - DAE generated: time 0.01921/0.3129, allocations: 7.935 MB / 422.9 MB, free: 16.8 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.3129, allocations: 3.906 kB / 422.9 MB, free: 16.8 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.153e-05/0.3129, allocations: 3.969 kB / 422.9 MB, free: 16.8 MB / 282.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.0007042/0.3136, allocations: 0.5416 MB / 423.5 MB, free: 16.36 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.244e-05/0.3136, allocations: 11.81 kB / 423.5 MB, free: 16.35 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001946/0.3138, allocations: 31.62 kB / 423.5 MB, free: 16.34 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002281/0.3141, allocations: 242.7 kB / 423.8 MB, free: 16.12 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.565e-05/0.3141, allocations: 7.875 kB / 423.8 MB, free: 16.12 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.804e-05/0.3142, allocations: 11.73 kB / 423.8 MB, free: 16.12 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001944/0.3144, allocations: 94.55 kB / 423.9 MB, free: 16.12 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002354/0.3146, allocations: 160.5 kB / 424 MB, free: 16.07 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.3146, allocations: 3.906 kB / 424 MB, free: 16.07 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.858e-05/0.3146, allocations: 4 kB / 424 MB, free: 16.07 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.3147, allocations: 3.906 kB / 424 MB, free: 16.07 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007916/0.3155, allocations: 0.6044 MB / 424.6 MB, free: 15.72 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005083/0.316, allocations: 239.9 kB / 424.9 MB, free: 15.66 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001011/0.3161, allocations: 84.95 kB / 425 MB, free: 15.64 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.142e-05/0.3161, allocations: 7.438 kB / 425 MB, free: 15.64 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001936/0.3163, allocations: 158.5 kB / 425.1 MB, free: 15.57 MB / 282.7 MB Notification: Performance of pre-optimization done (n=23): time 2.244e-06/0.3163, allocations: 7.922 kB / 425.1 MB, free: 15.56 MB / 282.7 MB Notification: Performance of matching and sorting (n=23): time 0.0004127/0.3167, allocations: 207.2 kB / 425.3 MB, free: 15.52 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.199e-05/0.3168, allocations: 87.34 kB / 425.4 MB, free: 15.42 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.3169, allocations: 166.7 kB / 425.6 MB, free: 15.32 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.139e-05/0.3169, allocations: 35.55 kB / 425.6 MB, free: 15.29 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.241e-05/0.317, allocations: 127.9 kB / 425.7 MB, free: 15.19 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.047e-05/0.3171, allocations: 63.23 kB / 425.8 MB, free: 15.15 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.466e-05/0.3171, allocations: 0 / 425.8 MB, free: 15.15 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.567e-05/0.3171, allocations: 332.6 kB / 426.1 MB, free: 14.84 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001196/0.3173, allocations: 77.98 kB / 426.2 MB, free: 14.84 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001248/0.3174, allocations: 118.4 kB / 426.3 MB, free: 14.81 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002035/0.3176, allocations: 93.02 kB / 426.4 MB, free: 14.81 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3176, allocations: 0 / 426.4 MB, free: 14.81 MB / 282.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004144/0.318, allocations: 267.1 kB / 426.7 MB, free: 14.75 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.3181, allocations: 4.812 kB / 426.7 MB, free: 14.75 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.3181, allocations: 0 / 426.7 MB, free: 14.75 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.3181, allocations: 11.83 kB / 426.7 MB, free: 14.75 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002825/0.3184, allocations: 75.05 kB / 426.8 MB, free: 14.74 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.3184, allocations: 7.906 kB / 426.8 MB, free: 14.73 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001561/0.3186, allocations: 41.89 kB / 426.8 MB, free: 14.72 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.041e-05/0.3186, allocations: 17.7 kB / 426.8 MB, free: 14.71 MB / 282.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.214e-05/0.3187, allocations: 113.4 kB / 426.9 MB, free: 14.61 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.707e-05/0.3187, allocations: 16.16 kB / 426.9 MB, free: 14.6 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.754e-05/0.3188, allocations: 18.89 kB / 427 MB, free: 14.59 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.3188, allocations: 3.844 kB / 427 MB, free: 14.59 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.433e-06/0.3188, allocations: 4.562 kB / 427 MB, free: 14.59 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.3188, allocations: 1.078 kB / 427 MB, free: 14.59 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006689/0.3195, allocations: 0.5343 MB / 427.5 MB, free: 14.31 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.3195, allocations: 3.875 kB / 427.5 MB, free: 14.31 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002375/0.3197, allocations: 53.78 kB / 427.6 MB, free: 14.31 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.3197, allocations: 0.5156 kB / 427.6 MB, free: 14.31 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.766e-05/0.3198, allocations: 10.31 kB / 427.6 MB, free: 14.3 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.3198, allocations: 3.938 kB / 427.6 MB, free: 14.3 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.3198, allocations: 0 / 427.6 MB, free: 14.3 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004708/0.3203, allocations: 414.9 kB / 428 MB, free: 14.12 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.473e-05/0.3203, allocations: 99.17 kB / 428.1 MB, free: 14.02 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.523e-05/0.3204, allocations: 8.703 kB / 428.1 MB, free: 14.02 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001833/0.3206, allocations: 26.64 kB / 428.1 MB, free: 14.02 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.791e-05/0.3206, allocations: 13.81 kB / 428.1 MB, free: 14.02 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.979e-05/0.3207, allocations: 13.72 kB / 428.1 MB, free: 14.01 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.581e-05/0.3207, allocations: 129.6 kB / 428.3 MB, free: 13.93 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3207, allocations: 0 / 428.3 MB, free: 13.93 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005221/0.3213, allocations: 125.2 kB / 428.4 MB, free: 13.9 MB / 282.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]) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006728/0.322, allocations: 281.2 kB / 428.7 MB, free: 13.75 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000372/0.3223, allocations: 224.9 kB / 428.9 MB, free: 13.71 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3223, allocations: 0 / 428.9 MB, free: 13.71 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001168/0.3225, allocations: 84.72 kB / 429 MB, free: 13.7 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002428/0.3227, allocations: 18.03 kB / 429 MB, free: 13.7 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005178/0.3232, allocations: 319 kB / 429.3 MB, free: 13.55 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001766/0.3234, allocations: 0.7416 MB / 430 MB, free: 12.85 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001307/0.3236, allocations: 32.84 kB / 430.1 MB, free: 12.84 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.07e-05/0.3237, allocations: 25.97 kB / 430.1 MB, free: 12.83 MB / 282.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3237, allocations: 0 / 430.1 MB, free: 12.83 MB / 282.7 MB Notification: Performance of Templates: time 0.006737/0.3304, allocations: 3.57 MB / 433.7 MB, free: 12.52 MB / 282.7 MB make -j1 -f Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.NormalNoiseProperties.makefile make -j1 -f Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.NormalNoiseProperties.makefile clang -Os -fPIC -falign-functions -mfpmath=sse "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_NormalNoiseProperties -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.NormalNoiseProperties.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.NormalNoiseProperties.c clang -Os -fPIC -falign-functions -mfpmath=sse "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_NormalNoiseProperties -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -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:6: 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:19: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:100: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:320: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) { ^ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.NormalNoiseProperties_functions.c:348:14: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_u == 0.0)) ~~~^~~~~~ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.NormalNoiseProperties_functions.c:348:14: note: remove extraneous parentheses around the comparison to silence this warning if((_u == 0.0)) ~ ^ ~ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.NormalNoiseProperties_functions.c:348:14: note: use '=' to turn this equality comparison into an assignment if((_u == 0.0)) ^~ = 5 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_NormalNoiseProperties -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.NormalNoiseProperties_records.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.NormalNoiseProperties_records.c clang -Os -fPIC -falign-functions -mfpmath=sse "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_NormalNoiseProperties -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.NormalNoiseProperties_01exo.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.NormalNoiseProperties_01exo.c clang -Os -fPIC -falign-functions -mfpmath=sse "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_NormalNoiseProperties -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.NormalNoiseProperties_02nls.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.NormalNoiseProperties_02nls.c clang -Os -fPIC -falign-functions -mfpmath=sse "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_NormalNoiseProperties -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.NormalNoiseProperties_03lsy.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.NormalNoiseProperties_03lsy.c clang -Os -fPIC -falign-functions -mfpmath=sse "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_NormalNoiseProperties -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.NormalNoiseProperties_04set.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.NormalNoiseProperties_04set.c clang -Os -fPIC -falign-functions -mfpmath=sse "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_NormalNoiseProperties -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.NormalNoiseProperties_05evt.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.NormalNoiseProperties_05evt.c clang -Os -fPIC -falign-functions -mfpmath=sse "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_NormalNoiseProperties -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.NormalNoiseProperties_06inz.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.NormalNoiseProperties_06inz.c Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.NormalNoiseProperties_06inz.c:127:55: error: use of undeclared identifier '$Pstate'; did you mean 'setstate'? integer_array_create(&tmp1, ((modelica_integer*)&((&$Pstate)[calc_base_index_dims_subs(1, $PstateSize, ((modelica_integer) 1))])), 1, $PstateSize); ^~~~~~~ setstate /usr/include/stdlib.h:415:14: note: 'setstate' declared here extern char *setstate (char *__statebuf) __THROW __nonnull ((1)); ^ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.NormalNoiseProperties_06inz.c:127:93: error: use of undeclared identifier '$PstateSize' integer_array_create(&tmp1, ((modelica_integer*)&((&$Pstate)[calc_base_index_dims_subs(1, $PstateSize, ((modelica_integer) 1))])), 1, $PstateSize); ^ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.NormalNoiseProperties_06inz.c:127:137: error: use of undeclared identifier '$PstateSize' integer_array_create(&tmp1, ((modelica_integer*)&((&$Pstate)[calc_base_index_dims_subs(1, $PstateSize, ((modelica_integer) 1))])), 1, $PstateSize); ^ 3 errors generated. make: *** [: Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.NormalNoiseProperties_06inz.o] Error 1