Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.549/2.549, allocations: 270 MB / 282.6 MB, free: 1.812 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.544e-05/3.557e-05, allocations: 4 kB / 347.1 MB, free: 3.074 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4256/0.4257, allocations: 61.87 MB / 408.9 MB, free: 10.6 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1631/0.5888, allocations: 88.11 MB / 497 MB, free: 2.367 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002669/0.5891, allocations: 67.97 kB / 497.1 MB, free: 2.301 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01732/0.6065, allocations: 3.718 MB / 0.4891 GB, free: 14.57 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.6065, allocations: 0 / 0.4891 GB, free: 14.57 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.624e-05/0.6066, allocations: 0 / 0.4891 GB, free: 14.57 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.0005036/0.6071, allocations: 362.3 kB / 0.4894 GB, free: 14.18 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.399e-05/0.6071, allocations: 12.03 kB / 0.4894 GB, free: 14.16 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.419e-05/0.6072, allocations: 34.56 kB / 0.4895 GB, free: 14.12 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.555e-05/0.6073, allocations: 11.89 kB / 0.4895 GB, free: 14.11 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002987/0.6076, allocations: 190.9 kB / 0.4897 GB, free: 13.88 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.6076, allocations: 4 kB / 0.4897 GB, free: 13.88 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.653e-05/0.6076, allocations: 11.94 kB / 0.4897 GB, free: 13.87 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001607/0.6078, allocations: 55.42 kB / 0.4897 GB, free: 13.8 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.6078, allocations: 0 / 0.4897 GB, free: 13.8 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.569e-05/0.6079, allocations: 7.922 kB / 0.4897 GB, free: 13.79 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.6079, allocations: 0 / 0.4897 GB, free: 13.79 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.146e-05/0.608, allocations: 16 kB / 0.4898 GB, free: 13.78 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005869/0.6086, allocations: 288.8 kB / 0.49 GB, free: 13.45 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001204/0.6087, allocations: 46.56 kB / 0.4901 GB, free: 13.39 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.171e-05/0.6088, allocations: 20.86 kB / 0.4901 GB, free: 13.37 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.755e-05/0.6088, allocations: 0 / 0.4901 GB, free: 13.37 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/0.6089, allocations: 34.56 kB / 0.4901 GB, free: 13.32 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 1.673e-06/0.6089, allocations: 3.938 kB / 0.4901 GB, free: 13.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006528/0.6095, allocations: 149.3 kB / 0.4903 GB, free: 13.17 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.118e-05/0.6096, allocations: 77.11 kB / 0.4904 GB, free: 13.07 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000178/0.6098, allocations: 122.8 kB / 0.4905 GB, free: 12.95 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.48e-05/0.6098, allocations: 33.7 kB / 0.4905 GB, free: 12.91 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/0.61, allocations: 154.6 kB / 0.4906 GB, free: 12.76 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.366e-05/0.61, allocations: 27.64 kB / 0.4907 GB, free: 12.73 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.682e-06/0.61, allocations: 0 / 0.4907 GB, free: 12.73 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.6102, allocations: 318.8 kB / 0.491 GB, free: 12.41 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.59e-05/0.6103, allocations: 19.98 kB / 0.491 GB, free: 12.39 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.224e-05/0.6104, allocations: 33.72 kB / 0.491 GB, free: 12.35 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.289e-05/0.6105, allocations: 27.95 kB / 0.4911 GB, free: 12.32 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.6105, allocations: 0 / 0.4911 GB, free: 12.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002237/0.6107, allocations: 81.67 kB / 0.4911 GB, free: 12.24 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.6107, allocations: 8 kB / 0.4911 GB, free: 12.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.6107, allocations: 0 / 0.4911 GB, free: 12.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.6108, allocations: 0 / 0.4911 GB, free: 12.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001981/0.611, allocations: 19.98 kB / 0.4912 GB, free: 12.21 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.611, allocations: 0 / 0.4912 GB, free: 12.21 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.673e-05/0.6111, allocations: 4 kB / 0.4912 GB, free: 12.21 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.463e-05/0.6111, allocations: 15.98 kB / 0.4912 GB, free: 12.19 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 (8): * Single equations (assignments): 8 * 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 9.087e-05/0.6112, allocations: 108.9 kB / 0.4913 GB, free: 12.08 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.343e-05/0.6113, allocations: 11.84 kB / 0.4913 GB, free: 12.07 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000271/0.6116, allocations: 98.19 kB / 0.4914 GB, free: 11.97 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.6116, allocations: 0 / 0.4914 GB, free: 11.97 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.6116, allocations: 0 / 0.4914 GB, free: 11.97 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.6116, allocations: 4 kB / 0.4914 GB, free: 11.96 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006054/0.6122, allocations: 378.8 kB / 0.4918 GB, free: 11.54 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.6123, allocations: 3.938 kB / 0.4918 GB, free: 11.54 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001353/0.6124, allocations: 12 kB / 0.4918 GB, free: 11.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.538e-06/0.6124, allocations: 7.984 kB / 0.4918 GB, free: 11.52 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.6124, allocations: 4 kB / 0.4918 GB, free: 11.51 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.6125, allocations: 0 / 0.4918 GB, free: 11.51 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.6125, allocations: 0 / 0.4918 GB, free: 11.51 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002497/0.6127, allocations: 179.3 kB / 0.492 GB, free: 11.32 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.094e-05/0.6128, allocations: 93 kB / 0.492 GB, free: 11.21 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.414e-05/0.6129, allocations: 0 / 0.492 GB, free: 11.21 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001265/0.613, allocations: 7.984 kB / 0.492 GB, free: 11.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.905e-05/0.6131, allocations: 4 kB / 0.4921 GB, free: 11.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-06/0.6131, allocations: 0 / 0.4921 GB, free: 11.2 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001189/0.6132, allocations: 113 kB / 0.4922 GB, free: 11.09 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6132, allocations: 0 / 0.4922 GB, free: 11.09 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003775/0.6136, allocations: 39.88 kB / 0.4922 GB, free: 11.05 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 (7): * Single equations (assignments): 7 * 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.001787/0.6154, allocations: 1.043 MB / 0.4932 GB, free: 10.12 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002362/0.6157, allocations: 55.97 kB / 0.4933 GB, free: 10.07 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.6157, allocations: 0 / 0.4933 GB, free: 10.07 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.509e-05/0.6158, allocations: 35.92 kB / 0.4933 GB, free: 10.04 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003071/0.6161, allocations: 7.938 kB / 0.4933 GB, free: 10.03 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006845/0.6168, allocations: 197.1 kB / 0.4935 GB, free: 9.789 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003476/0.6172, allocations: 0.6965 MB / 0.4942 GB, free: 9.066 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001063/0.6173, allocations: 31.42 kB / 0.4942 GB, free: 9.035 MB / 426.7 MB Notification: Performance of SimCode: time 1.162e-06/0.6173, allocations: 0 / 0.4942 GB, free: 9.035 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/Data/Tables" "-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_CombiTable1Dv_Test25_usertabCalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test25_usertabCalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test25_usertabCalcHelperMain.cpp:28: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test25_usertabFunctions.cpp:5: In file included from /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/Data/Tables/usertab.c:14: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/Data/Tables/usertab.h:75:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"TestTable_1D_Time", TestTable_1D_Time, 0, {6, 2}} ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/Data/Tables/usertab.h:76:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ,{"TestTable_1D_a" , TestTable_1D_a, 1, {4, 2}} ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/Data/Tables/usertab.h:77:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ,{"TestTable_1D_b" , TestTable_1D_b, 1, {5, 3}} ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/Data/Tables/usertab.h:78:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ,{"TestTable_2D" , TestTable_2D, 2, {5, 4}} ^ In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test25_usertabCalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test25_usertabFunctions.cpp:219: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_CombiTable1Dv_Test25_usertabCalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test25_usertabFunctions.cpp:343:18: error: no matching function for call to 'mydummyfunc' dummy_y__ext = mydummyfunc(ConstArray(dummy_u_).getData()); ^~~~~~~~~~~ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test25_usertabFunctions.cpp:6:8: note: candidate function not viable: 1st argument ('const double *') would lose const qualifier double mydummyfunc(double* dummy_in) { ^ In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test25_usertabCalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test25_usertabFMU.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) { ^ 5 warnings and 2 errors generated. : recipe for target 'OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test25_usertabCalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test25_usertabCalcHelperMain.o] Error 1