Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test8,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test8",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.603/2.603, allocations: 270 MB / 282.6 MB, free: 1.855 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.52e-05/3.531e-05, allocations: 4 kB / 347.1 MB, free: 3.145 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.43/0.4301, allocations: 61.87 MB / 408.9 MB, free: 10.69 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1768/0.6069, allocations: 87.93 MB / 496.9 MB, free: 2.645 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002909/0.6072, allocations: 71.97 kB / 496.9 MB, free: 2.574 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.016/0.6233, allocations: 3.707 MB / 0.4889 GB, free: 14.86 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.6233, allocations: 0 / 0.4889 GB, free: 14.86 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.655e-05/0.6233, allocations: 4 kB / 0.4889 GB, free: 14.85 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004527/0.6238, allocations: 374.3 kB / 0.4893 GB, free: 14.44 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5e-05/0.6239, allocations: 12.03 kB / 0.4893 GB, free: 14.43 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.769e-05/0.6239, allocations: 34.56 kB / 0.4893 GB, free: 14.39 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.657e-05/0.624, allocations: 3.906 kB / 0.4893 GB, free: 14.38 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002628/0.6242, allocations: 187 kB / 0.4895 GB, free: 14.16 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.6243, allocations: 8 kB / 0.4895 GB, free: 14.15 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.463e-05/0.6243, allocations: 7.891 kB / 0.4895 GB, free: 14.14 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000118/0.6244, allocations: 41.64 kB / 0.4895 GB, free: 14.1 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.6245, allocations: 0 / 0.4895 GB, free: 14.1 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.6245, allocations: 0 / 0.4895 GB, free: 14.1 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.6245, allocations: 0 / 0.4895 GB, free: 14.1 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.342e-05/0.6246, allocations: 19.98 kB / 0.4896 GB, free: 14.08 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004038/0.625, allocations: 276.8 kB / 0.4898 GB, free: 13.76 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002098/0.6252, allocations: 38.52 kB / 0.4899 GB, free: 13.71 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.982e-05/0.6253, allocations: 12.86 kB / 0.4899 GB, free: 13.7 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.576e-05/0.6253, allocations: 3.984 kB / 0.4899 GB, free: 13.69 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.6253, allocations: 34.56 kB / 0.4899 GB, free: 13.65 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 1.823e-06/0.6254, allocations: 4 kB / 0.4899 GB, free: 13.64 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004963/0.6259, allocations: 113.4 kB / 0.49 GB, free: 13.53 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.212e-05/0.6259, allocations: 55.41 kB / 0.4901 GB, free: 13.46 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001905/0.6261, allocations: 141.5 kB / 0.4902 GB, free: 13.32 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.6262, allocations: 29.7 kB / 0.4902 GB, free: 13.28 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.3e-05/0.6262, allocations: 158.5 kB / 0.4904 GB, free: 13.12 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.072e-05/0.6263, allocations: 23.75 kB / 0.4904 GB, free: 13.1 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.889e-06/0.6263, allocations: 0 / 0.4904 GB, free: 13.1 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.6264, allocations: 314.8 kB / 0.4907 GB, free: 12.79 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.572e-05/0.6265, allocations: 8 kB / 0.4907 GB, free: 12.78 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.219e-05/0.6265, allocations: 12 kB / 0.4907 GB, free: 12.77 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.325e-05/0.6266, allocations: 11.98 kB / 0.4907 GB, free: 12.75 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.6266, allocations: 0 / 0.4907 GB, free: 12.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001347/0.6267, allocations: 53.7 kB / 0.4908 GB, free: 12.7 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.6268, allocations: 4 kB / 0.4908 GB, free: 12.69 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.6268, allocations: 4 kB / 0.4908 GB, free: 12.69 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.6268, allocations: 4 kB / 0.4908 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001277/0.627, allocations: 15.92 kB / 0.4908 GB, free: 12.67 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.629e-06/0.627, allocations: 4 kB / 0.4908 GB, free: 12.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.354e-05/0.6271, allocations: 7.984 kB / 0.4908 GB, free: 12.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.6271, allocations: 0 / 0.4908 GB, free: 12.66 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 8.924e-05/0.6272, allocations: 108.9 kB / 0.4909 GB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.83e-05/0.6272, allocations: 3.906 kB / 0.4909 GB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002004/0.6274, allocations: 77.78 kB / 0.491 GB, free: 12.46 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.6275, allocations: 0 / 0.491 GB, free: 12.46 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.6275, allocations: 7.922 kB / 0.491 GB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.6275, allocations: 0 / 0.491 GB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004693/0.628, allocations: 334.4 kB / 0.4913 GB, free: 12.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.628, allocations: 0 / 0.4913 GB, free: 12.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001085/0.6281, allocations: 12 kB / 0.4914 GB, free: 12.05 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.6281, allocations: 4 kB / 0.4914 GB, free: 12.05 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.6281, allocations: 4.375 kB / 0.4914 GB, free: 12.05 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/0.6282, allocations: 3.984 kB / 0.4914 GB, free: 12.04 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/0.6282, allocations: 7.984 kB / 0.4914 GB, free: 12.04 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000183/0.6284, allocations: 159.4 kB / 0.4915 GB, free: 11.86 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.121e-05/0.6284, allocations: 85.09 kB / 0.4916 GB, free: 11.76 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.542e-05/0.6285, allocations: 4 kB / 0.4916 GB, free: 11.76 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.6286, allocations: 12 kB / 0.4916 GB, free: 11.75 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.682e-05/0.6287, allocations: 3.984 kB / 0.4916 GB, free: 11.74 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.327e-06/0.6287, allocations: 4 kB / 0.4916 GB, free: 11.74 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001365/0.6288, allocations: 119.2 kB / 0.4917 GB, free: 11.62 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6288, allocations: 0 / 0.4917 GB, free: 11.62 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003414/0.6292, allocations: 16 kB / 0.4918 GB, free: 11.61 MB / 426.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.001502/0.6307, allocations: 0.9883 MB / 0.4927 GB, free: 10.73 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001417/0.6309, allocations: 31.94 kB / 0.4928 GB, free: 10.7 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.6309, allocations: 4 kB / 0.4928 GB, free: 10.69 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.178e-05/0.6309, allocations: 15.98 kB / 0.4928 GB, free: 10.68 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003225/0.6313, allocations: 8 kB / 0.4928 GB, free: 10.67 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000638/0.6319, allocations: 200.2 kB / 0.493 GB, free: 10.43 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003073/0.6323, allocations: 0.6965 MB / 0.4936 GB, free: 9.707 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.696e-05/0.6324, allocations: 23.44 kB / 0.4937 GB, free: 9.684 MB / 426.7 MB Notification: Performance of SimCode: time 7.91e-07/0.6324, allocations: 0 / 0.4937 GB, free: 9.684 MB / 426.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_Tables_CombiTable1Ds_Test8CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test8CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test8CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test8Functions.cpp:194:31: error: no matching function for call to 'ModelicaStandardTables_CombiTable1D_init2' externalCombiTable1D__ext = ModelicaStandardTables_CombiTable1D_init2(fileName_.c_str(), tableName_.c_str(), tmp5.getData(), table_.getDim(1), table_.getDim(2), ConstArray(columns_).getData(), columns_.getDim(1), smoothness__ext, extrapolation__ext, verboseRead__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources/ModelicaStandardTables.h:269:23: note: candidate function not viable: 6th argument ('const int *') would lose const qualifier MODELICA_EXPORT void* ModelicaStandardTables_CombiTable1D_init2(_In_z_ const char* fileName, ^ In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test8CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test8FMU.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 1 error generated. : recipe for target 'OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test8CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test8CalcHelperMain.o] Error 1