Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed.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.AutomaticSeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed") translateModel(Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.000986/0.0009864, allocations: 176.7 kB / 7.645 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.089/1.089, allocations: 170.7 MB / 178.7 MB, free: 7.035 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.001571/0.001571, allocations: 103.4 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.01904/0.01904, allocations: 3.063 MB / 260.2 MB, free: 5.07 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.552e-05/1.576e-05, allocations: 1.375 kB / 305.8 MB, free: 69.52 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.056/0.05603, allocations: 39.39 MB / 345.2 MB, free: 33 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2173/0.2734, allocations: 67.49 MB / 412.7 MB, free: 17.8 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002353/0.2737, allocations: 76.41 kB / 412.7 MB, free: 17.8 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.02706/0.3008, allocations: 11.59 MB / 424.3 MB, free: 16.68 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3008, allocations: 0 / 424.3 MB, free: 16.68 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.776e-06/0.3008, allocations: 3.875 kB / 424.3 MB, free: 16.68 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.000776/0.3016, allocations: 0.6157 MB / 425 MB, free: 16.2 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.3016, allocations: 11.75 kB / 425 MB, free: 16.2 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006873/0.3023, allocations: 118.9 kB / 425.1 MB, free: 16.18 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001789/0.3025, allocations: 249.3 kB / 425.3 MB, free: 15.95 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.709e-05/0.3025, allocations: 6.25 kB / 425.3 MB, free: 15.95 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.973e-05/0.3026, allocations: 19.61 kB / 425.4 MB, free: 15.95 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002112/0.3028, allocations: 111.1 kB / 425.5 MB, free: 15.95 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003639/0.3032, allocations: 306.4 kB / 425.8 MB, free: 15.81 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.3032, allocations: 7.812 kB / 425.8 MB, free: 15.8 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.896e-05/0.3032, allocations: 1.922 kB / 425.8 MB, free: 15.8 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.3032, allocations: 7.875 kB / 425.8 MB, free: 15.8 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003968/0.3036, allocations: 442.5 kB / 426.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003111/0.304, allocations: 398.2 kB / 426.6 MB, free: 15.24 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001533/0.3041, allocations: 193.6 kB / 426.8 MB, free: 15.14 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.561e-05/0.3042, allocations: 3.844 kB / 426.8 MB, free: 15.14 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003612/0.3045, allocations: 385.5 kB / 427.2 MB, free: 14.96 MB / 282.7 MB Notification: Performance of pre-optimization done (n=54): time 2.014e-06/0.3045, allocations: 0 / 427.2 MB, free: 14.96 MB / 282.7 MB Notification: Performance of matching and sorting (n=54): time 0.0008654/0.3054, allocations: 0.5328 MB / 427.7 MB, free: 14.89 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.118e-05/0.3055, allocations: 375.2 kB / 428.1 MB, free: 14.48 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001954/0.3057, allocations: 270.7 kB / 428.3 MB, free: 14.37 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.777e-05/0.3058, allocations: 69.98 kB / 428.4 MB, free: 14.34 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.182e-05/0.3059, allocations: 152.7 kB / 428.6 MB, free: 14.26 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.745e-05/0.306, allocations: 133.2 kB / 428.7 MB, free: 14.18 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.565e-05/0.306, allocations: 0 / 428.7 MB, free: 14.18 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.89e-05/0.3061, allocations: 360.9 kB / 429 MB, free: 13.87 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002456/0.3063, allocations: 199.9 kB / 429.2 MB, free: 13.87 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002789/0.3066, allocations: 303.5 kB / 429.5 MB, free: 13.77 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005509/0.3072, allocations: 291 kB / 429.8 MB, free: 13.75 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.3072, allocations: 0 / 429.8 MB, free: 13.75 MB / 282.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0009569/0.3081, allocations: 0.6352 MB / 430.4 MB, free: 13.68 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.3082, allocations: 7.812 kB / 430.5 MB, free: 13.68 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.163e-05/0.3082, allocations: 10.3 kB / 430.5 MB, free: 13.67 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.3082, allocations: 7.719 kB / 430.5 MB, free: 13.67 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002711/0.3085, allocations: 68.44 kB / 430.5 MB, free: 13.66 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.3085, allocations: 7.719 kB / 430.5 MB, free: 13.66 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001902/0.3087, allocations: 50.3 kB / 430.6 MB, free: 13.64 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.013e-05/0.3088, allocations: 34.02 kB / 430.6 MB, free: 13.64 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 84 ($whenCondition6,$PRE.manualSeed3.state[1],manualSeed3.state[1],$PRE.manualSeed3.state[2],manualSeed3.state[2],$PRE.manualSeed3.state[3],manualSeed3.state[3],$PRE.manualSeed3.state[4],manualSeed3.state[4],$PRE.manualSeed3.r,manualSeed3.r,$PRE.manualSeed3.r_raw,manualSeed3.r_raw,manualSeed3.localSeed,$whenCondition5,$PRE.manualSeed2.state[1],manualSeed2.state[1],$PRE.manualSeed2.state[2],manualSeed2.state[2],$PRE.manualSeed2.state[3],manualSeed2.state[3],$PRE.manualSeed2.state[4],manualSeed2.state[4],$PRE.manualSeed2.r,manualSeed2.r,$PRE.manualSeed2.r_raw,manualSeed2.r_raw,manualSeed2.localSeed,$whenCondition4,$PRE.manualSeed1.state[1],manualSeed1.state[1],$PRE.manualSeed1.state[2],manualSeed1.state[2],$PRE.manualSeed1.state[3],manualSeed1.state[3],$PRE.manualSeed1.state[4],manualSeed1.state[4],$PRE.manualSeed1.r,manualSeed1.r,$PRE.manualSeed1.r_raw,manualSeed1.r_raw,manualSeed1.localSeed,$whenCondition3,$PRE.automaticSeed3.state[1],automaticSeed3.state[1],$PRE.automaticSeed3.state[2],automaticSeed3.state[2],$PRE.automaticSeed3.state[3],automaticSeed3.state[3],$PRE.automaticSeed3.state[4],automaticSeed3.state[4],$PRE.automaticSeed3.r,automaticSeed3.r,$PRE.automaticSeed3.r_raw,automaticSeed3.r_raw,automaticSeed3.localSeed,$whenCondition2,$PRE.automaticSeed2.state[1],automaticSeed2.state[1],$PRE.automaticSeed2.state[2],automaticSeed2.state[2],$PRE.automaticSeed2.state[3],automaticSeed2.state[3],$PRE.automaticSeed2.state[4],automaticSeed2.state[4],$PRE.automaticSeed2.r,automaticSeed2.r,$PRE.automaticSeed2.r_raw,automaticSeed2.r_raw,automaticSeed2.localSeed,$whenCondition1,$PRE.automaticSeed1.state[1],automaticSeed1.state[1],$PRE.automaticSeed1.state[2],automaticSeed1.state[2],$PRE.automaticSeed1.state[3],automaticSeed1.state[3],$PRE.automaticSeed1.state[4],automaticSeed1.state[4],$PRE.automaticSeed1.r,automaticSeed1.r,$PRE.automaticSeed1.r_raw,automaticSeed1.r_raw,automaticSeed1.localSeed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 60 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 6 * 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.0001276/0.3089, allocations: 176.5 kB / 430.8 MB, free: 13.5 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.526e-05/0.309, allocations: 42.81 kB / 430.8 MB, free: 13.48 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.898e-05/0.309, allocations: 31.47 kB / 430.9 MB, free: 13.47 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.309, allocations: 11.58 kB / 430.9 MB, free: 13.47 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.309, allocations: 3.969 kB / 430.9 MB, free: 13.47 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.309, allocations: 3.844 kB / 430.9 MB, free: 13.47 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002495/0.3093, allocations: 314.7 kB / 431.2 MB, free: 13.3 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.3093, allocations: 0 / 431.2 MB, free: 13.3 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001062/0.3094, allocations: 45.61 kB / 431.2 MB, free: 13.29 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.207e-06/0.3094, allocations: 3.938 kB / 431.2 MB, free: 13.29 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.675e-05/0.3095, allocations: 12.7 kB / 431.3 MB, free: 13.29 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.3095, allocations: 3.781 kB / 431.3 MB, free: 13.29 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.3095, allocations: 6.25 kB / 431.3 MB, free: 13.29 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007644/0.3103, allocations: 0.7579 MB / 432 MB, free: 12.91 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.159e-05/0.3103, allocations: 122.7 kB / 432.1 MB, free: 12.79 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.773e-05/0.3104, allocations: 36.14 kB / 432.2 MB, free: 12.79 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001686/0.3106, allocations: 26.02 kB / 432.2 MB, free: 12.79 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.638e-05/0.3107, allocations: 53.73 kB / 432.3 MB, free: 12.78 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-05/0.3107, allocations: 27.12 kB / 432.3 MB, free: 12.78 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001248/0.3108, allocations: 193.8 kB / 432.5 MB, free: 12.7 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3108, allocations: 0 / 432.5 MB, free: 12.7 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004349/0.3113, allocations: 113.8 kB / 432.6 MB, free: 12.68 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 48 (manualSeed3.localSeed,$whenCondition6,manualSeed3.state[1],manualSeed3.state[2],manualSeed3.state[3],manualSeed3.state[4],manualSeed3.r,manualSeed3.r_raw,manualSeed2.localSeed,$whenCondition5,manualSeed2.state[1],manualSeed2.state[2],manualSeed2.state[3],manualSeed2.state[4],manualSeed2.r,manualSeed2.r_raw,manualSeed1.localSeed,$whenCondition4,manualSeed1.state[1],manualSeed1.state[2],manualSeed1.state[3],manualSeed1.state[4],manualSeed1.r,manualSeed1.r_raw,automaticSeed3.localSeed,$whenCondition3,automaticSeed3.state[1],automaticSeed3.state[2],automaticSeed3.state[3],automaticSeed3.state[4],automaticSeed3.r,automaticSeed3.r_raw,automaticSeed2.localSeed,$whenCondition2,automaticSeed2.state[1],automaticSeed2.state[2],automaticSeed2.state[3],automaticSeed2.state[4],automaticSeed2.r,automaticSeed2.r_raw,automaticSeed1.localSeed,$whenCondition1,automaticSeed1.state[1],automaticSeed1.state[2],automaticSeed1.state[3],automaticSeed1.state[4],automaticSeed1.r,automaticSeed1.r_raw) * Number of discrete states: 24 (automaticSeed1.state[1],automaticSeed1.state[2],automaticSeed1.state[3],automaticSeed1.state[4],automaticSeed2.state[1],automaticSeed2.state[2],automaticSeed2.state[3],automaticSeed2.state[4],automaticSeed3.state[1],automaticSeed3.state[2],automaticSeed3.state[3],automaticSeed3.state[4],manualSeed1.state[1],manualSeed1.state[2],manualSeed1.state[3],manualSeed1.state[4],manualSeed2.state[1],manualSeed2.state[2],manualSeed2.state[3],manualSeed2.state[4],manualSeed3.state[1],manualSeed3.state[2],manualSeed3.state[3],manualSeed3.state[4]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 18 * 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.0003203/0.3116, allocations: 233.7 kB / 432.8 MB, free: 12.55 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005307/0.3122, allocations: 0.6088 MB / 433.4 MB, free: 12.34 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3122, allocations: 0 / 433.4 MB, free: 12.34 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002158/0.3124, allocations: 181.5 kB / 433.6 MB, free: 12.34 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00018/0.3126, allocations: 22.72 kB / 433.6 MB, free: 12.34 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000572/0.3132, allocations: 488 kB / 434.1 MB, free: 12.09 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001761/0.3133, allocations: 0.7904 MB / 434.9 MB, free: 11.39 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001075/0.3135, allocations: 57.98 kB / 434.9 MB, free: 11.38 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.671e-05/0.3135, allocations: 33.38 kB / 435 MB, free: 11.37 MB / 282.7 MB Notification: Performance of SimCode: time 2.51e-07/0.3135, allocations: 0 / 435 MB, free: 11.37 MB / 282.7 MB Notification: Performance of Templates: time 0.0072/0.3207, allocations: 4.444 MB / 439.4 MB, free: 10.99 MB / 282.7 MB make -j1 -f Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed.makefile make -j1 -f Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed.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_AutomaticSeed -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.AutomaticSeed.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed.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_AutomaticSeed -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.AutomaticSeed_functions.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed_functions.c In file included from Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed_functions.c:6: In file included from ./Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed_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.AutomaticSeed_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.AutomaticSeed_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.AutomaticSeed_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) { ^ 4 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_AutomaticSeed -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.AutomaticSeed_records.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed_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_AutomaticSeed -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.AutomaticSeed_01exo.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed_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_AutomaticSeed -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.AutomaticSeed_02nls.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed_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_AutomaticSeed -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.AutomaticSeed_03lsy.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed_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_AutomaticSeed -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.AutomaticSeed_04set.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed_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_AutomaticSeed -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.AutomaticSeed_05evt.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed_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_AutomaticSeed -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.AutomaticSeed_06inz.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed_06inz.c Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed_06inz.c:37: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.AutomaticSeed_06inz.c:37: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.AutomaticSeed_06inz.c:37: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.AutomaticSeed_06inz.c:192:55: error: use of undeclared identifier '$Pstate'; did you mean 'setstate'? integer_array_create(&tmp4, ((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.AutomaticSeed_06inz.c:192:93: error: use of undeclared identifier '$PstateSize' integer_array_create(&tmp4, ((modelica_integer*)&((&$Pstate)[calc_base_index_dims_subs(1, $PstateSize, ((modelica_integer) 1))])), 1, $PstateSize); ^ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed_06inz.c:192:137: error: use of undeclared identifier '$PstateSize' integer_array_create(&tmp4, ((modelica_integer*)&((&$Pstate)[calc_base_index_dims_subs(1, $PstateSize, ((modelica_integer) 1))])), 1, $PstateSize); ^ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed_06inz.c:347:55: error: use of undeclared identifier '$Pstate'; did you mean 'setstate'? integer_array_create(&tmp8, ((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.AutomaticSeed_06inz.c:347:93: error: use of undeclared identifier '$PstateSize' integer_array_create(&tmp8, ((modelica_integer*)&((&$Pstate)[calc_base_index_dims_subs(1, $PstateSize, ((modelica_integer) 1))])), 1, $PstateSize); ^ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed_06inz.c:347:137: error: use of undeclared identifier '$PstateSize' integer_array_create(&tmp8, ((modelica_integer*)&((&$Pstate)[calc_base_index_dims_subs(1, $PstateSize, ((modelica_integer) 1))])), 1, $PstateSize); ^ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed_06inz.c:502:56: error: use of undeclared identifier '$Pstate'; did you mean 'setstate'? integer_array_create(&tmp12, ((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.AutomaticSeed_06inz.c:502:94: error: use of undeclared identifier '$PstateSize' integer_array_create(&tmp12, ((modelica_integer*)&((&$Pstate)[calc_base_index_dims_subs(1, $PstateSize, ((modelica_integer) 1))])), 1, $PstateSize); ^ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed_06inz.c:502:138: error: use of undeclared identifier '$PstateSize' integer_array_create(&tmp12, ((modelica_integer*)&((&$Pstate)[calc_base_index_dims_subs(1, $PstateSize, ((modelica_integer) 1))])), 1, $PstateSize); ^ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed_06inz.c:657:56: error: use of undeclared identifier '$Pstate'; did you mean 'setstate'? integer_array_create(&tmp16, ((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.AutomaticSeed_06inz.c:657:94: error: use of undeclared identifier '$PstateSize' integer_array_create(&tmp16, ((modelica_integer*)&((&$Pstate)[calc_base_index_dims_subs(1, $PstateSize, ((modelica_integer) 1))])), 1, $PstateSize); ^ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed_06inz.c:657:138: error: use of undeclared identifier '$PstateSize' integer_array_create(&tmp16, ((modelica_integer*)&((&$Pstate)[calc_base_index_dims_subs(1, $PstateSize, ((modelica_integer) 1))])), 1, $PstateSize); ^ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed_06inz.c:812:56: error: use of undeclared identifier '$Pstate'; did you mean 'setstate'? integer_array_create(&tmp20, ((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.AutomaticSeed_06inz.c:812:94: error: use of undeclared identifier '$PstateSize' integer_array_create(&tmp20, ((modelica_integer*)&((&$Pstate)[calc_base_index_dims_subs(1, $PstateSize, ((modelica_integer) 1))])), 1, $PstateSize); ^ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed_06inz.c:812:138: error: use of undeclared identifier '$PstateSize' integer_array_create(&tmp20, ((modelica_integer*)&((&$Pstate)[calc_base_index_dims_subs(1, $PstateSize, ((modelica_integer) 1))])), 1, $PstateSize); ^ 18 errors generated. make: *** [: Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed_06inz.o] Error 1