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.005972/0.005972, allocations: 168.2 kB / 15.11 MB, free: 5.973 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.222/1.222, allocations: 170.8 MB / 186.6 MB, free: 1.137 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.001647/0.001647, allocations: 122.2 kB / 226.2 MB, free: 10.11 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.01914/0.01914, allocations: 3.119 MB / 268.7 MB, free: 15.46 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004601/0.0004603, allocations: 12 kB / 318.6 MB, free: 63.26 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07407/0.07455, allocations: 39.39 MB / 358 MB, free: 24 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2623/0.3369, allocations: 70.47 MB / 428.5 MB, free: 18.52 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002182/0.3372, allocations: 81.98 kB / 428.6 MB, free: 18.52 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.02219/0.3594, allocations: 8.009 MB / 436.6 MB, free: 17.67 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.522e-06/0.3594, allocations: 3.938 kB / 436.6 MB, free: 17.67 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.762e-05/0.3594, allocations: 3.812 kB / 436.6 MB, free: 17.67 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.001021/0.3605, allocations: 0.5766 MB / 437.2 MB, free: 17.2 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.3605, allocations: 7.781 kB / 437.2 MB, free: 17.2 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002364/0.3608, allocations: 33.41 kB / 437.2 MB, free: 17.19 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002616/0.361, allocations: 236.2 kB / 437.4 MB, free: 16.97 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.497e-05/0.3611, allocations: 15.34 kB / 437.4 MB, free: 16.97 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.689e-05/0.3611, allocations: 26.45 kB / 437.5 MB, free: 16.96 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004823/0.3616, allocations: 235.9 kB / 437.7 MB, free: 16.91 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.3616, allocations: 0 / 437.7 MB, free: 16.91 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.657e-05/0.3617, allocations: 11.41 kB / 437.7 MB, free: 16.91 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.3617, allocations: 7.969 kB / 437.7 MB, free: 16.9 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004349/0.3621, allocations: 174.5 kB / 437.9 MB, free: 16.9 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009836/0.3631, allocations: 0.6539 MB / 438.5 MB, free: 16.46 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001016/0.3642, allocations: 396.1 kB / 438.9 MB, free: 16.33 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.067e-05/0.3642, allocations: 7.859 kB / 438.9 MB, free: 16.32 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003984/0.3646, allocations: 214.3 kB / 439.1 MB, free: 16.21 MB / 282.7 MB Notification: Performance of pre-optimization done (n=23): time 1.963e-06/0.3646, allocations: 0 / 439.1 MB, free: 16.21 MB / 282.7 MB Notification: Performance of matching and sorting (n=23): time 0.001097/0.3657, allocations: 0.5089 MB / 439.7 MB, free: 15.99 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.412e-05/0.3658, allocations: 81.2 kB / 439.7 MB, free: 15.9 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000172/0.366, allocations: 186.5 kB / 439.9 MB, free: 15.79 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.461e-05/0.366, allocations: 44.94 kB / 440 MB, free: 15.75 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.079e-05/0.3661, allocations: 129.8 kB / 440.1 MB, free: 15.65 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.461e-05/0.3661, allocations: 69.47 kB / 440.2 MB, free: 15.6 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.589e-05/0.3662, allocations: 7.75 kB / 440.2 MB, free: 15.6 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8e-05/0.3662, allocations: 333.6 kB / 440.5 MB, free: 15.28 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003156/0.3666, allocations: 139.4 kB / 440.6 MB, free: 15.25 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000319/0.3669, allocations: 166.5 kB / 440.8 MB, free: 15.2 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003157/0.3672, allocations: 152.4 kB / 440.9 MB, free: 15.18 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.3672, allocations: 0 / 440.9 MB, free: 15.18 MB / 282.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007428/0.368, allocations: 389.1 kB / 441.3 MB, free: 15.07 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.368, allocations: 7.641 kB / 441.3 MB, free: 15.06 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/0.368, allocations: 11.55 kB / 441.3 MB, free: 15.05 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.3681, allocations: 0 / 441.3 MB, free: 15.05 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002843/0.3683, allocations: 74.11 kB / 441.4 MB, free: 15.04 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.3684, allocations: 0 / 441.4 MB, free: 15.04 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00017/0.3685, allocations: 46.62 kB / 441.5 MB, free: 15.02 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.345e-05/0.3686, allocations: 15.19 kB / 441.5 MB, free: 15.02 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 () * Number of clocked 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 0.0001203/0.3687, allocations: 141.5 kB / 441.6 MB, free: 14.89 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.119e-05/0.3687, allocations: 15.56 kB / 441.6 MB, free: 14.89 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.039e-05/0.3688, allocations: 31.97 kB / 441.7 MB, free: 14.87 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.628e-06/0.3688, allocations: 3.844 kB / 441.7 MB, free: 14.87 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.3688, allocations: 3.938 kB / 441.7 MB, free: 14.87 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.3688, allocations: 0 / 441.7 MB, free: 14.87 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001003/0.3698, allocations: 0.6938 MB / 442.4 MB, free: 14.44 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.3699, allocations: 7.953 kB / 442.4 MB, free: 14.43 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002432/0.3701, allocations: 53.89 kB / 442.4 MB, free: 14.42 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.3701, allocations: 3.875 kB / 442.4 MB, free: 14.42 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.371e-05/0.3702, allocations: 11.66 kB / 442.4 MB, free: 14.41 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.3702, allocations: 0 / 442.4 MB, free: 14.41 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3702, allocations: 3.938 kB / 442.4 MB, free: 14.41 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009498/0.3711, allocations: 0.5633 MB / 443 MB, free: 14.16 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.04e-05/0.3712, allocations: 96.61 kB / 443.1 MB, free: 14.05 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.235e-05/0.3712, allocations: 11.61 kB / 443.1 MB, free: 14.05 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001917/0.3714, allocations: 27.42 kB / 443.1 MB, free: 14.05 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.523e-05/0.3715, allocations: 23.66 kB / 443.2 MB, free: 14.03 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.991e-05/0.3715, allocations: 7.656 kB / 443.2 MB, free: 14.03 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001042/0.3716, allocations: 154.7 kB / 443.3 MB, free: 13.94 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3716, allocations: 0 / 443.3 MB, free: 13.94 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005503/0.3722, allocations: 132.5 kB / 443.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]) * 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 (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.0005974/0.3728, allocations: 266 kB / 443.7 MB, free: 13.75 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006839/0.3735, allocations: 344 kB / 444 MB, free: 13.65 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3735, allocations: 0 / 444 MB, free: 13.65 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002998/0.3738, allocations: 142.1 kB / 444.2 MB, free: 13.62 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002281/0.374, allocations: 22.94 kB / 444.2 MB, free: 13.61 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007078/0.3748, allocations: 0.5121 MB / 444.7 MB, free: 13.27 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001497/0.3749, allocations: 0.7455 MB / 445.5 MB, free: 12.54 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001217/0.375, allocations: 41.06 kB / 445.5 MB, free: 12.52 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.199e-05/0.3751, allocations: 22.59 kB / 445.5 MB, free: 12.51 MB / 282.7 MB Notification: Performance of SimCode: time 2.51e-07/0.3751, allocations: 0 / 445.5 MB, free: 12.51 MB / 282.7 MB Notification: Performance of Templates: time 0.006334/0.3815, allocations: 3.767 MB / 449.3 MB, free: 10.63 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 -fno-dollars-in-identifiers "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../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 -fno-dollars-in-identifiers "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../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: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:338: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:367:14: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_u == 0.0)) ~~~^~~~~~ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.NormalNoiseProperties_functions.c:367: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:367: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 -fno-dollars-in-identifiers "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../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 -fno-dollars-in-identifiers "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../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 -fno-dollars-in-identifiers "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../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 -fno-dollars-in-identifiers "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../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 -fno-dollars-in-identifiers "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../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 -fno-dollars-in-identifiers "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../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 -fno-dollars-in-identifiers "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../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 'state' integer_array_create(&tmp1, ((modelica_integer*)&((&state)[calc_base_index_dims_subs(1, stateSize, ((modelica_integer) 1))])), 1, stateSize); ^ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.NormalNoiseProperties_06inz.c:127:91: error: use of undeclared identifier 'stateSize' integer_array_create(&tmp1, ((modelica_integer*)&((&state)[calc_base_index_dims_subs(1, stateSize, ((modelica_integer) 1))])), 1, stateSize); ^ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.NormalNoiseProperties_06inz.c:127:133: error: use of undeclared identifier 'stateSize' integer_array_create(&tmp1, ((modelica_integer*)&((&state)[calc_base_index_dims_subs(1, stateSize, ((modelica_integer) 1))])), 1, stateSize); ^ 3 errors generated. make: *** [: Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.NormalNoiseProperties_06inz.o] Error 1