Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test1,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.566/2.566, allocations: 270 MB / 282.6 MB, free: 1.82 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.546e-05/4.552e-05, allocations: 8 kB / 347.1 MB, free: 3.117 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4023/0.4024, allocations: 61.87 MB / 408.9 MB, free: 10.63 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1591/0.5615, allocations: 87.93 MB / 496.9 MB, free: 2.582 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002722/0.5619, allocations: 71.97 kB / 496.9 MB, free: 2.512 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01606/0.5779, allocations: 3.667 MB / 0.4889 GB, free: 14.83 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.578, allocations: 0 / 0.4889 GB, free: 14.83 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.913e-05/0.578, allocations: 4 kB / 0.4889 GB, free: 14.83 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.0004639/0.5785, allocations: 366.3 kB / 0.4892 GB, free: 14.43 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.5786, allocations: 8.031 kB / 0.4892 GB, free: 14.42 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.513e-05/0.5786, allocations: 38.56 kB / 0.4893 GB, free: 14.37 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.517e-05/0.5787, allocations: 7.906 kB / 0.4893 GB, free: 14.36 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002712/0.5789, allocations: 194.9 kB / 0.4895 GB, free: 14.13 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.579, allocations: 0 / 0.4895 GB, free: 14.13 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.181e-05/0.579, allocations: 7.953 kB / 0.4895 GB, free: 14.12 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001278/0.5791, allocations: 49.56 kB / 0.4895 GB, free: 14.07 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.5792, allocations: 7.938 kB / 0.4895 GB, free: 14.06 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.938e-06/0.5792, allocations: 0 / 0.4895 GB, free: 14.06 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.5792, allocations: 0 / 0.4895 GB, free: 14.06 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.328e-05/0.5793, allocations: 16 kB / 0.4895 GB, free: 14.05 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000408/0.5797, allocations: 272.9 kB / 0.4898 GB, free: 13.73 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002147/0.5799, allocations: 46.48 kB / 0.4898 GB, free: 13.68 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.603e-05/0.58, allocations: 8.859 kB / 0.4898 GB, free: 13.66 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.58, allocations: 0 / 0.4898 GB, free: 13.66 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.271e-05/0.5801, allocations: 38.56 kB / 0.4899 GB, free: 13.62 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 1.653e-06/0.5801, allocations: 0 / 0.4899 GB, free: 13.62 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.000509/0.5806, allocations: 101.4 kB / 0.49 GB, free: 13.51 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.869e-05/0.5807, allocations: 55.41 kB / 0.49 GB, free: 13.45 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001784/0.5809, allocations: 128.4 kB / 0.4902 GB, free: 13.31 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.052e-05/0.5809, allocations: 29.69 kB / 0.4902 GB, free: 13.28 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.143e-05/0.581, allocations: 158.6 kB / 0.4903 GB, free: 13.12 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.294e-05/0.581, allocations: 11.81 kB / 0.4903 GB, free: 13.11 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.184e-06/0.5811, allocations: 8 kB / 0.4903 GB, free: 13.1 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.5812, allocations: 314.8 kB / 0.4906 GB, free: 12.79 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.146e-05/0.5813, allocations: 12 kB / 0.4907 GB, free: 12.77 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.424e-05/0.5813, allocations: 8 kB / 0.4907 GB, free: 12.77 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.205e-05/0.5814, allocations: 11.98 kB / 0.4907 GB, free: 12.75 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.5814, allocations: 0 / 0.4907 GB, free: 12.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001486/0.5815, allocations: 57.61 kB / 0.4907 GB, free: 12.69 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.5816, allocations: 8 kB / 0.4907 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.5816, allocations: 0 / 0.4907 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.5816, allocations: 7.984 kB / 0.4908 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001336/0.5818, allocations: 15.94 kB / 0.4908 GB, free: 12.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.5818, allocations: 0 / 0.4908 GB, free: 12.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.418e-05/0.5819, allocations: 7.984 kB / 0.4908 GB, free: 12.65 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.198e-05/0.5819, allocations: 4 kB / 0.4908 GB, free: 12.65 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.094e-05/0.582, allocations: 104.9 kB / 0.4909 GB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.803e-05/0.582, allocations: 4 kB / 0.4909 GB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002133/0.5822, allocations: 77.69 kB / 0.491 GB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.5823, allocations: 3.984 kB / 0.491 GB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.5823, allocations: 0 / 0.491 GB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.5823, allocations: 3.938 kB / 0.491 GB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004754/0.5828, allocations: 330.9 kB / 0.4913 GB, free: 12.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.5828, allocations: 0 / 0.4913 GB, free: 12.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001171/0.5829, allocations: 19.98 kB / 0.4913 GB, free: 12.05 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-06/0.5829, allocations: 0 / 0.4913 GB, free: 12.05 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.583, allocations: 4 kB / 0.4913 GB, free: 12.04 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.583, allocations: 3.938 kB / 0.4913 GB, free: 12.04 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.583, allocations: 0 / 0.4913 GB, free: 12.04 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002238/0.5832, allocations: 163.4 kB / 0.4915 GB, free: 11.86 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.892e-05/0.5833, allocations: 92.94 kB / 0.4915 GB, free: 11.75 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.132e-05/0.5833, allocations: 0 / 0.4915 GB, free: 11.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/0.5835, allocations: 4 kB / 0.4916 GB, free: 11.75 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.668e-05/0.5836, allocations: 11.98 kB / 0.4916 GB, free: 11.74 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-05/0.5836, allocations: 4 kB / 0.4916 GB, free: 11.73 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000129/0.5837, allocations: 107.3 kB / 0.4917 GB, free: 11.63 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5837, allocations: 0 / 0.4917 GB, free: 11.63 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003667/0.5841, allocations: 19.94 kB / 0.4917 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.001564/0.5857, allocations: 0.993 MB / 0.4927 GB, free: 10.73 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001498/0.5859, allocations: 27.94 kB / 0.4927 GB, free: 10.7 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.5859, allocations: 7.938 kB / 0.4927 GB, free: 10.69 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.073e-05/0.5859, allocations: 16 kB / 0.4927 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.0002958/0.5863, allocations: 11.98 kB / 0.4927 GB, free: 10.66 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006008/0.5869, allocations: 188 kB / 0.4929 GB, free: 10.44 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002858/0.5872, allocations: 0.6926 MB / 0.4936 GB, free: 9.723 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.453e-05/0.5873, allocations: 19.44 kB / 0.4936 GB, free: 9.703 MB / 426.7 MB Notification: Performance of SimCode: time 9.71e-07/0.5873, allocations: 4 kB / 0.4936 GB, free: 9.699 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_Test1CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test1CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test1CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test1Functions.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_Test1CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test1FMU.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_Test1CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test1CalcHelperMain.o] Error 1