Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test25_usertab,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.96/1.96, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.857e-05/3.867e-05, allocations: 4 kB / 273.2 MB, free: 0.6367 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1069, allocations: 48.7 MB / 321.9 MB, free: 15.83 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4137/0.5207, allocations: 74.54 MB / 396.4 MB, free: 15.37 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002587/0.521, allocations: 63.97 kB / 396.5 MB, free: 15.3 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0133/0.5343, allocations: 2.623 MB / 399.1 MB, free: 12.69 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.5344, allocations: 0 / 399.1 MB, free: 12.69 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.68e-05/0.5344, allocations: 4 kB / 399.1 MB, free: 12.68 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005927/0.535, allocations: 396 kB / 399.5 MB, free: 12.25 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.409e-05/0.5351, allocations: 12.03 kB / 399.5 MB, free: 12.23 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.16e-05/0.5351, allocations: 34.55 kB / 399.5 MB, free: 12.19 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.982e-05/0.5352, allocations: 7.906 kB / 399.5 MB, free: 12.18 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003034/0.5355, allocations: 186.9 kB / 399.7 MB, free: 11.96 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.5356, allocations: 4 kB / 399.7 MB, free: 11.96 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.354e-05/0.5356, allocations: 4 kB / 399.7 MB, free: 11.95 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000222/0.5358, allocations: 71.33 kB / 399.8 MB, free: 11.87 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.5359, allocations: 0 / 399.8 MB, free: 11.87 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/0.5359, allocations: 4 kB / 399.8 MB, free: 11.87 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.5359, allocations: 7.938 kB / 399.8 MB, free: 11.86 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001104/0.5361, allocations: 16 kB / 399.8 MB, free: 11.84 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006226/0.5367, allocations: 284.9 kB / 400.1 MB, free: 11.52 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001179/0.5368, allocations: 34.56 kB / 400.1 MB, free: 11.47 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.568e-05/0.5369, allocations: 20.94 kB / 400.2 MB, free: 11.45 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.851e-05/0.537, allocations: 7.938 kB / 400.2 MB, free: 11.44 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.813e-05/0.537, allocations: 35.94 kB / 400.2 MB, free: 11.4 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.555e-06/0.537, allocations: 0 / 400.2 MB, free: 11.4 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0007053/0.5378, allocations: 109.5 kB / 400.3 MB, free: 11.29 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.512e-05/0.5379, allocations: 81.06 kB / 400.4 MB, free: 11.19 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001836/0.5381, allocations: 120.9 kB / 400.5 MB, free: 11.06 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.871e-05/0.5381, allocations: 33.7 kB / 400.5 MB, free: 11.02 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.751e-05/0.5382, allocations: 158.5 kB / 400.7 MB, free: 10.87 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.231e-05/0.5383, allocations: 15.8 kB / 400.7 MB, free: 10.85 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.097e-06/0.5383, allocations: 3.938 kB / 400.7 MB, free: 10.85 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.5385, allocations: 318.8 kB / 401 MB, free: 10.53 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.258e-05/0.5386, allocations: 15.98 kB / 401 MB, free: 10.51 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001053/0.5387, allocations: 29.7 kB / 401.1 MB, free: 10.48 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001195/0.5388, allocations: 45.7 kB / 401.1 MB, free: 10.43 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.5389, allocations: 4.031 kB / 401.1 MB, free: 10.42 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003197/0.5392, allocations: 107.5 kB / 401.2 MB, free: 10.3 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.37e-05/0.5393, allocations: 29.7 kB / 401.2 MB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/0.5393, allocations: 0 / 401.2 MB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.5393, allocations: 0 / 401.2 MB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000207/0.5395, allocations: 19.92 kB / 401.3 MB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.5396, allocations: 4 kB / 401.3 MB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001111/0.5397, allocations: 7.953 kB / 401.3 MB, free: 10.24 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.34e-05/0.5397, allocations: 12 kB / 401.3 MB, free: 10.23 MB / 330.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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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.0001292/0.5399, allocations: 101 kB / 401.4 MB, free: 10.12 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.78e-05/0.54, allocations: 11.89 kB / 401.4 MB, free: 10.11 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003512/0.5403, allocations: 86.23 kB / 401.5 MB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.5404, allocations: 0 / 401.5 MB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.5404, allocations: 0 / 401.5 MB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.5404, allocations: 0 / 401.5 MB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007326/0.5411, allocations: 354.4 kB / 401.8 MB, free: 9.617 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.5412, allocations: 0 / 401.8 MB, free: 9.617 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001726/0.5414, allocations: 12 kB / 401.8 MB, free: 9.605 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.488e-06/0.5414, allocations: 3.984 kB / 401.8 MB, free: 9.602 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.212e-05/0.5414, allocations: 8 kB / 401.8 MB, free: 9.594 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.5414, allocations: 192 / 401.8 MB, free: 9.594 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.895e-06/0.5415, allocations: 7.953 kB / 401.9 MB, free: 9.586 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003189/0.5418, allocations: 163.5 kB / 402 MB, free: 9.41 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.829e-05/0.5419, allocations: 92.94 kB / 402.1 MB, free: 9.301 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.052e-05/0.542, allocations: 8 kB / 402.1 MB, free: 9.293 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001785/0.5422, allocations: 4 kB / 402.1 MB, free: 9.289 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.304e-05/0.5422, allocations: 7.984 kB / 402.1 MB, free: 9.281 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.849e-05/0.5423, allocations: 3.953 kB / 402.1 MB, free: 9.277 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001293/0.5424, allocations: 99.77 kB / 402.2 MB, free: 9.18 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.71e-07/0.5424, allocations: 0 / 402.2 MB, free: 9.18 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006301/0.5431, allocations: 39.97 kB / 402.3 MB, free: 9.141 MB / 330.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 (6): * Single equations (assignments): 6 * 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.001885/0.545, allocations: 0.902 MB / 403.2 MB, free: 8.27 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003272/0.5453, allocations: 103.4 kB / 403.3 MB, free: 8.156 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.5454, allocations: 4 kB / 403.3 MB, free: 8.152 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.873e-05/0.5455, allocations: 19.98 kB / 403.3 MB, free: 8.133 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003698/0.5459, allocations: 15.88 kB / 403.3 MB, free: 8.117 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008684/0.5468, allocations: 188.2 kB / 403.5 MB, free: 7.887 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004053/0.5472, allocations: 0.6965 MB / 404.2 MB, free: 7.164 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001135/0.5473, allocations: 19.42 kB / 404.2 MB, free: 7.145 MB / 330.7 MB Notification: Performance of SimCode: time 1.252e-06/0.5473, allocations: 4 kB / 404.2 MB, free: 7.141 MB / 330.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 3.2.1/Resources/Data/Tables" -DUSE_LOGGER -c -o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test25_usertabCalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test25_usertabCalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test25_usertabCalcHelperMain.cpp:28: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test25_usertabFunctions.cpp:5: In file included from /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Resources/Data/Tables/usertab.c:14: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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 3.2.1/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 3.2.1/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 3.2.1/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_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test25_usertabCalcHelperMain.cpp:28: ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test25_usertabFunctions.cpp:276:18: error: no matching function for call to 'mydummyfunc' dummy_y__ext = mydummyfunc(ConstArray(dummy_u_).getData()); ^~~~~~~~~~~ ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_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_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test25_usertabCalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_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 1 error generated. : recipe for target 'OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test25_usertabCalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test25_usertabCalcHelperMain.o] Error 1