Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test25_usertab.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test25_usertab,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.374/2.374, allocations: 235 MB / 248.1 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.411e-05/4.436e-05, allocations: 7.984 kB / 309.8 MB, free: 1.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3984/0.3985, allocations: 54.86 MB / 364.6 MB, free: 5.555 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1639/0.5625, allocations: 81 MB / 445.6 MB, free: 15.47 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002703/0.5628, allocations: 71.95 kB / 445.7 MB, free: 15.4 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01167/0.5745, allocations: 2.771 MB / 448.5 MB, free: 12.65 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.5746, allocations: 0 / 448.5 MB, free: 12.65 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.388e-05/0.5746, allocations: 5.875 kB / 448.5 MB, free: 12.65 MB / 378.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.0004752/0.5751, allocations: 396 kB / 448.9 MB, free: 12.21 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.747e-05/0.5751, allocations: 11.97 kB / 448.9 MB, free: 12.2 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.052e-05/0.5752, allocations: 30.56 kB / 448.9 MB, free: 12.16 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.962e-05/0.5752, allocations: 8.828 kB / 448.9 MB, free: 12.15 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002527/0.5755, allocations: 186.9 kB / 449.1 MB, free: 11.93 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.5755, allocations: 8 kB / 449.1 MB, free: 11.92 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.55e-05/0.5756, allocations: 3.984 kB / 449.1 MB, free: 11.92 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/0.5757, allocations: 63.34 kB / 449.2 MB, free: 11.84 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.5758, allocations: 4 kB / 449.2 MB, free: 11.84 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.875e-05/0.5758, allocations: 7.438 kB / 449.2 MB, free: 11.84 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.5758, allocations: 3.953 kB / 449.2 MB, free: 11.83 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.762e-05/0.5759, allocations: 16 kB / 449.2 MB, free: 11.82 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004732/0.5764, allocations: 281 kB / 449.5 MB, free: 11.49 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001042/0.5765, allocations: 46.5 kB / 449.5 MB, free: 11.44 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.145e-05/0.5766, allocations: 12.86 kB / 449.5 MB, free: 11.42 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.554e-05/0.5766, allocations: 1.219 kB / 449.5 MB, free: 11.42 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.306e-05/0.5766, allocations: 38.52 kB / 449.6 MB, free: 11.38 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.913e-06/0.5767, allocations: 0 / 449.6 MB, free: 11.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005418/0.5772, allocations: 117.5 kB / 449.7 MB, free: 11.25 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.101e-05/0.5773, allocations: 77.11 kB / 449.8 MB, free: 11.16 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/0.5774, allocations: 122.2 kB / 449.9 MB, free: 11.04 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.519e-05/0.5775, allocations: 29.7 kB / 449.9 MB, free: 11 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.45e-05/0.5775, allocations: 158.5 kB / 450.1 MB, free: 10.84 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.784e-05/0.5776, allocations: 15.8 kB / 450.1 MB, free: 10.83 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.015e-05/0.5776, allocations: 4 kB / 450.1 MB, free: 10.82 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.5777, allocations: 310.8 kB / 450.4 MB, free: 10.51 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.575e-05/0.5778, allocations: 12 kB / 450.4 MB, free: 10.5 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.824e-05/0.5779, allocations: 41.7 kB / 450.4 MB, free: 10.45 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.277e-05/0.578, allocations: 46.42 kB / 450.5 MB, free: 10.4 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.578, allocations: 3.938 kB / 450.5 MB, free: 10.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002213/0.5783, allocations: 107.2 kB / 450.6 MB, free: 10.28 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.151e-05/0.5783, allocations: 37.66 kB / 450.6 MB, free: 10.24 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.5783, allocations: 0 / 450.6 MB, free: 10.24 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.5784, allocations: 4 kB / 450.6 MB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001514/0.5785, allocations: 15.98 kB / 450.7 MB, free: 10.22 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.5785, allocations: 240 / 450.7 MB, free: 10.22 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.747e-05/0.5786, allocations: 9.062 kB / 450.7 MB, free: 10.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.84e-05/0.5787, allocations: 7.984 kB / 450.7 MB, free: 10.2 MB / 378.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 8.167e-05/0.5788, allocations: 109 kB / 450.8 MB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.573e-05/0.5788, allocations: 0 / 450.8 MB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002565/0.5791, allocations: 102 kB / 450.9 MB, free: 9.984 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.5791, allocations: 4 kB / 450.9 MB, free: 9.98 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.5791, allocations: 0 / 450.9 MB, free: 9.98 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.5791, allocations: 0 / 450.9 MB, free: 9.98 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005257/0.5796, allocations: 338.6 kB / 451.2 MB, free: 9.594 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.99e-06/0.5797, allocations: 3.953 kB / 451.2 MB, free: 9.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001309/0.5798, allocations: 26.05 kB / 451.2 MB, free: 9.566 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.5798, allocations: 1.031 kB / 451.2 MB, free: 9.566 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.5798, allocations: 144 / 451.2 MB, free: 9.566 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.5799, allocations: 0 / 451.2 MB, free: 9.566 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.5799, allocations: 0 / 451.2 MB, free: 9.566 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002274/0.5801, allocations: 171.5 kB / 451.4 MB, free: 9.383 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.897e-05/0.5802, allocations: 92.95 kB / 451.5 MB, free: 9.273 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.19e-05/0.5802, allocations: 0 / 451.5 MB, free: 9.273 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001162/0.5803, allocations: 4 kB / 451.5 MB, free: 9.27 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.039e-05/0.5804, allocations: 11.98 kB / 451.5 MB, free: 9.258 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.375e-05/0.5804, allocations: 4 kB / 451.5 MB, free: 9.254 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.714e-05/0.5805, allocations: 88.92 kB / 451.6 MB, free: 9.168 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5806, allocations: 4.938 kB / 451.6 MB, free: 9.164 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003585/0.5809, allocations: 39.92 kB / 451.6 MB, free: 9.125 MB / 378.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.001491/0.5824, allocations: 0.9776 MB / 452.6 MB, free: 8.207 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002338/0.5827, allocations: 95.34 kB / 452.7 MB, free: 8.102 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.5827, allocations: 0 / 452.7 MB, free: 8.102 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.205e-05/0.5828, allocations: 27.98 kB / 452.7 MB, free: 8.074 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002396/0.583, allocations: 4 kB / 452.7 MB, free: 8.07 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006431/0.5837, allocations: 204.1 kB / 452.9 MB, free: 7.824 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003119/0.584, allocations: 0.6926 MB / 453.6 MB, free: 7.105 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.295e-05/0.5841, allocations: 27.36 kB / 453.7 MB, free: 7.078 MB / 378.7 MB Notification: Performance of SimCode: time 8.61e-07/0.5841, allocations: 0 / 453.7 MB, free: 7.078 MB / 378.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.2/Resources/Data/Tables" -DUSE_LOGGER -c -o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test25_usertabCalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test25_usertabCalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test25_usertabCalcHelperMain.cpp:28: In file included from ./OMCppModelicaTest_3_2_2_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.2/Resources/Data/Tables/usertab.c:14: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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.2/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.2/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.2/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_2_cpp_ModelicaTest_Tables_CombiTable1D_Test25_usertabCalcHelperMain.cpp:28: ./OMCppModelicaTest_3_2_2_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_2_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_2_cpp_ModelicaTest_Tables_CombiTable1D_Test25_usertabCalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_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_2_cpp_ModelicaTest_Tables_CombiTable1D_Test25_usertabCalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test25_usertabCalcHelperMain.o] Error 1