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"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004678/0.004679, allocations: 175.2 kB / 7.453 MB, free: 2.188 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.475/1.475, allocations: 170.6 MB / 178.4 MB, free: 15.38 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.002061/0.002061, allocations: 115.8 kB / 217.7 MB, free: 8.148 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.01855/0.01855, allocations: 3.038 MB / 259.8 MB, free: 28.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1102/0.1288, allocations: 45.53 MB / 305.4 MB, free: 14.97 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2722/0.4009, allocations: 39.38 MB / 344.7 MB, free: 38.45 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1145/0.5155, allocations: 66.7 MB / 411.4 MB, free: 9.121 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004079/0.516, allocations: 71.95 kB / 411.5 MB, free: 9.051 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: 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.01658/0.5326, allocations: 4.725 MB / 416.2 MB, free: 4.273 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.5327, allocations: 8 kB / 416.2 MB, free: 4.266 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000188/0.5329, allocations: 26.98 kB / 416.3 MB, free: 4.242 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001544/0.533, allocations: 174.9 kB / 416.4 MB, free: 4.031 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/0.5331, allocations: 7.906 kB / 416.5 MB, free: 4.023 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.024e-05/0.5331, allocations: 4 kB / 416.5 MB, free: 4.02 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002158/0.5333, allocations: 144.3 kB / 416.6 MB, free: 3.875 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004184/0.5338, allocations: 280.3 kB / 416.9 MB, free: 3.59 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.5338, allocations: 0 / 416.9 MB, free: 3.59 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.404e-05/0.5338, allocations: 4.656 kB / 416.9 MB, free: 3.586 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.5338, allocations: 0 / 416.9 MB, free: 3.586 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002452/0.5341, allocations: 169.7 kB / 417 MB, free: 3.383 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000501/0.5346, allocations: 496.1 kB / 417.5 MB, free: 2.883 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000489/0.5351, allocations: 481.6 kB / 418 MB, free: 2.406 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.494e-06/0.5351, allocations: 0 / 418 MB, free: 2.406 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005784/0.5357, allocations: 478.8 kB / 418.5 MB, free: 1.898 MB / 282.7 MB Notification: Performance of pre-optimization done (n=47): time 1.794e-06/0.5357, allocations: 3.469 kB / 418.5 MB, free: 1.898 MB / 282.7 MB Notification: Performance of matching and sorting (n=47): time 0.001137/0.5369, allocations: 0.5636 MB / 419 MB, free: 1.328 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001422/0.537, allocations: 156.5 kB / 419.2 MB, free: 1.145 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.867e-05/0.5371, allocations: 92.98 kB / 419.3 MB, free: 1.047 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.609e-05/0.5372, allocations: 29.7 kB / 419.3 MB, free: 1.012 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.468e-05/0.5372, allocations: 84.92 kB / 419.4 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000107/0.5374, allocations: 94.81 kB / 419.5 MB, free: 0.832 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.424e-06/0.5374, allocations: 3.938 kB / 419.5 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.5375, allocations: 322.8 kB / 419.8 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001232/0.5377, allocations: 84.41 kB / 419.9 MB, free: 432 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001426/0.5378, allocations: 112.3 kB / 420 MB, free: 312 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002877/0.5381, allocations: 111.8 kB / 420.1 MB, free: 200 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.5382, allocations: 0 / 420.1 MB, free: 200 kB / 282.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006893/0.5389, allocations: 417.3 kB / 420.5 MB, free: 15.78 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.5389, allocations: 12.09 kB / 420.5 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.5389, allocations: 0 / 420.5 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.5389, allocations: 192 / 420.5 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.114e-06/0.539, allocations: 0 / 420.5 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.539, allocations: 4 kB / 420.5 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.273e-05/0.5391, allocations: 15.75 kB / 420.5 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/0.5391, allocations: 3.984 kB / 420.5 MB, free: 15.75 MB / 298.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.0003656/0.5395, allocations: 266.9 kB / 420.8 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.039e-05/0.5395, allocations: 23.81 kB / 420.8 MB, free: 15.44 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.26e-05/0.5396, allocations: 9.438 kB / 420.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.5396, allocations: 3.906 kB / 420.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.5396, allocations: 0 / 420.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.5396, allocations: 4 kB / 420.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002862/0.5399, allocations: 215.5 kB / 421.1 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.5399, allocations: 0 / 421.1 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.042e-06/0.5399, allocations: 0 / 421.1 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.133e-06/0.54, allocations: 0 / 421.1 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.148e-05/0.54, allocations: 27.92 kB / 421.1 MB, free: 15.15 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/0.54, allocations: 0 / 421.1 MB, free: 15.15 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/0.5401, allocations: 7.922 kB / 421.1 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001438/0.5415, allocations: 0.7452 MB / 421.8 MB, free: 14.37 MB / 298.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001627/0.5432, allocations: 1.117 MB / 422.9 MB, free: 13.22 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.856e-05/0.5433, allocations: 108.7 kB / 423.1 MB, free: 13.1 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000234/0.5435, allocations: 77.33 kB / 423.1 MB, free: 13.02 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001256/0.5437, allocations: 17.31 kB / 423.1 MB, free: 13.01 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.477e-05/0.5437, allocations: 11.98 kB / 423.2 MB, free: 13 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.665e-05/0.5438, allocations: 27.98 kB / 423.2 MB, free: 12.97 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.218e-05/0.5439, allocations: 75.28 kB / 423.3 MB, free: 12.89 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001874/0.5458, allocations: 103.9 kB / 423.4 MB, free: 12.79 MB / 298.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.0007857/0.5466, allocations: 262.6 kB / 423.6 MB, free: 12.54 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008313/0.5475, allocations: 0.5162 MB / 424.1 MB, free: 12.01 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.5475, allocations: 8.062 kB / 424.1 MB, free: 12 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002496/0.55, allocations: 2.155 MB / 426.3 MB, free: 9.832 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000283/0.5503, allocations: 15.91 kB / 426.3 MB, free: 9.816 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008032/0.5511, allocations: 300.7 kB / 426.6 MB, free: 9.496 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004046/0.5515, allocations: 0.7376 MB / 427.3 MB, free: 8.734 MB / 298.7 MB Notification: Performance of SimCode: time 1.262e-06/0.5516, allocations: 8 kB / 427.4 MB, free: 8.727 MB / 298.7 MB Error: Error building simulator. Build log: make: Entering directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_Noise_Modelica_Noise.Math.Random.Examples.GenerateRandomNumbers/Modelica_Noise_Modelica_Noise_Math_Random_Examples_GenerateRandomNumbers.fmutmp/sources' clang -fPIC -O0 -falign-functions -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -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:186:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:190:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -fPIC -O0 -falign-functions -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -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:2: In file included from ./Modelica_Noise_Modelica_Noise_Math_Random_Examples_GenerateRandomNumbers_model.h:4: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:186:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:190:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ Modelica_Noise_Modelica_Noise_Math_Random_Examples_GenerateRandomNumbers.c:281: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:281: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:281: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:286: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:286: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:286: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 make: Leaving directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_Noise_Modelica_Noise.Math.Random.Examples.GenerateRandomNumbers/Modelica_Noise_Modelica_Noise_Math_Random_Examples_GenerateRandomNumbers.fmutmp/sources' Error: Error building simulator. Build log: checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu build_short: x86_64-linux-gnu host_short: x86_64-linux-gnu checking for gcc... clang checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether clang accepts -g... yes checking for clang option to accept ISO C89... none needed checking how to run the C preprocessor... clang -E checking whether make sets $(MAKE)... yes checking for cross-compilation flags... not cross-compiling checking if -Werror works... ok checking looking for --no-undefined... yes checking looking for dollars in identifiers... CPPFLAGS: -fdollars-in-identifiers checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... no checking for an ANSI C-conforming const... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for size_t... yes checking for vprintf... yes checking for _doprnt... yes checking for strdup... yes checking for strerror... yes checking LAPACK/BLAS flags... not found checking for static pthreads... no checking for pthread_mutex_lock in -lpthread... yes checking for cos in -lm... yes checking for filesystem access... OK configure: creating ./config.status config.status: creating Makefile rm -f Modelica_Noise_Modelica_Noise_Math_Random_Examples_GenerateRandomNumbers.def Modelica_Noise_Modelica_Noise_Math_Random_Examples_GenerateRandomNumbers.o Modelica_Noise_Modelica_Noise_Math_Random_Examples_GenerateRandomNumbers.a Modelica_Noise_Modelica_Noise_Math_Random_Examples_GenerateRandomNumbers.so Modelica_Noise_Modelica_Noise_Math_Random_Examples_GenerateRandomNumbers_FMU.o Modelica_Noise_Modelica_Noise_Math_Random_Examples_GenerateRandomNumbers.o Modelica_Noise_Modelica_Noise_Math_Random_Examples_GenerateRandomNumbers_functions.o Modelica_Noise_Modelica_Noise_Math_Random_Examples_GenerateRandomNumbers_records.o Modelica_Noise_Modelica_Noise_Math_Random_Examples_GenerateRandomNumbers_01exo.o Modelica_Noise_Modelica_Noise_Math_Random_Examples_GenerateRandomNumbers_02nls.o Modelica_Noise_Modelica_Noise_Math_Random_Examples_GenerateRandomNumbers_03lsy.o Modelica_Noise_Modelica_Noise_Math_Random_Examples_GenerateRandomNumbers_04set.o Modelica_Noise_Modelica_Noise_Math_Random_Examples_GenerateRandomNumbers_05evt.o Modelica_Noise_Modelica_Noise_Math_Random_Examples_GenerateRandomNumbers_06inz.o Modelica_Noise_Modelica_Noise_Math_Random_Examples_GenerateRandomNumbers_07dly.o Modelica_Noise_Modelica_Noise_Math_Random_Examples_GenerateRandomNumbers_08bnd.o Modelica_Noise_Modelica_Noise_Math_Random_Examples_GenerateRandomNumbers_09alg.o Modelica_Noise_Modelica_Noise_Math_Random_Examples_GenerateRandomNumbers_10asr.o Modelica_Noise_Modelica_Noise_Math_Random_Examples_GenerateRandomNumbers_11mix.o Modelica_Noise_Modelica_Noise_Math_Random_Examples_GenerateRandomNumbers_12jac.o Modelica_Noise_Modelica_Noise_Math_Random_Examples_GenerateRandomNumbers_13opt.o Modelica_Noise_Modelica_Noise_Math_Random_Examples_GenerateRandomNumbers_14lnz.o Modelica_Noise_Modelica_Noise_Math_Random_Examples_GenerateRandomNumbers_15syn.o Modelica_Noise_Modelica_Noise_Math_Random_Examples_GenerateRandomNumbers_16dae.o Modelica_Noise_Modelica_Noise_Math_Random_Examples_GenerateRandomNumbers_17inl.o Modelica_Noise_Modelica_Noise_Math_Random_Examples_GenerateRandomNumbers_init_fmu.o include/./gc/memory_pool.o include/./util/base_array.o include/./util/boolean_array.o include/./util/omc_error.o include/./util/division.o include/./util/generic_array.o include/./util/index_spec.o include/./util/integer_array.o include/./util/list.o include/./util/modelica_string.o include/./util/real_array.o include/./util/ringbuffer.o include/./util/string_array.o include/./util/utility.o include/./util/varinfo.o include/./util/ModelicaUtilities.o include/./util/omc_msvc.o include/./util/simulation_options.o include/./util/cJSON.o include/./util/rational.o include/./util/modelica_string_lit.o include/./util/omc_init.o include/./util/omc_mmap.o include/./math-support/pivot.o include/./simulation/simulation_info_json.o include/./simulation/options.o include/./simulation/simulation_omc_assert.o include/./simulation/solver/delay.o include/./simulation/solver/omc_math.o include/./simulation/solver/model_help.o include/./simulation/solver/stateset.o include/./simulation/solver/synchronous.o include/./simulation/solver/initialization/initialization.o include/./meta/meta_modelica_catch.o