Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_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.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.967/1.967, allocations: 209.2 MB / 224.8 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006108/0.0006109, allocations: 12 kB / 282.7 MB, free: 9.555 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3881/0.3888, allocations: 48.71 MB / 331.4 MB, free: 6.406 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1497/0.5385, allocations: 75.97 MB / 407.3 MB, free: 2.324 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000298/0.5389, allocations: 71.95 kB / 407.4 MB, free: 2.254 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01893/0.5579, allocations: 3.889 MB / 411.3 MB, free: 14.37 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.5579, allocations: 0 / 411.3 MB, free: 14.37 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.327e-05/0.5579, allocations: 0 / 411.3 MB, free: 14.37 MB / 346.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.0006444/0.5586, allocations: 427.8 kB / 411.7 MB, free: 13.9 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.432e-05/0.5587, allocations: 12.03 kB / 411.7 MB, free: 13.89 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.975e-05/0.5587, allocations: 30.56 kB / 411.8 MB, free: 13.85 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.187e-05/0.5588, allocations: 7.906 kB / 411.8 MB, free: 13.84 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003161/0.5591, allocations: 198.8 kB / 412 MB, free: 13.61 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.5591, allocations: 7.984 kB / 412 MB, free: 13.6 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.679e-05/0.5592, allocations: 4 kB / 412 MB, free: 13.6 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001765/0.5594, allocations: 67.39 kB / 412 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.5594, allocations: 0 / 412 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.5594, allocations: 0 / 412 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.5594, allocations: 0 / 412 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.476e-05/0.5595, allocations: 19.98 kB / 412.1 MB, free: 13.5 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005422/0.5601, allocations: 292.8 kB / 412.3 MB, free: 13.16 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001074/0.5602, allocations: 38.56 kB / 412.4 MB, free: 13.12 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.66e-05/0.5603, allocations: 0 / 412.4 MB, free: 13.12 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001717/0.5604, allocations: 67.48 kB / 412.4 MB, free: 13.04 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 2.054e-06/0.5605, allocations: 0 / 412.4 MB, free: 13.04 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0006047/0.5611, allocations: 133.5 kB / 412.6 MB, free: 12.9 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.004e-05/0.5612, allocations: 77.11 kB / 412.7 MB, free: 12.81 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001931/0.5614, allocations: 133.6 kB / 412.8 MB, free: 12.67 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.563e-05/0.5614, allocations: 29.7 kB / 412.8 MB, free: 12.64 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.857e-05/0.5615, allocations: 154.6 kB / 413 MB, free: 12.48 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.681e-05/0.5615, allocations: 27.73 kB / 413 MB, free: 12.46 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.675e-06/0.5616, allocations: 0 / 413 MB, free: 12.46 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.5617, allocations: 314.8 kB / 413.3 MB, free: 12.14 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.953e-05/0.5618, allocations: 19.98 kB / 413.3 MB, free: 12.12 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.073e-05/0.5619, allocations: 45.58 kB / 413.4 MB, free: 12.07 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000115/0.562, allocations: 53.7 kB / 413.4 MB, free: 12.01 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.562, allocations: 0 / 413.4 MB, free: 12.01 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003149/0.5624, allocations: 127.2 kB / 413.5 MB, free: 11.88 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.104e-05/0.5624, allocations: 37.73 kB / 413.6 MB, free: 11.83 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.5625, allocations: 0 / 413.6 MB, free: 11.83 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.5625, allocations: 0 / 413.6 MB, free: 11.83 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.5626, allocations: 11.98 kB / 413.6 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.5626, allocations: 0 / 413.6 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.036e-05/0.5627, allocations: 4 kB / 413.6 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.817e-05/0.5628, allocations: 11.95 kB / 413.6 MB, free: 11.8 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: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * 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.0001726/0.563, allocations: 117.8 kB / 413.7 MB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.555e-05/0.563, allocations: 7.906 kB / 413.7 MB, free: 11.67 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003256/0.5633, allocations: 102 kB / 413.8 MB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.5634, allocations: 0 / 413.8 MB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.5634, allocations: 0 / 413.8 MB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.5634, allocations: 0 / 413.8 MB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005184/0.5639, allocations: 354.7 kB / 414.2 MB, free: 11.17 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.5639, allocations: 0 / 414.2 MB, free: 11.17 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.599e-05/0.564, allocations: 11.94 kB / 414.2 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.211e-06/0.5641, allocations: 0 / 414.2 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.5641, allocations: 8 kB / 414.2 MB, free: 11.15 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.5641, allocations: 0 / 414.2 MB, free: 11.15 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.5641, allocations: 0 / 414.2 MB, free: 11.15 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002837/0.5644, allocations: 187.4 kB / 414.4 MB, free: 10.95 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.383e-05/0.5645, allocations: 85 kB / 414.5 MB, free: 10.85 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.694e-05/0.5645, allocations: 8.094 kB / 414.5 MB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.5646, allocations: 3.938 kB / 414.5 MB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.209e-05/0.5647, allocations: 4 kB / 414.5 MB, free: 10.83 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.768e-05/0.5647, allocations: 11.92 kB / 414.5 MB, free: 10.82 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000141/0.5649, allocations: 112.9 kB / 414.6 MB, free: 10.71 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5649, allocations: 0 / 414.6 MB, free: 10.71 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004281/0.5653, allocations: 47.92 kB / 414.6 MB, free: 10.66 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: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001941/0.5673, allocations: 1.059 MB / 415.7 MB, free: 9.664 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003512/0.5677, allocations: 115.3 kB / 415.8 MB, free: 9.539 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.5677, allocations: 0 / 415.8 MB, free: 9.539 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.656e-05/0.5678, allocations: 24.14 kB / 415.8 MB, free: 9.516 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003683/0.5682, allocations: 24.06 kB / 415.9 MB, free: 9.492 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009782/0.5692, allocations: 449.2 kB / 416.3 MB, free: 8.996 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003305/0.5695, allocations: 0.6926 MB / 417 MB, free: 8.277 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001089/0.5697, allocations: 27.42 kB / 417 MB, free: 8.25 MB / 346.7 MB Notification: Performance of SimCode: time 3.837e-06/0.5697, allocations: 0 / 417 MB, free: 8.25 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_CombiTimeTable_Test66_usertabCalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test66_usertabCalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test66_usertabCalcHelperMain.cpp:28: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test66_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_CombiTimeTable_Test66_usertabCalcHelperMain.cpp:28: ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test66_usertabFunctions.cpp:364:18: error: no matching function for call to 'mydummyfunc' dummy_y__ext = mydummyfunc(ConstArray(dummy_u_).getData()); ^~~~~~~~~~~ ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test66_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_CombiTimeTable_Test66_usertabCalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test66_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_CombiTimeTable_Test66_usertabCalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test66_usertabCalcHelperMain.o] Error 1