Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test25_usertab.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) 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 2.103/2.103, allocations: 209.2 MB / 224.8 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004449/0.0004449, allocations: 11.94 kB / 282.7 MB, free: 9.559 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3493/0.3498, allocations: 48.7 MB / 331.4 MB, free: 6.395 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1386/0.4884, allocations: 74.63 MB / 406 MB, free: 3.668 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002889/0.4888, allocations: 75.89 kB / 406.1 MB, free: 3.594 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01213/0.5009, allocations: 2.633 MB / 408.7 MB, free: 0.9648 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.501, allocations: 0 / 408.7 MB, free: 0.9648 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.105e-05/0.501, allocations: 0 / 408.7 MB, free: 0.9648 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.000569/0.5016, allocations: 412.9 kB / 409.1 MB, free: 0.5078 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.5016, allocations: 11.97 kB / 409.1 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.026e-05/0.5017, allocations: 34.5 kB / 409.1 MB, free: 464 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.913e-05/0.5017, allocations: 7.906 kB / 409.2 MB, free: 456 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002509/0.502, allocations: 183 kB / 409.3 MB, free: 232 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.502, allocations: 0 / 409.3 MB, free: 232 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.161e-05/0.5021, allocations: 11.91 kB / 409.3 MB, free: 220 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002251/0.5023, allocations: 71.39 kB / 409.4 MB, free: 136 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.5023, allocations: 0 / 409.4 MB, free: 136 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.5023, allocations: 0 / 409.4 MB, free: 136 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.5024, allocations: 4 kB / 409.4 MB, free: 132 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001933/0.5026, allocations: 31.92 kB / 409.5 MB, free: 100 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005451/0.5031, allocations: 288.9 kB / 409.7 MB, free: 15.77 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001422/0.5033, allocations: 38.56 kB / 409.8 MB, free: 15.72 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.223e-05/0.5033, allocations: 4.094 kB / 409.8 MB, free: 15.71 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.457e-05/0.5034, allocations: 38.48 kB / 409.8 MB, free: 15.67 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.913e-06/0.5034, allocations: 0 / 409.8 MB, free: 15.67 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0009148/0.5043, allocations: 177.6 kB / 410 MB, free: 15.49 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.831e-05/0.5044, allocations: 81.05 kB / 410.1 MB, free: 15.39 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001463/0.5045, allocations: 114 kB / 410.2 MB, free: 15.27 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.537e-05/0.5046, allocations: 29.7 kB / 410.2 MB, free: 15.24 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.84e-05/0.5047, allocations: 158.6 kB / 410.4 MB, free: 15.08 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.269e-05/0.5047, allocations: 19.66 kB / 410.4 MB, free: 15.06 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.973e-06/0.5047, allocations: 0 / 410.4 MB, free: 15.06 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.5049, allocations: 322.8 kB / 410.7 MB, free: 14.74 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001453/0.505, allocations: 27.98 kB / 410.7 MB, free: 14.71 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001659/0.5052, allocations: 49.67 kB / 410.8 MB, free: 14.66 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001744/0.5054, allocations: 57.69 kB / 410.8 MB, free: 14.59 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.5054, allocations: 3.938 kB / 410.8 MB, free: 14.59 MB / 346.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004133/0.5058, allocations: 135.5 kB / 411 MB, free: 14.45 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.324e-05/0.5059, allocations: 29.7 kB / 411 MB, free: 14.41 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/0.5059, allocations: 4.078 kB / 411 MB, free: 14.41 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.506, allocations: 0 / 411 MB, free: 14.41 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001551/0.5061, allocations: 19.92 kB / 411 MB, free: 14.39 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.5061, allocations: 3.984 kB / 411 MB, free: 14.38 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.623e-05/0.5062, allocations: 11.98 kB / 411 MB, free: 14.37 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.012e-05/0.5063, allocations: 4 kB / 411 MB, free: 14.37 MB / 346.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 () * Number of clocked 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.0001229/0.5064, allocations: 121.8 kB / 411.2 MB, free: 14.24 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.264e-05/0.5065, allocations: 7.906 kB / 411.2 MB, free: 14.23 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004928/0.507, allocations: 114 kB / 411.3 MB, free: 14.12 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.507, allocations: 4 kB / 411.3 MB, free: 14.11 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.507, allocations: 4 kB / 411.3 MB, free: 14.11 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.507, allocations: 0 / 411.3 MB, free: 14.11 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007015/0.5077, allocations: 358.5 kB / 411.6 MB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.5077, allocations: 4 kB / 411.6 MB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001221/0.5079, allocations: 19.98 kB / 411.7 MB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.471e-06/0.5079, allocations: 0 / 411.7 MB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.5079, allocations: 4 kB / 411.7 MB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/0.5079, allocations: 0 / 411.7 MB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/0.5079, allocations: 3.938 kB / 411.7 MB, free: 13.67 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004092/0.5084, allocations: 203.4 kB / 411.9 MB, free: 13.46 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.066e-05/0.5084, allocations: 81.02 kB / 411.9 MB, free: 13.36 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.678e-05/0.5085, allocations: 4.25 kB / 411.9 MB, free: 13.36 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.5086, allocations: 11.98 kB / 412 MB, free: 13.34 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.947e-05/0.5087, allocations: 4 kB / 412 MB, free: 13.34 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.5087, allocations: 4 kB / 412 MB, free: 13.34 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000102/0.5088, allocations: 99.31 kB / 412.1 MB, free: 13.24 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5088, allocations: 0 / 412.1 MB, free: 13.24 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004087/0.5092, allocations: 39.92 kB / 412.1 MB, free: 13.2 MB / 346.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 () * Number of clocked 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.001665/0.5109, allocations: 0.9565 MB / 413.1 MB, free: 12.29 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005268/0.5115, allocations: 127.4 kB / 413.2 MB, free: 12.16 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.5115, allocations: 0 / 413.2 MB, free: 12.16 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002065/0.5117, allocations: 39.92 kB / 413.2 MB, free: 12.12 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000352/0.5121, allocations: 11.98 kB / 413.2 MB, free: 12.11 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001149/0.5132, allocations: 432.8 kB / 413.7 MB, free: 11.62 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004019/0.5137, allocations: 0.6926 MB / 414.3 MB, free: 10.91 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001207/0.5138, allocations: 23.42 kB / 414.4 MB, free: 10.88 MB / 346.7 MB Notification: Performance of SimCode: time 1.392e-06/0.5138, allocations: 0 / 414.4 MB, free: 10.88 MB / 346.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