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: translateModel(Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions") translateModel(Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002983/0.002983, allocations: 175.7 kB / 7.449 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 0.8939/0.8939, allocations: 170.6 MB / 178.4 MB, free: 15.38 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.001546/0.001546, allocations: 124.3 kB / 217.7 MB, free: 8.137 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.01694/0.01694, allocations: 3.039 MB / 259.8 MB, free: 28.6 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.778e-06/4.879e-06, allocations: 0 / 305.3 MB, free: 15.11 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.157/0.157, allocations: 39.39 MB / 344.7 MB, free: 38.45 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07403/0.2311, allocations: 68.84 MB / 413.5 MB, free: 7.055 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002013/0.2313, allocations: 79.94 kB / 413.6 MB, free: 6.977 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: time 0.02639/0.2577, allocations: 8.831 MB / 422.4 MB, free: 14.12 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.234e-06/0.2578, allocations: 0 / 422.4 MB, free: 14.12 MB / 298.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.0007605/0.2585, allocations: 0.506 MB / 422.9 MB, free: 13.57 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.2586, allocations: 8.031 kB / 422.9 MB, free: 13.57 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000275/0.2589, allocations: 35.78 kB / 422.9 MB, free: 13.53 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002473/0.2591, allocations: 202.5 kB / 423.1 MB, free: 13.3 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.414e-05/0.2592, allocations: 4 kB / 423.2 MB, free: 13.29 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.084e-05/0.2592, allocations: 7.984 kB / 423.2 MB, free: 13.29 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001244/0.2593, allocations: 47.92 kB / 423.2 MB, free: 13.24 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001957/0.2595, allocations: 125.4 kB / 423.3 MB, free: 13.1 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.2595, allocations: 3.938 kB / 423.3 MB, free: 13.09 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.834e-05/0.2596, allocations: 4 kB / 423.3 MB, free: 13.09 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.146e-06/0.2596, allocations: 11.89 kB / 423.3 MB, free: 13.08 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003284/0.2599, allocations: 233.6 kB / 423.6 MB, free: 12.8 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002094/0.2601, allocations: 160.9 kB / 423.7 MB, free: 12.6 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.251e-05/0.2602, allocations: 68.36 kB / 423.8 MB, free: 12.52 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.446e-05/0.2603, allocations: 4.047 kB / 423.8 MB, free: 12.51 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002064/0.2605, allocations: 152.5 kB / 424 MB, free: 12.34 MB / 298.7 MB Notification: Performance of pre-optimization done (n=19): time 1.693e-06/0.2605, allocations: 0 / 424 MB, free: 12.34 MB / 298.7 MB Notification: Performance of matching and sorting (n=19): time 0.0007902/0.2613, allocations: 205.5 kB / 424.2 MB, free: 12.13 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.708e-05/0.2614, allocations: 174.3 kB / 424.3 MB, free: 11.92 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001561/0.2615, allocations: 165.8 kB / 424.5 MB, free: 11.75 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.045e-05/0.2616, allocations: 45.69 kB / 424.5 MB, free: 11.7 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.996e-05/0.2617, allocations: 92.12 kB / 424.6 MB, free: 11.6 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.06e-05/0.2617, allocations: 39.52 kB / 424.7 MB, free: 11.56 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.29e-05/0.2617, allocations: 0 / 424.7 MB, free: 11.56 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.2618, allocations: 330.8 kB / 425 MB, free: 11.23 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001304/0.262, allocations: 75.97 kB / 425.1 MB, free: 11.16 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001347/0.2621, allocations: 108.3 kB / 425.2 MB, free: 11.04 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005755/0.2627, allocations: 134.1 kB / 425.3 MB, free: 10.91 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.2627, allocations: 1.406 kB / 425.3 MB, free: 10.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008026/0.2635, allocations: 288.8 kB / 425.6 MB, free: 10.62 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.2636, allocations: 4 kB / 425.6 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.455e-05/0.2636, allocations: 4 kB / 425.6 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.2636, allocations: 0 / 425.6 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.2637, allocations: 27.92 kB / 425.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.2637, allocations: 0 / 425.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001111/0.2639, allocations: 23.92 kB / 425.6 MB, free: 10.56 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.96e-05/0.2639, allocations: 16 kB / 425.6 MB, free: 10.55 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 29 (n,$whenCondition2,$PRE.truncatedNormalNoise.state[1],truncatedNormalNoise.state[1],$PRE.truncatedNormalNoise.state[2],truncatedNormalNoise.state[2],$PRE.truncatedNormalNoise.state[3],truncatedNormalNoise.state[3],$PRE.truncatedNormalNoise.state[4],truncatedNormalNoise.state[4],$PRE.truncatedNormalNoise.r,truncatedNormalNoise.r,$PRE.truncatedNormalNoise.r_raw,truncatedNormalNoise.r_raw,truncatedNormalNoise.localSeed,$whenCondition1,$PRE.uniformNoise.state[1],uniformNoise.state[1],$PRE.uniformNoise.state[2],uniformNoise.state[2],$PRE.uniformNoise.state[3],uniformNoise.state[3],$PRE.uniformNoise.state[4],uniformNoise.state[4],$PRE.uniformNoise.r,uniformNoise.r,$PRE.uniformNoise.r_raw,uniformNoise.r_raw,uniformNoise.localSeed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 21 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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 0.0001194/0.264, allocations: 131.9 kB / 425.8 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.069e-05/0.2641, allocations: 15.81 kB / 425.8 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.691e-05/0.2641, allocations: 13.41 kB / 425.8 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.2641, allocations: 8 kB / 425.8 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.2641, allocations: 0 / 425.8 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.2641, allocations: 7.984 kB / 425.8 MB, free: 10.37 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001915/0.2643, allocations: 191.8 kB / 426 MB, free: 10.15 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.2644, allocations: 4 kB / 426 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.019e-05/0.2644, allocations: 11.98 kB / 426 MB, free: 10.13 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.2644, allocations: 4 kB / 426 MB, free: 10.13 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.639e-05/0.2645, allocations: 4 kB / 426 MB, free: 10.12 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.2645, allocations: 3.984 kB / 426 MB, free: 10.12 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/0.2645, allocations: 15.84 kB / 426.1 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006796/0.2652, allocations: 297 kB / 426.3 MB, free: 9.766 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.542e-05/0.2652, allocations: 96.84 kB / 426.4 MB, free: 9.652 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.721e-05/0.2653, allocations: 15.98 kB / 426.5 MB, free: 9.637 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.484e-05/0.2654, allocations: 12 kB / 426.5 MB, free: 9.625 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.258e-05/0.2655, allocations: 19.97 kB / 426.5 MB, free: 9.605 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.554e-05/0.2655, allocations: 8 kB / 426.5 MB, free: 9.598 MB / 298.7 MB Notification: Performance of sort global known variables: time 9.987e-05/0.2656, allocations: 128.6 kB / 426.6 MB, free: 9.473 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005341/0.2661, allocations: 163.7 kB / 426.8 MB, free: 9.312 MB / 298.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]) * 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 (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.0009996/0.2671, allocations: 389.4 kB / 427.2 MB, free: 8.926 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003446/0.2675, allocations: 219.2 kB / 427.4 MB, free: 8.699 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2675, allocations: 4 kB / 427.4 MB, free: 8.695 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000109/0.2676, allocations: 64.02 kB / 427.4 MB, free: 8.629 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001336/0.2678, allocations: 13.97 kB / 427.5 MB, free: 8.613 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004659/0.2682, allocations: 207.7 kB / 427.7 MB, free: 8.375 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003228/0.2686, allocations: 0.7433 MB / 428.4 MB, free: 7.605 MB / 298.7 MB Notification: Performance of SimCode: time 2.6e-07/0.2686, allocations: 0 / 428.4 MB, free: 7.605 MB / 298.7 MB Notification: Performance of Templates: time 0.007579/0.2762, allocations: 3.949 MB / 432.3 MB, free: 3.688 MB / 298.7 MB make -j1 -f Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions.makefile make -j1 -f Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions.makefile clang -fPIC -O0 -falign-functions -march=native "-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_Distributions -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.Distributions.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions.c clang -fPIC -O0 -falign-functions -march=native "-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_Distributions -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.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:6: 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:104: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:190: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:412: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.Distributions_functions.c:522:14: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_u == 0.0)) ~~~^~~~~~ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions_functions.c:522:14: note: remove extraneous parentheses around the comparison to silence this warning if((_u == 0.0)) ~ ^ ~ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions_functions.c:522:14: note: use '=' to turn this equality comparison into an assignment if((_u == 0.0)) ^~ = 5 warnings generated. clang -fPIC -O0 -falign-functions -march=native "-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_Distributions -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.Distributions_records.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions_records.c clang -fPIC -O0 -falign-functions -march=native "-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_Distributions -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.Distributions_01exo.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions_01exo.c clang -fPIC -O0 -falign-functions -march=native "-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_Distributions -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.Distributions_02nls.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions_02nls.c clang -fPIC -O0 -falign-functions -march=native "-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_Distributions -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.Distributions_03lsy.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions_03lsy.c clang -fPIC -O0 -falign-functions -march=native "-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_Distributions -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.Distributions_04set.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions_04set.c clang -fPIC -O0 -falign-functions -march=native "-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_Distributions -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.Distributions_05evt.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions_05evt.c clang -fPIC -O0 -falign-functions -march=native "-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_Distributions -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.Distributions_06inz.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions_06inz.c Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions_06inz.c:38:55: error: use of undeclared identifier '$Pstate'; did you mean 'setstate'? integer_array_create(&tmp0, ((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.Distributions_06inz.c:38:93: error: use of undeclared identifier '$PstateSize' integer_array_create(&tmp0, ((modelica_integer*)&((&$Pstate)[calc_base_index_dims_subs(1, $PstateSize, ((modelica_integer) 1))])), 1, $PstateSize); ^ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions_06inz.c:38:137: error: use of undeclared identifier '$PstateSize' integer_array_create(&tmp0, ((modelica_integer*)&((&$Pstate)[calc_base_index_dims_subs(1, $PstateSize, ((modelica_integer) 1))])), 1, $PstateSize); ^ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions_06inz.c:206:55: error: use of undeclared identifier '$Pstate'; did you mean 'setstate'? integer_array_create(&tmp5, ((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.Distributions_06inz.c:206:93: error: use of undeclared identifier '$PstateSize' integer_array_create(&tmp5, ((modelica_integer*)&((&$Pstate)[calc_base_index_dims_subs(1, $PstateSize, ((modelica_integer) 1))])), 1, $PstateSize); ^ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions_06inz.c:206:137: error: use of undeclared identifier '$PstateSize' integer_array_create(&tmp5, ((modelica_integer*)&((&$Pstate)[calc_base_index_dims_subs(1, $PstateSize, ((modelica_integer) 1))])), 1, $PstateSize); ^ 6 errors generated. make: *** [: Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions_06inz.o] Error 1