Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.446/2.446, allocations: 235 MB / 248 MB, free: 14.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.448e-05/3.465e-05, allocations: 7.984 kB / 309.8 MB, free: 1.242 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3965/0.3965, allocations: 54.85 MB / 364.6 MB, free: 5.418 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1543/0.5509, allocations: 81.01 MB / 445.6 MB, free: 15.39 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002772/0.5512, allocations: 71.97 kB / 445.7 MB, free: 15.32 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01374/0.565, allocations: 2.947 MB / 448.6 MB, free: 12.39 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.565, allocations: 0 / 448.6 MB, free: 12.39 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.404e-05/0.5651, allocations: 0 / 448.6 MB, free: 12.39 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005613/0.5656, allocations: 396 kB / 449 MB, free: 11.96 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.393e-05/0.5657, allocations: 8.031 kB / 449 MB, free: 11.95 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.824e-05/0.5658, allocations: 34.55 kB / 449.1 MB, free: 11.91 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.668e-05/0.5659, allocations: 16.83 kB / 449.1 MB, free: 11.89 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002887/0.5662, allocations: 186.9 kB / 449.3 MB, free: 11.67 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.269e-05/0.5662, allocations: 4 kB / 449.3 MB, free: 11.66 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.292e-05/0.5662, allocations: 3.938 kB / 449.3 MB, free: 11.66 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001955/0.5664, allocations: 64.06 kB / 449.3 MB, free: 11.59 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.5665, allocations: 0 / 449.3 MB, free: 11.59 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.703e-05/0.5665, allocations: 4 kB / 449.3 MB, free: 11.58 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.948e-06/0.5665, allocations: 7.953 kB / 449.4 MB, free: 11.57 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001033/0.5666, allocations: 23.98 kB / 449.4 MB, free: 11.55 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000524/0.5672, allocations: 304.3 kB / 449.7 MB, free: 11.21 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000176/0.5674, allocations: 58.55 kB / 449.7 MB, free: 11.14 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.618e-05/0.5674, allocations: 18.02 kB / 449.8 MB, free: 11.12 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.455e-05/0.5675, allocations: 0 / 449.8 MB, free: 11.12 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.271e-05/0.5675, allocations: 38.52 kB / 449.8 MB, free: 11.07 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.944e-06/0.5676, allocations: 0 / 449.8 MB, free: 11.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006569/0.5682, allocations: 133.3 kB / 449.9 MB, free: 10.94 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.3e-05/0.5683, allocations: 81.11 kB / 450 MB, free: 10.84 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001556/0.5685, allocations: 114.1 kB / 450.1 MB, free: 10.72 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.23e-05/0.5685, allocations: 25.7 kB / 450.1 MB, free: 10.69 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.952e-05/0.5686, allocations: 162.5 kB / 450.3 MB, free: 10.53 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.628e-05/0.5687, allocations: 27.7 kB / 450.3 MB, free: 10.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.354e-06/0.5687, allocations: 0 / 450.3 MB, free: 10.5 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.5688, allocations: 312.2 kB / 450.6 MB, free: 10.19 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.98e-05/0.5689, allocations: 20 kB / 450.6 MB, free: 10.17 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.158e-05/0.569, allocations: 33.7 kB / 450.7 MB, free: 10.13 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.42e-05/0.5691, allocations: 49.72 kB / 450.7 MB, free: 10.08 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.5691, allocations: 0 / 450.7 MB, free: 10.08 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002674/0.5694, allocations: 115.3 kB / 450.8 MB, free: 9.953 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.19e-05/0.5695, allocations: 33.69 kB / 450.9 MB, free: 9.914 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.5695, allocations: 4 kB / 450.9 MB, free: 9.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.5695, allocations: 4 kB / 450.9 MB, free: 9.906 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002134/0.5697, allocations: 15.98 kB / 450.9 MB, free: 9.891 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.5698, allocations: 0 / 450.9 MB, free: 9.891 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.51e-05/0.5699, allocations: 12 kB / 450.9 MB, free: 9.879 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.287e-05/0.5699, allocations: 0 / 450.9 MB, free: 9.879 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 (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.0001008/0.57, allocations: 112.9 kB / 451 MB, free: 9.762 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.447e-05/0.5701, allocations: 8 kB / 451 MB, free: 9.754 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003236/0.5704, allocations: 110.3 kB / 451.1 MB, free: 9.641 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.5704, allocations: 0 / 451.1 MB, free: 9.641 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.208e-06/0.5705, allocations: 4 kB / 451.1 MB, free: 9.637 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.5705, allocations: 0 / 451.1 MB, free: 9.637 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005642/0.571, allocations: 350.5 kB / 451.5 MB, free: 9.238 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/0.5711, allocations: 3.953 kB / 451.5 MB, free: 9.234 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001533/0.5712, allocations: 23.98 kB / 451.5 MB, free: 9.211 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.5712, allocations: 0 / 451.5 MB, free: 9.211 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.5713, allocations: 0 / 451.5 MB, free: 9.211 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/0.5713, allocations: 3.938 kB / 451.5 MB, free: 9.207 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.5713, allocations: 4 kB / 451.5 MB, free: 9.203 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002483/0.5716, allocations: 175.4 kB / 451.7 MB, free: 9.016 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.512e-05/0.5716, allocations: 85.06 kB / 451.8 MB, free: 8.914 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.525e-05/0.5717, allocations: 1.875 kB / 451.8 MB, free: 8.914 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001186/0.5718, allocations: 15.98 kB / 451.8 MB, free: 8.898 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.922e-05/0.5719, allocations: 0 / 451.8 MB, free: 8.898 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/0.5719, allocations: 4 kB / 451.8 MB, free: 8.895 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001068/0.572, allocations: 100.9 kB / 451.9 MB, free: 8.797 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.7e-07/0.572, allocations: 0 / 451.9 MB, free: 8.797 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003669/0.5724, allocations: 39.97 kB / 451.9 MB, free: 8.758 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 (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.001581/0.574, allocations: 0.9823 MB / 452.9 MB, free: 7.832 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002838/0.5743, allocations: 103.4 kB / 453 MB, free: 7.719 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.5743, allocations: 0 / 453 MB, free: 7.719 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.883e-05/0.5744, allocations: 27.94 kB / 453 MB, free: 7.691 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002604/0.5747, allocations: 8 kB / 453 MB, free: 7.684 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006661/0.5754, allocations: 200 kB / 453.2 MB, free: 7.445 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000342/0.5757, allocations: 0.6887 MB / 453.9 MB, free: 6.73 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000107/0.5759, allocations: 31.42 kB / 454 MB, free: 6.699 MB / 378.7 MB Notification: Performance of SimCode: time 1.382e-06/0.5759, allocations: 0 / 454 MB, free: 6.699 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_CombiTable1Ds_Test25_usertabCalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test25_usertabCalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test25_usertabCalcHelperMain.cpp:28: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_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_CombiTable1Ds_Test25_usertabCalcHelperMain.cpp:28: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_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_CombiTable1Ds_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_CombiTable1Ds_Test25_usertabCalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_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_CombiTable1Ds_Test25_usertabCalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test25_usertabCalcHelperMain.o] Error 1