Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Noise_Modelica_Noise.Math.Random.Examples.GenerateRandomNumbers.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.Math.Random.Examples.GenerateRandomNumbers,fileNamePrefix="Modelica_Noise_Modelica_Noise_Math_Random_Examples_GenerateRandomNumbers",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Noise.Math.Random.Examples.GenerateRandomNumbers,fileNamePrefix="Modelica_Noise_Modelica_Noise_Math_Random_Examples_GenerateRandomNumbers",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.00102/0.00102, allocations: 167.7 kB / 7.642 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.9941/0.9941, 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.001426/0.001426, allocations: 100.7 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.01749/0.01749, allocations: 3.067 MB / 260.2 MB, free: 5.062 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.302e-05/1.304e-05, allocations: 1.625 kB / 305.9 MB, free: 69.46 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05582/0.05585, allocations: 39.4 MB / 345.3 MB, free: 32.89 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2059/0.2618, allocations: 66.76 MB / 412 MB, free: 23.04 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002005/0.262, allocations: 76.88 kB / 412.1 MB, free: 23.04 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. [/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.Xorshift1024star.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.Xorshift64star.random. Notification: Performance of FrontEnd - DAE generated: time 0.009907/0.2719, allocations: 4.483 MB / 416.6 MB, free: 22.49 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.502e-06/0.2719, allocations: 0.9688 kB / 416.6 MB, free: 22.49 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.272, allocations: 1.25 kB / 416.6 MB, free: 22.49 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0003386/0.2723, allocations: 0.5586 MB / 417.2 MB, free: 22.02 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.436e-05/0.2723, allocations: 13.41 kB / 417.2 MB, free: 22.01 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001126/0.2725, allocations: 26.44 kB / 417.2 MB, free: 22 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.945e-05/0.2725, allocations: 170.3 kB / 417.4 MB, free: 21.8 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.2726, allocations: 2.188 kB / 417.4 MB, free: 21.8 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.981e-05/0.2726, allocations: 8.578 kB / 417.4 MB, free: 21.79 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001434/0.2727, allocations: 143.5 kB / 417.5 MB, free: 21.79 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002405/0.273, allocations: 275.4 kB / 417.8 MB, free: 21.74 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.079e-06/0.273, allocations: 3.938 kB / 417.8 MB, free: 21.73 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/0.273, allocations: 2.312 kB / 417.8 MB, free: 21.73 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.273, allocations: 4.656 kB / 417.8 MB, free: 21.73 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001151/0.2731, allocations: 174.9 kB / 418 MB, free: 21.55 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002617/0.2734, allocations: 494.4 kB / 418.5 MB, free: 21.5 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002383/0.2737, allocations: 473.3 kB / 418.9 MB, free: 21.49 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.993e-06/0.2737, allocations: 0 / 418.9 MB, free: 21.49 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003294/0.274, allocations: 485.4 kB / 419.4 MB, free: 21.29 MB / 282.7 MB Notification: Performance of pre-optimization done (n=47): time 1.042e-06/0.274, allocations: 0 / 419.4 MB, free: 21.29 MB / 282.7 MB Notification: Performance of matching and sorting (n=47): time 0.0004974/0.2745, allocations: 415.2 kB / 419.8 MB, free: 21.24 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.804e-05/0.2746, allocations: 161.9 kB / 420 MB, free: 21.09 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.028e-05/0.2746, allocations: 92.72 kB / 420 MB, free: 21 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.697e-06/0.2746, allocations: 25.7 kB / 420.1 MB, free: 20.96 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.172e-05/0.2746, allocations: 84.98 kB / 420.2 MB, free: 20.88 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.102e-05/0.2747, allocations: 94.97 kB / 420.2 MB, free: 20.82 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.959e-06/0.2747, allocations: 7.844 kB / 420.3 MB, free: 20.82 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.187e-05/0.2747, allocations: 325.5 kB / 420.6 MB, free: 20.5 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.087e-05/0.2748, allocations: 76.39 kB / 420.6 MB, free: 20.5 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.689e-05/0.2749, allocations: 112.2 kB / 420.8 MB, free: 20.48 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001201/0.275, allocations: 107.3 kB / 420.9 MB, free: 20.48 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.275, allocations: 4.031 kB / 420.9 MB, free: 20.48 MB / 282.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0002466/0.2753, allocations: 250.1 kB / 421.1 MB, free: 20.43 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.565e-05/0.2753, allocations: 109.5 kB / 421.2 MB, free: 20.37 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.2753, allocations: 0 / 421.2 MB, free: 20.37 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.2753, allocations: 3.953 kB / 421.2 MB, free: 20.37 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.313e-06/0.2753, allocations: 7.844 kB / 421.2 MB, free: 20.36 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.086e-06/0.2754, allocations: 0 / 421.2 MB, free: 20.36 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.623e-05/0.2754, allocations: 23.47 kB / 421.2 MB, free: 20.35 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.556e-05/0.2754, allocations: 7.719 kB / 421.3 MB, free: 20.35 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: 47 ($whenCondition2,r64,r128,r1024,state64[1],state64[2],state128[1],state128[2],state128[3],state128[4],state1024[1],state1024[2],state1024[3],state1024[4],state1024[5],state1024[6],state1024[7],state1024[8],state1024[9],state1024[10],state1024[11],state1024[12],state1024[13],state1024[14],state1024[15],state1024[16],state1024[17],state1024[18],state1024[19],state1024[20],state1024[21],state1024[22],state1024[23],state1024[24],state1024[25],state1024[26],state1024[27],state1024[28],state1024[29],state1024[30],state1024[31],state1024[32],state1024[33],$whenCondition1,id,rImpure,iImpure) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * 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.0001422/0.2756, allocations: 279 kB / 421.5 MB, free: 20.18 MB / 282.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005404/0.2761, allocations: 0.5421 MB / 422.1 MB, free: 20.13 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.494e-05/0.2762, allocations: 35.23 kB / 422.1 MB, free: 20.11 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.062e-05/0.2762, allocations: 5.969 kB / 422.1 MB, free: 20.11 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.2762, allocations: 4.062 kB / 422.1 MB, free: 20.1 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.2762, allocations: 5.484 kB / 422.1 MB, free: 20.1 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.255e-06/0.2762, allocations: 0 / 422.1 MB, free: 20.1 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001047/0.2763, allocations: 210.6 kB / 422.3 MB, free: 19.93 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2763, allocations: 0 / 422.3 MB, free: 19.93 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.62e-07/0.2763, allocations: 3.906 kB / 422.3 MB, free: 19.93 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.2763, allocations: 0 / 422.3 MB, free: 19.93 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.673e-05/0.2764, allocations: 19.91 kB / 422.3 MB, free: 19.93 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.2764, allocations: 10.27 kB / 422.4 MB, free: 19.93 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.2764, allocations: 4.125 kB / 422.4 MB, free: 19.92 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005786/0.277, allocations: 0.6033 MB / 423 MB, free: 19.81 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.396e-05/0.277, allocations: 96 kB / 423.1 MB, free: 19.71 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001102/0.2771, allocations: 75.95 kB / 423.1 MB, free: 19.7 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.599e-05/0.2772, allocations: 8.031 kB / 423.1 MB, free: 19.7 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.463e-05/0.2772, allocations: 14.56 kB / 423.2 MB, free: 19.7 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.595e-05/0.2773, allocations: 30.31 kB / 423.2 MB, free: 19.7 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.42e-05/0.2773, allocations: 82.75 kB / 423.3 MB, free: 19.62 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2773, allocations: 0 / 423.3 MB, free: 19.62 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002991/0.2776, allocations: 112.1 kB / 423.4 MB, free: 19.61 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 47 ($whenCondition2,r64,r128,r1024,state64[1],state64[2],state128[1],state128[2],state128[3],state128[4],state1024[1],state1024[2],state1024[3],state1024[4],state1024[5],state1024[6],state1024[7],state1024[8],state1024[9],state1024[10],state1024[11],state1024[12],state1024[13],state1024[14],state1024[15],state1024[16],state1024[17],state1024[18],state1024[19],state1024[20],state1024[21],state1024[22],state1024[23],state1024[24],state1024[25],state1024[26],state1024[27],state1024[28],state1024[29],state1024[30],state1024[31],state1024[32],state1024[33],$whenCondition1,id,rImpure,iImpure) * Number of discrete states: 47 (iImpure,rImpure,id,$whenCondition1,r1024,r128,r64,state1024[33],state1024[32],state1024[31],state1024[30],state1024[29],state1024[28],state1024[27],state1024[26],state1024[25],state1024[24],state1024[23],state1024[22],state1024[21],state1024[20],state1024[19],state1024[18],state1024[17],state1024[16],state1024[15],state1024[14],state1024[13],state1024[12],state1024[11],state1024[10],state1024[9],state1024[8],state1024[7],state1024[6],state1024[5],state1024[4],state1024[3],state1024[2],state1024[1],state128[4],state128[3],state128[2],state128[1],state64[2],state64[1],$whenCondition2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * 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 Backend phase and start with SimCode phase: time 0.0009584/0.2785, allocations: 1.373 MB / 424.7 MB, free: 18.88 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009308/0.2795, allocations: 2.106 MB / 426.9 MB, free: 18.74 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.2795, allocations: 3.906 kB / 426.9 MB, free: 18.74 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009025/0.2804, allocations: 2.173 MB / 429 MB, free: 18.62 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001262/0.2805, allocations: 15.73 kB / 429 MB, free: 18.61 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000505/0.2811, allocations: 383 kB / 429.4 MB, free: 18.45 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001357/0.2812, allocations: 0.7265 MB / 430.1 MB, free: 17.75 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.1e-06/0.2812, allocations: 0 / 430.1 MB, free: 17.75 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.149e-05/0.2812, allocations: 34.61 kB / 430.2 MB, free: 17.75 MB / 282.7 MB Notification: Performance of SimCode: time 3.1e-07/0.2813, allocations: 0 / 430.2 MB, free: 17.75 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02076/0.302, allocations: 4.7 MB / 434.9 MB, free: 17.28 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001707/0.3022, allocations: 147.5 kB / 435 MB, free: 17.09 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_Math_Random_Examples_GenerateRandomNumbers -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_Math_Random_Examples_GenerateRandomNumbers_FMU.o Modelica_Noise_Modelica_Noise_Math_Random_Examples_GenerateRandomNumbers_FMU.c In file included from Modelica_Noise_Modelica_Noise_Math_Random_Examples_GenerateRandomNumbers_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_Math_Random_Examples_GenerateRandomNumbers_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_Math_Random_Examples_GenerateRandomNumbers -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_Math_Random_Examples_GenerateRandomNumbers.o Modelica_Noise_Modelica_Noise_Math_Random_Examples_GenerateRandomNumbers.c In file included from Modelica_Noise_Modelica_Noise_Math_Random_Examples_GenerateRandomNumbers.c:7: In file included from ./Modelica_Noise_Modelica_Noise_Math_Random_Examples_GenerateRandomNumbers_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_Math_Random_Examples_GenerateRandomNumbers.c:284:59: error: use of undeclared identifier '$Pstate'; did you mean 'setstate'? integer_array_create(&tmp1, ((modelica_integer*)&((&$Pstate)[calc_base_index_dims_subs(1, $PstateSize, ((modelica_integer) 1))])), 1, $PstateSize); ^~~~~~~ setstate /usr/include/stdlib.h:415:14: note: 'setstate' declared here extern char *setstate (char *__statebuf) __THROW __nonnull ((1)); ^ Modelica_Noise_Modelica_Noise_Math_Random_Examples_GenerateRandomNumbers.c:284:97: error: use of undeclared identifier '$PstateSize' integer_array_create(&tmp1, ((modelica_integer*)&((&$Pstate)[calc_base_index_dims_subs(1, $PstateSize, ((modelica_integer) 1))])), 1, $PstateSize); ^ Modelica_Noise_Modelica_Noise_Math_Random_Examples_GenerateRandomNumbers.c:284:141: error: use of undeclared identifier '$PstateSize' integer_array_create(&tmp1, ((modelica_integer*)&((&$Pstate)[calc_base_index_dims_subs(1, $PstateSize, ((modelica_integer) 1))])), 1, $PstateSize); ^ Modelica_Noise_Modelica_Noise_Math_Random_Examples_GenerateRandomNumbers.c:289:59: 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_Math_Random_Examples_GenerateRandomNumbers.c:289:97: 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_Math_Random_Examples_GenerateRandomNumbers.c:289:141: 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); ^ 2 warnings and 6 errors generated. make: *** [: Modelica_Noise_Modelica_Noise_Math_Random_Examples_GenerateRandomNumbers.o] Error 1