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"}) Notification: Performance of loadModel(Modelica_Noise): time 1.798/1.798, allocations: 174.4 MB / 186.6 MB, free: 9.035 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.173e-05/3.194e-05, allocations: 0 / 229 MB, free: 14.58 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2744/0.2745, allocations: 39.4 MB / 268.4 MB, free: 5.875 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1371/0.4116, allocations: 67.42 MB / 335.8 MB, free: 2.352 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002857/0.412, allocations: 79.94 kB / 335.9 MB, free: 2.273 MB / 282.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_Noise 1.0 Beta.1/Math/Random/Interfaces/random.mo:7:3-7:71:writable] Warning: Unused input variable stateSize in function .Modelica_Noise.Math.Random.Generators.Xorshift64star.random. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_Noise 1.0 Beta.1/Math/Random/Interfaces/random.mo:7:3-7:71:writable] Warning: Unused input variable stateSize in function .Modelica_Noise.Math.Random.Generators.Xorshift128plus.random. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_Noise 1.0 Beta.1/Math/Random/Interfaces/random.mo:7:3-7:71:writable] Warning: Unused input variable stateSize in function .Modelica_Noise.Math.Random.Generators.Xorshift1024star.random. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_Noise 1.0 Beta.1/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.02626/0.4383, allocations: 4.438 MB / 340.3 MB, free: 13.8 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.404e-06/0.4383, allocations: 0 / 340.3 MB, free: 13.8 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.588e-06/0.4383, allocations: 0 / 340.3 MB, free: 13.8 MB / 298.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.0009638/0.4393, allocations: 0.5674 MB / 340.9 MB, free: 13.18 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.494e-05/0.4394, allocations: 8.031 kB / 340.9 MB, free: 13.17 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001124/0.4395, allocations: 54.53 kB / 340.9 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002523/0.4398, allocations: 23.75 kB / 340.9 MB, free: 13.08 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001584/0.44, allocations: 171 kB / 341.1 MB, free: 12.88 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.913e-05/0.44, allocations: 7.938 kB / 341.1 MB, free: 12.87 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.359e-05/0.4401, allocations: 7.953 kB / 341.1 MB, free: 12.86 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005263/0.4406, allocations: 268.4 kB / 341.4 MB, free: 12.58 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.4406, allocations: 8 kB / 341.4 MB, free: 12.57 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.367e-05/0.4407, allocations: 0 / 341.4 MB, free: 12.57 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.4407, allocations: 3.984 kB / 341.4 MB, free: 12.57 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002643/0.441, allocations: 148 kB / 341.5 MB, free: 12.43 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002673/0.4412, allocations: 210.3 kB / 341.8 MB, free: 12.17 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006067/0.4419, allocations: 0.4897 MB / 342.2 MB, free: 11.66 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005609/0.4424, allocations: 478 kB / 342.7 MB, free: 11.19 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.344e-05/0.4425, allocations: 3.953 kB / 342.7 MB, free: 11.18 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006748/0.4431, allocations: 478.7 kB / 343.2 MB, free: 10.67 MB / 298.7 MB Notification: Performance of pre-optimization done (n=47): time 2.064e-06/0.4432, allocations: 0 / 343.2 MB, free: 10.67 MB / 298.7 MB Notification: Performance of matching and sorting (n=47): time 0.001001/0.4442, allocations: 0.5201 MB / 343.7 MB, free: 10.13 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001133/0.4443, allocations: 164.5 kB / 343.9 MB, free: 9.941 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.688e-05/0.4444, allocations: 89.14 kB / 343.9 MB, free: 9.848 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.4445, allocations: 29.7 kB / 344 MB, free: 9.812 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.177e-05/0.4445, allocations: 88.86 kB / 344.1 MB, free: 9.723 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001033/0.4446, allocations: 90.69 kB / 344.2 MB, free: 9.633 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.642e-06/0.4446, allocations: 0 / 344.2 MB, free: 9.633 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.4448, allocations: 330.8 kB / 344.5 MB, free: 9.301 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001473/0.4449, allocations: 80.42 kB / 344.6 MB, free: 9.223 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001642/0.4451, allocations: 116.3 kB / 344.7 MB, free: 9.102 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002702/0.4454, allocations: 203.3 kB / 344.9 MB, free: 8.891 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.4454, allocations: 0 / 344.9 MB, free: 8.891 MB / 298.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005439/0.446, allocations: 348.8 kB / 345.2 MB, free: 8.531 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001357/0.4461, allocations: 116.5 kB / 345.3 MB, free: 8.406 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.4461, allocations: 3.938 kB / 345.3 MB, free: 8.402 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.4462, allocations: 0 / 345.3 MB, free: 8.402 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.623e-06/0.4462, allocations: 0 / 345.3 MB, free: 8.402 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/0.4462, allocations: 4 kB / 345.3 MB, free: 8.398 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001008/0.4463, allocations: 19.84 kB / 345.3 MB, free: 8.379 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.217e-05/0.4464, allocations: 15.98 kB / 345.4 MB, free: 8.363 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.0003409/0.4467, allocations: 271.4 kB / 345.6 MB, free: 8.082 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.371e-05/0.4468, allocations: 31.81 kB / 345.7 MB, free: 8.051 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.253e-05/0.4468, allocations: 9.297 kB / 345.7 MB, free: 8.035 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.4468, allocations: 0 / 345.7 MB, free: 8.035 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.4469, allocations: 4 kB / 345.7 MB, free: 8.031 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.4469, allocations: 0 / 345.7 MB, free: 8.031 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000306/0.4472, allocations: 257.2 kB / 345.9 MB, free: 7.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.4472, allocations: 0 / 345.9 MB, free: 7.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.252e-06/0.4472, allocations: 0 / 345.9 MB, free: 7.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/0.4472, allocations: 3.984 kB / 345.9 MB, free: 7.727 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.455e-05/0.4473, allocations: 23.98 kB / 345.9 MB, free: 7.703 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.6e-06/0.4473, allocations: 7.953 kB / 346 MB, free: 7.695 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.4473, allocations: 4 kB / 346 MB, free: 7.691 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001979/0.4493, allocations: 1.24 MB / 347.2 MB, free: 6.41 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.361e-05/0.4494, allocations: 100.9 kB / 347.3 MB, free: 6.293 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000222/0.4496, allocations: 71.88 kB / 347.4 MB, free: 6.223 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.4497, allocations: 8 kB / 347.4 MB, free: 6.215 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.983e-05/0.4498, allocations: 16.02 kB / 347.4 MB, free: 6.199 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.997e-05/0.4499, allocations: 23.98 kB / 347.4 MB, free: 6.176 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.784e-05/0.4499, allocations: 83.28 kB / 347.5 MB, free: 6.094 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.45, allocations: 0 / 347.5 MB, free: 6.094 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005772/0.4505, allocations: 111.9 kB / 347.6 MB, free: 5.984 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.003785/0.4543, allocations: 2.038 MB / 349.6 MB, free: 3.906 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.003473/0.4578, allocations: 2.124 MB / 351.8 MB, free: 1.758 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.4579, allocations: 0 / 351.8 MB, free: 1.758 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00347/0.4613, allocations: 2.19 MB / 354 MB, free: 15.54 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002895/0.4616, allocations: 15.94 kB / 354 MB, free: 15.53 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001398/0.4631, allocations: 393.1 kB / 354.4 MB, free: 15.1 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004706/0.4636, allocations: 0.7286 MB / 355.1 MB, free: 14.34 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.195e-06/0.4636, allocations: 0 / 355.1 MB, free: 14.34 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.773e-05/0.4637, allocations: 35.42 kB / 355.1 MB, free: 14.3 MB / 314.7 MB Notification: Performance of SimCode: time 1.052e-06/0.4637, allocations: 3.938 kB / 355.1 MB, free: 14.3 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07228/0.536, allocations: 4.992 MB / 360.1 MB, free: 9.371 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002437/0.5363, allocations: 163.2 kB / 360.3 MB, free: 9.148 MB / 314.7 MB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_Noise 1.0 Beta.1/Resources/Include" -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 ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./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:301:59: error: use of undeclared identifier '_omcQuot_7374617465' integer_array_create(&tmp1, ((modelica_integer*)&((&_omcQuot_7374617465)[calc_base_index_dims_subs(1, _omcQuot_737461746553697A65, ((modelica_integer) 1))])), 1, _omcQuot_737461746553697A65); ^ Modelica_Noise_Modelica_Noise_Math_Random_Examples_GenerateRandomNumbers.c:301:109: error: use of undeclared identifier '_omcQuot_737461746553697A65' integer_array_create(&tmp1, ((modelica_integer*)&((&_omcQuot_7374617465)[calc_base_index_dims_subs(1, _omcQuot_737461746553697A65, ((modelica_integer) 1))])), 1, _omcQuot_737461746553697A65); ^ Modelica_Noise_Modelica_Noise_Math_Random_Examples_GenerateRandomNumbers.c:301:169: error: use of undeclared identifier '_omcQuot_737461746553697A65' integer_array_create(&tmp1, ((modelica_integer*)&((&_omcQuot_7374617465)[calc_base_index_dims_subs(1, _omcQuot_737461746553697A65, ((modelica_integer) 1))])), 1, _omcQuot_737461746553697A65); ^ Modelica_Noise_Modelica_Noise_Math_Random_Examples_GenerateRandomNumbers.c:306:59: error: use of undeclared identifier '_omcQuot_7374617465' integer_array_create(&tmp4, ((modelica_integer*)&((&_omcQuot_7374617465)[calc_base_index_dims_subs(1, _omcQuot_737461746553697A65, ((modelica_integer) 1))])), 1, _omcQuot_737461746553697A65); ^ Modelica_Noise_Modelica_Noise_Math_Random_Examples_GenerateRandomNumbers.c:306:109: error: use of undeclared identifier '_omcQuot_737461746553697A65' integer_array_create(&tmp4, ((modelica_integer*)&((&_omcQuot_7374617465)[calc_base_index_dims_subs(1, _omcQuot_737461746553697A65, ((modelica_integer) 1))])), 1, _omcQuot_737461746553697A65); ^ Modelica_Noise_Modelica_Noise_Math_Random_Examples_GenerateRandomNumbers.c:306:169: error: use of undeclared identifier '_omcQuot_737461746553697A65' integer_array_create(&tmp4, ((modelica_integer*)&((&_omcQuot_7374617465)[calc_base_index_dims_subs(1, _omcQuot_737461746553697A65, ((modelica_integer) 1))])), 1, _omcQuot_737461746553697A65); ^ 2 warnings and 6 errors generated. : recipe for target 'Modelica_Noise_Modelica_Noise_Math_Random_Examples_GenerateRandomNumbers.o' failed make: *** [Modelica_Noise_Modelica_Noise_Math_Random_Examples_GenerateRandomNumbers.o] Error 1