Running command: "" <> buildModelFMU(ModelicaTest.Math.Random.TestRandomNumbers,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Math_Random_TestRandomNumbers",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.612/2.612, allocations: 270 MB / 282.6 MB, free: 1.883 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.714e-05/3.718e-05, allocations: 7.984 kB / 347.1 MB, free: 3.133 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4096/0.4097, allocations: 61.87 MB / 408.9 MB, free: 10.68 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1641/0.5738, allocations: 86.48 MB / 495.4 MB, free: 4.09 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002781/0.5741, allocations: 63.97 kB / 495.5 MB, free: 4.027 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02321/0.5974, allocations: 5.769 MB / 0.4895 GB, free: 14.25 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.5974, allocations: 0 / 0.4895 GB, free: 14.25 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.325e-05/0.5974, allocations: 4 kB / 0.4895 GB, free: 14.25 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.000771/0.5982, allocations: 482.9 kB / 0.4899 GB, free: 13.73 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.76e-05/0.5983, allocations: 12.03 kB / 0.49 GB, free: 13.71 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002537/0.5986, allocations: 149.8 kB / 0.4901 GB, free: 13.56 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.591e-05/0.5987, allocations: 31.62 kB / 0.4901 GB, free: 13.53 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001711/0.5989, allocations: 186.8 kB / 0.4903 GB, free: 13.3 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.308e-05/0.5989, allocations: 28.44 kB / 0.4903 GB, free: 13.28 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.96e-05/0.599, allocations: 47.95 kB / 0.4904 GB, free: 13.23 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006154/0.5996, allocations: 285.8 kB / 0.4907 GB, free: 12.94 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.5997, allocations: 3.938 kB / 0.4907 GB, free: 12.94 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.119e-05/0.5997, allocations: 12 kB / 0.4907 GB, free: 12.93 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.608e-05/0.5997, allocations: 8 kB / 0.4907 GB, free: 12.92 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004105/0.6001, allocations: 205.3 kB / 0.4909 GB, free: 12.72 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001492/0.6017, allocations: 0.6396 MB / 0.4915 GB, free: 12.03 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003337/0.602, allocations: 191.1 kB / 0.4917 GB, free: 11.83 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002703/0.6023, allocations: 178 kB / 0.4919 GB, free: 11.65 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.771e-05/0.6024, allocations: 3.984 kB / 0.4919 GB, free: 11.65 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000318/0.6027, allocations: 178.7 kB / 0.492 GB, free: 11.46 MB / 426.7 MB Notification: Performance of pre-optimization done (n=60): time 3.757e-06/0.6027, allocations: 0 / 0.492 GB, free: 11.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=60): time 0.001441/0.6042, allocations: 0.6401 MB / 0.4927 GB, free: 10.82 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001233/0.6043, allocations: 111.9 kB / 0.4928 GB, free: 10.7 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.5e-05/0.6044, allocations: 108.8 kB / 0.4929 GB, free: 10.58 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001202/0.6046, allocations: 73.67 kB / 0.4929 GB, free: 10.5 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001478/0.6047, allocations: 215.9 kB / 0.4931 GB, free: 10.29 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002643/0.605, allocations: 213.3 kB / 0.4933 GB, free: 10.08 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.673e-05/0.6051, allocations: 24 kB / 0.4934 GB, free: 10.05 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001871/0.6053, allocations: 346.8 kB / 0.4937 GB, free: 9.707 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007428/0.606, allocations: 290.2 kB / 0.494 GB, free: 9.426 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001105/0.6071, allocations: 0.6421 MB / 0.4946 GB, free: 8.613 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005438/0.6126, allocations: 5.73 MB / 0.5002 GB, free: 1.734 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.098e-05/0.6127, allocations: 7.953 kB / 0.5002 GB, free: 1.727 MB / 426.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001974/0.6147, allocations: 0.7232 MB / 0.5009 GB, free: 0.9961 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.95e-05/0.6148, allocations: 12.94 kB / 0.5009 GB, free: 0.9844 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.68e-05/0.6148, allocations: 12 kB / 0.5009 GB, free: 0.9727 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.769e-05/0.6148, allocations: 16 kB / 0.5009 GB, free: 0.957 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007332/0.6156, allocations: 127.7 kB / 0.5011 GB, free: 0.832 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.354e-05/0.6157, allocations: 27.92 kB / 0.5011 GB, free: 0.8047 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003878/0.6161, allocations: 63.38 kB / 0.5012 GB, free: 0.7422 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.595e-05/0.6161, allocations: 44 kB / 0.5012 GB, free: 0.6992 MB / 426.7 MB Warning: The initial conditions are over specified. The following 47 initial equations are redundant, so they are removed from the initialization sytem: $PRE.state33[33] = state33[33] $PRE.state33[32] = state33[32] $PRE.state33[31] = state33[31] $PRE.state33[30] = state33[30] $PRE.state33[29] = state33[29] $PRE.state33[28] = state33[28] $PRE.state33[27] = state33[27] $PRE.state33[26] = state33[26] $PRE.state33[25] = state33[25] $PRE.state33[24] = state33[24] $PRE.state33[23] = state33[23] $PRE.state33[22] = state33[22] $PRE.state33[21] = state33[21] $PRE.state33[20] = state33[20] $PRE.state33[19] = state33[19] $PRE.state33[18] = state33[18] $PRE.state33[17] = state33[17] $PRE.state33[16] = state33[16] $PRE.state33[15] = state33[15] $PRE.state33[14] = state33[14] $PRE.state33[13] = state33[13] $PRE.state33[12] = state33[12] $PRE.state33[11] = state33[11] $PRE.state33[10] = state33[10] $PRE.state33[9] = state33[9] $PRE.state33[8] = state33[8] $PRE.state33[7] = state33[7] $PRE.state33[6] = state33[6] $PRE.state33[5] = state33[5] $PRE.state33[4] = state33[4] $PRE.state33[3] = state33[3] $PRE.state33[2] = state33[2] $PRE.state33[1] = state33[1] $PRE.state4c[4] = state4c[4] $PRE.state4c[3] = state4c[3] $PRE.state4c[2] = state4c[2] $PRE.state4c[1] = state4c[1] $PRE.state4b[4] = state4b[4] $PRE.state4b[3] = state4b[3] $PRE.state4b[2] = state4b[2] $PRE.state4b[1] = state4b[1] $PRE.state4a[4] = state4a[4] $PRE.state4a[3] = state4a[3] $PRE.state4a[2] = state4a[2] $PRE.state4a[1] = state4a[1] $PRE.state2[2] = state2[2] $PRE.state2[1] = state2[1]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * Number of states: 0 () * Number of discrete variables: 108 ($PRE.state33[33],state33[33],$PRE.state33[32],state33[32],$PRE.state33[31],state33[31],$PRE.state33[30],state33[30],$PRE.state33[29],state33[29],$PRE.state33[28],state33[28],$PRE.state33[27],state33[27],$PRE.state33[26],state33[26],$PRE.state33[25],state33[25],$PRE.state33[24],state33[24],$PRE.state33[23],state33[23],$PRE.state33[22],state33[22],$PRE.state33[21],state33[21],$PRE.state33[20],state33[20],$PRE.state33[19],state33[19],$PRE.state33[18],state33[18],$PRE.state33[17],state33[17],$PRE.state33[16],state33[16],$PRE.state33[15],state33[15],$PRE.state33[14],state33[14],$PRE.state33[13],state33[13],$PRE.state33[12],state33[12],$PRE.state33[11],state33[11],$PRE.state33[10],state33[10],$PRE.state33[9],state33[9],$PRE.state33[8],state33[8],$PRE.state33[7],state33[7],$PRE.state33[6],state33[6],$PRE.state33[5],state33[5],$PRE.state33[4],state33[4],$PRE.state33[3],state33[3],$PRE.state33[2],state33[2],$PRE.state33[1],state33[1],$PRE.state4c[4],state4c[4],$PRE.state4c[3],state4c[3],$PRE.state4c[2],state4c[2],$PRE.state4c[1],state4c[1],$PRE.state4b[4],state4b[4],$PRE.state4b[3],state4b[3],$PRE.state4b[2],state4b[2],$PRE.state4b[1],state4b[1],$PRE.state4a[4],state4a[4],$PRE.state4a[3],state4a[3],$PRE.state4a[2],state4a[2],$PRE.state4a[1],state4a[1],$PRE.state2[2],state2[2],$PRE.state2[1],state2[1],$whenCondition1,result,$PRE.$outputAlias_result,$outputAlias_result,$PRE.$outputAlias_r2,$outputAlias_r2,$PRE.$outputAlias_r4a,$outputAlias_r4a,$PRE.$outputAlias_r4b,$outputAlias_r4b,$PRE.$outputAlias_r4c,$outputAlias_r4c,$PRE.$outputAlias_r33,$outputAlias_r33) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (113): * Single equations (assignments): 113 * Array equations: 0 * Algorithm blocks: 0 * 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.0007186/0.6169, allocations: 446.4 kB / 0.5016 GB, free: 268 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.519e-05/0.6169, allocations: 23.67 kB / 0.5016 GB, free: 244 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.673e-05/0.617, allocations: 5.875 kB / 0.5017 GB, free: 240 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.617, allocations: 0 / 0.5017 GB, free: 240 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.617, allocations: 0 / 0.5017 GB, free: 240 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.617, allocations: 0 / 0.5017 GB, free: 240 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001917/0.6189, allocations: 0.9954 MB / 0.5026 GB, free: 15.18 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.619, allocations: 0 / 0.5026 GB, free: 15.18 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.666e-05/0.6191, allocations: 7.984 kB / 0.5026 GB, free: 15.17 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.034e-05/0.6191, allocations: 8 kB / 0.5026 GB, free: 15.16 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.6191, allocations: 0 / 0.5026 GB, free: 15.16 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.6191, allocations: 0 / 0.5026 GB, free: 15.16 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.6192, allocations: 0 / 0.5026 GB, free: 15.16 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001408/0.6206, allocations: 0.7509 MB / 0.5034 GB, free: 14.4 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.575e-05/0.6207, allocations: 100.8 kB / 0.5035 GB, free: 14.28 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.151e-05/0.6207, allocations: 7.922 kB / 0.5035 GB, free: 14.27 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.151e-05/0.6208, allocations: 4 kB / 0.5035 GB, free: 14.27 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.938e-05/0.6209, allocations: 4 kB / 0.5035 GB, free: 14.27 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.586e-05/0.6209, allocations: 4 kB / 0.5035 GB, free: 14.26 MB / 442.7 MB Notification: Performance of sorting global known variables: time 4.208e-05/0.6209, allocations: 75.28 kB / 0.5036 GB, free: 14.19 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6209, allocations: 0 / 0.5036 GB, free: 14.19 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001068/0.622, allocations: 171.6 kB / 0.5037 GB, free: 14.02 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 55 ($whenCondition1,result,$outputAlias_result,$outputAlias_r2,$outputAlias_r4a,$outputAlias_r4b,$outputAlias_r4c,$outputAlias_r33,state2[1],state2[2],state4a[1],state4a[2],state4a[3],state4a[4],state4b[1],state4b[2],state4b[3],state4b[4],state4c[1],state4c[2],state4c[3],state4c[4],state33[1],state33[2],state33[3],state33[4],state33[5],state33[6],state33[7],state33[8],state33[9],state33[10],state33[11],state33[12],state33[13],state33[14],state33[15],state33[16],state33[17],state33[18],state33[19],state33[20],state33[21],state33[22],state33[23],state33[24],state33[25],state33[26],state33[27],state33[28],state33[29],state33[30],state33[31],state33[32],state33[33]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.003066/0.6251, allocations: 1.672 MB / 0.5054 GB, free: 12.37 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0021/0.6273, allocations: 0.5363 MB / 0.5059 GB, free: 11.83 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/0.6273, allocations: 1.062 kB / 0.5059 GB, free: 11.83 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003048/0.6276, allocations: 168.5 kB / 0.506 GB, free: 11.67 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002045/0.6279, allocations: 11.98 kB / 0.5061 GB, free: 11.66 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001938/0.6298, allocations: 0.7389 MB / 0.5068 GB, free: 10.87 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005153/0.6304, allocations: 0.7816 MB / 0.5075 GB, free: 10.06 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002463/0.6306, allocations: 99.41 kB / 0.5076 GB, free: 9.965 MB / 442.7 MB Notification: Performance of SimCode: time 1.112e-06/0.6306, allocations: 4 kB / 0.5076 GB, free: 9.961 MB / 442.7 MB Error: Error building simulator. Build log: clang++ -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DSUNDIALS_MAJOR_VERSION=2 -DSUNDIALS_MINOR_VERSION=6 -DPMC_USE_SUNDIALS -DFMU_BUILD -DRUNTIME_STATIC_LINKING -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp" -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -I"." "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources" -DUSE_LOGGER -c -o OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_Random_TestRandomNumbersCalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_Random_TestRandomNumbersCalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_Random_TestRandomNumbersCalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_Random_TestRandomNumbersFunctions.cpp:116:3: error: no matching function for call to 'ModelicaRandom_xorshift1024star' ModelicaRandom_xorshift1024star(ConstArray(stateIn_).getData(), stateOut_.getData(), &result__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources/ModelicaRandom.h:76:22: note: candidate function not viable: 1st argument ('const int *') would lose const qualifier MODELICA_EXPORT void ModelicaRandom_xorshift1024star(_In_ int* state_in, ^ In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_Random_TestRandomNumbersCalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_Random_TestRandomNumbersFunctions.cpp:166:3: error: no matching function for call to 'ModelicaRandom_xorshift128plus' ModelicaRandom_xorshift128plus(ConstArray(stateIn_).getData(), stateOut_.getData(), &result__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources/ModelicaRandom.h:74:22: note: candidate function not viable: 1st argument ('const int *') would lose const qualifier MODELICA_EXPORT void ModelicaRandom_xorshift128plus(_In_ int* state_in, ^ In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_Random_TestRandomNumbersCalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_Random_TestRandomNumbersFunctions.cpp:253:3: error: no matching function for call to 'ModelicaRandom_xorshift64star' ModelicaRandom_xorshift64star(ConstArray(stateIn_).getData(), stateOut_.getData(), &result__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources/ModelicaRandom.h:72:22: note: candidate function not viable: 1st argument ('const int *') would lose const qualifier MODELICA_EXPORT void ModelicaRandom_xorshift64star(_In_ int* state_in, ^ In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_Random_TestRandomNumbersCalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_Random_TestRandomNumbersFMU.cpp:11: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/FMU2/FMU2Wrapper.cpp:93:11: warning: 6 enumeration values not handled in switch: 'LC_INIT', 'LC_LS', 'LC_SOLVER'... [-Wswitch] switch (cat) { ^ 1 warning and 3 errors generated. : recipe for target 'OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_Random_TestRandomNumbersCalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_Random_TestRandomNumbersCalcHelperMain.o] Error 1