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: "" <> buildModelFMU(Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed,fileNamePrefix="Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_AutomaticSeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed,fileNamePrefix="Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_AutomaticSeed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0009297/0.0009297, allocations: 176.2 kB / 7.646 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 0.9931/0.9931, allocations: 170.7 MB / 178.7 MB, free: 6.965 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.001468/0.001468, allocations: 101 kB / 218 MB, free: 15.33 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.01759/0.01759, allocations: 3.067 MB / 260.2 MB, free: 5.051 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.261e-05/1.262e-05, allocations: 1.375 kB / 305.9 MB, free: 69.43 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04999/0.05002, allocations: 39.4 MB / 345.3 MB, free: 32.91 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2155/0.2656, allocations: 67.49 MB / 412.8 MB, free: 17.56 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002013/0.2658, allocations: 79.16 kB / 412.8 MB, free: 17.56 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.0258/0.2916, allocations: 11.6 MB / 424.4 MB, free: 16.43 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2916, allocations: 0 / 424.4 MB, free: 16.43 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.002e-05/0.2916, allocations: 7.781 kB / 424.5 MB, free: 16.43 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.0008662/0.2925, allocations: 0.6248 MB / 425.1 MB, free: 15.95 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.2926, allocations: 7.688 kB / 425.1 MB, free: 15.95 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007261/0.2933, allocations: 114.9 kB / 425.2 MB, free: 15.93 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001973/0.2935, allocations: 241.1 kB / 425.4 MB, free: 15.7 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.4e-05/0.2935, allocations: 10.55 kB / 425.4 MB, free: 15.7 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.52e-05/0.2936, allocations: 15.45 kB / 425.5 MB, free: 15.7 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001857/0.2938, allocations: 119.5 kB / 425.6 MB, free: 15.7 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002967/0.2941, allocations: 306.5 kB / 425.9 MB, free: 15.55 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.2941, allocations: 0 / 425.9 MB, free: 15.55 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.577e-05/0.2942, allocations: 10.06 kB / 425.9 MB, free: 15.55 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.2942, allocations: 3.906 kB / 425.9 MB, free: 15.55 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003678/0.2945, allocations: 446.9 kB / 426.3 MB, free: 15.29 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003066/0.2948, allocations: 402.3 kB / 426.7 MB, free: 14.99 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001567/0.295, allocations: 186.4 kB / 426.9 MB, free: 14.89 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.641e-05/0.295, allocations: 7.625 kB / 426.9 MB, free: 14.88 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003474/0.2954, allocations: 374.7 kB / 427.3 MB, free: 14.71 MB / 282.7 MB Notification: Performance of pre-optimization done (n=54): time 2.735e-06/0.2954, allocations: 7.938 kB / 427.3 MB, free: 14.7 MB / 282.7 MB Notification: Performance of matching and sorting (n=54): time 0.0008817/0.2963, allocations: 0.5325 MB / 427.8 MB, free: 14.64 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.636e-05/0.2964, allocations: 380.1 kB / 428.2 MB, free: 14.23 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002027/0.2966, allocations: 263.5 kB / 428.4 MB, free: 14.12 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001141/0.2967, allocations: 77.23 kB / 428.5 MB, free: 14.09 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.218e-05/0.2968, allocations: 149.7 kB / 428.7 MB, free: 14 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.556e-05/0.2969, allocations: 132.7 kB / 428.8 MB, free: 13.93 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.75e-05/0.2969, allocations: 3.875 kB / 428.8 MB, free: 13.93 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.565e-05/0.297, allocations: 359.5 kB / 429.1 MB, free: 13.62 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000259/0.2973, allocations: 196.5 kB / 429.3 MB, free: 13.62 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002744/0.2976, allocations: 305.4 kB / 429.6 MB, free: 13.52 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005604/0.2981, allocations: 276.5 kB / 429.9 MB, free: 13.51 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.2982, allocations: 4 kB / 429.9 MB, free: 13.51 MB / 282.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0009888/0.2992, allocations: 0.6349 MB / 430.5 MB, free: 13.43 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.2992, allocations: 7.812 kB / 430.6 MB, free: 13.43 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.416e-05/0.2992, allocations: 11.41 kB / 430.6 MB, free: 13.42 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.2992, allocations: 8.125 kB / 430.6 MB, free: 13.42 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002849/0.2995, allocations: 69.97 kB / 430.6 MB, free: 13.41 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.2995, allocations: 7.719 kB / 430.7 MB, free: 13.41 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002002/0.2997, allocations: 50.09 kB / 430.7 MB, free: 13.39 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.126e-05/0.2998, allocations: 33.88 kB / 430.7 MB, free: 13.39 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.0001343/0.2999, allocations: 175.8 kB / 430.9 MB, free: 13.25 MB / 282.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007468/0.3007, allocations: 0.5378 MB / 431.4 MB, free: 13.18 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.155e-05/0.3008, allocations: 46.08 kB / 431.5 MB, free: 13.16 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.012e-05/0.3008, allocations: 30.12 kB / 431.5 MB, free: 13.15 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.3008, allocations: 7.688 kB / 431.5 MB, free: 13.15 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.3008, allocations: 8.031 kB / 431.5 MB, free: 13.14 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.3009, allocations: 7.047 kB / 431.5 MB, free: 13.14 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002506/0.3011, allocations: 313 kB / 431.8 MB, free: 12.97 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.3011, allocations: 0 / 431.8 MB, free: 12.97 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001069/0.3012, allocations: 36.08 kB / 431.9 MB, free: 12.97 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.3012, allocations: 6.5 kB / 431.9 MB, free: 12.97 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.005e-05/0.3013, allocations: 20.02 kB / 431.9 MB, free: 12.96 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.3013, allocations: 3.781 kB / 431.9 MB, free: 12.96 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.3013, allocations: 11.75 kB / 431.9 MB, free: 12.96 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007703/0.3021, allocations: 0.7464 MB / 432.7 MB, free: 12.59 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.774e-05/0.3021, allocations: 121.5 kB / 432.8 MB, free: 12.47 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.593e-05/0.3022, allocations: 36.7 kB / 432.8 MB, free: 12.47 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001692/0.3024, allocations: 24.61 kB / 432.8 MB, free: 12.47 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.444e-05/0.3025, allocations: 51.02 kB / 432.9 MB, free: 12.46 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.524e-05/0.3025, allocations: 24.83 kB / 432.9 MB, free: 12.46 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001303/0.3027, allocations: 199.2 kB / 433.1 MB, free: 12.38 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3027, allocations: 3.938 kB / 433.1 MB, free: 12.38 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004656/0.3032, allocations: 103.6 kB / 433.2 MB, free: 12.36 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.001322/0.3045, allocations: 2.188 MB / 435.4 MB, free: 10.68 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005563/0.305, allocations: 0.6108 MB / 436 MB, free: 10.48 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.3051, allocations: 4.125 kB / 436 MB, free: 10.47 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002161/0.3053, allocations: 182.5 kB / 436.2 MB, free: 10.46 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001929/0.3055, allocations: 18.56 kB / 436.2 MB, free: 10.46 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008642/0.3064, allocations: 0.5623 MB / 436.8 MB, free: 10.16 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001757/0.3065, allocations: 0.795 MB / 437.6 MB, free: 9.457 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001111/0.3067, allocations: 49.41 kB / 437.6 MB, free: 9.453 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001243/0.3068, allocations: 105.1 kB / 437.7 MB, free: 9.445 MB / 282.7 MB Notification: Performance of SimCode: time 6.61e-07/0.3068, allocations: 0 / 437.7 MB, free: 9.445 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02608/0.3329, allocations: 7.334 MB / 445.1 MB, free: 7.797 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001351/0.3331, allocations: 155.9 kB / 445.2 MB, free: 7.602 MB / 282.7 MB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -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_FMU.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_AutomaticSeed_FMU.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_AutomaticSeed_FMU.c:9: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_AutomaticSeed_FMU.c:54: include/fmi2/fmu2_model_interface.c:73:11: warning: enumeration value 'modelSlaveInitialized' not handled in switch [-Wswitch] switch (comp->state) ^ include/fmi2/fmu2_model_interface.c:162:16: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] GC_vasprintf(&str, msg, args); ^~~~ include/util/modelica_string.h:71:31: note: passing argument to parameter 'strp' here int GC_vasprintf(const char **strp, const char *fmt, va_list ap); ^ 4 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -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 In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_AutomaticSeed.c:7: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_AutomaticSeed_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -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:1: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_AutomaticSeed_functions.h:3: In file included from include/meta/meta_modelica.h:49: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_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) { ^ 6 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -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 In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_AutomaticSeed_records.c:3: In file included from include/meta/meta_modelica.h:49: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -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 In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_AutomaticSeed_01exo.c:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_AutomaticSeed_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -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 In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_AutomaticSeed_02nls.c:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_AutomaticSeed_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -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 In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_AutomaticSeed_03lsy.c:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_AutomaticSeed_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -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 In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_AutomaticSeed_04set.c:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_AutomaticSeed_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -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 In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_AutomaticSeed_05evt.c:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_AutomaticSeed_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -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 In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_AutomaticSeed_06inz.c:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_AutomaticSeed_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 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); ^ 2 warnings and 18 errors generated. make: *** [: Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_AutomaticSeed_06inz.o] Error 1