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.366/2.366, allocations: 234.9 MB / 250.5 MB, free: 9.668 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007061/0.0007062, allocations: 16 kB / 314.5 MB, free: 9.602 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4579/0.4587, allocations: 54.86 MB / 369.4 MB, free: 12.77 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1672/0.6259, allocations: 81.09 MB / 450.4 MB, free: 11.57 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003378/0.6263, allocations: 83.88 kB / 450.5 MB, free: 11.49 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01642/0.6428, allocations: 2.961 MB / 453.5 MB, free: 8.52 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.6428, allocations: 0 / 453.5 MB, free: 8.52 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.69e-05/0.6429, allocations: 4 kB / 453.5 MB, free: 8.516 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.0006477/0.6435, allocations: 392.9 kB / 453.9 MB, free: 8.078 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.449e-05/0.6436, allocations: 8.031 kB / 453.9 MB, free: 8.07 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.77e-05/0.6437, allocations: 42.56 kB / 453.9 MB, free: 8.02 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.442e-05/0.6437, allocations: 11.86 kB / 453.9 MB, free: 8.008 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00033/0.6441, allocations: 194.8 kB / 454.1 MB, free: 7.777 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.6441, allocations: 0 / 454.1 MB, free: 7.777 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.356e-05/0.6442, allocations: 8 kB / 454.1 MB, free: 7.77 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002983/0.6445, allocations: 75.33 kB / 454.2 MB, free: 7.684 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.6445, allocations: 0 / 454.2 MB, free: 7.684 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.846e-05/0.6445, allocations: 3.984 kB / 454.2 MB, free: 7.68 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.6446, allocations: 7.953 kB / 454.2 MB, free: 7.672 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002475/0.6448, allocations: 35.98 kB / 454.3 MB, free: 7.637 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005961/0.6454, allocations: 284.9 kB / 454.5 MB, free: 7.309 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002661/0.6457, allocations: 66.5 kB / 454.6 MB, free: 7.234 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.264e-05/0.6458, allocations: 128 / 454.6 MB, free: 7.234 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.53e-05/0.6458, allocations: 36.38 kB / 454.6 MB, free: 7.191 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 2.304e-06/0.6458, allocations: 0 / 454.6 MB, free: 7.191 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.001214/0.6471, allocations: 197.4 kB / 454.8 MB, free: 6.992 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.655e-05/0.6472, allocations: 81.05 kB / 454.9 MB, free: 6.895 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002049/0.6474, allocations: 120.9 kB / 455 MB, free: 6.77 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.163e-05/0.6475, allocations: 25.7 kB / 455 MB, free: 6.738 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.6476, allocations: 162.5 kB / 455.2 MB, free: 6.578 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.991e-05/0.6476, allocations: 19.72 kB / 455.2 MB, free: 6.559 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.749e-06/0.6477, allocations: 4 kB / 455.2 MB, free: 6.555 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001836/0.6478, allocations: 318.8 kB / 455.5 MB, free: 6.234 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002036/0.6481, allocations: 27.98 kB / 455.6 MB, free: 6.207 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002249/0.6483, allocations: 41.7 kB / 455.6 MB, free: 6.16 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002336/0.6486, allocations: 61.72 kB / 455.7 MB, free: 6.094 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.6e-06/0.6486, allocations: 0 / 455.7 MB, free: 6.094 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005863/0.6492, allocations: 143.3 kB / 455.8 MB, free: 5.941 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.321e-05/0.6493, allocations: 29.7 kB / 455.8 MB, free: 5.906 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.6493, allocations: 20.25 kB / 455.9 MB, free: 5.887 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.6493, allocations: 0 / 455.9 MB, free: 5.887 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002073/0.6495, allocations: 12 kB / 455.9 MB, free: 5.875 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.413e-05/0.6496, allocations: 8 kB / 455.9 MB, free: 5.867 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001235/0.6497, allocations: 11.92 kB / 455.9 MB, free: 5.855 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.131e-05/0.6498, allocations: 4 kB / 455.9 MB, free: 5.852 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 () * 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.0001578/0.6499, allocations: 115.6 kB / 456 MB, free: 5.73 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.253e-05/0.65, allocations: 11.91 kB / 456 MB, free: 5.719 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006247/0.6507, allocations: 122.2 kB / 456.1 MB, free: 5.594 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.836e-06/0.6507, allocations: 3.953 kB / 456.1 MB, free: 5.59 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.6507, allocations: 4 kB / 456.1 MB, free: 5.586 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.858e-06/0.6507, allocations: 7.969 kB / 456.2 MB, free: 5.578 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001021/0.6518, allocations: 374.5 kB / 456.5 MB, free: 5.156 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.6518, allocations: 0 / 456.5 MB, free: 5.156 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000175/0.652, allocations: 19.98 kB / 456.5 MB, free: 5.137 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.434e-05/0.652, allocations: 3.953 kB / 456.5 MB, free: 5.133 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.6521, allocations: 4 kB / 456.5 MB, free: 5.129 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.6521, allocations: 8 kB / 456.6 MB, free: 5.121 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/0.6521, allocations: 0 / 456.6 MB, free: 5.121 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005489/0.6527, allocations: 199.4 kB / 456.7 MB, free: 4.91 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.428e-05/0.6528, allocations: 85.02 kB / 456.8 MB, free: 4.809 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.987e-05/0.6528, allocations: 11.94 kB / 456.8 MB, free: 4.797 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001807/0.653, allocations: 4 kB / 456.8 MB, free: 4.793 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.985e-05/0.6531, allocations: 15.92 kB / 456.9 MB, free: 4.777 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-05/0.6531, allocations: 0 / 456.9 MB, free: 4.777 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001409/0.6533, allocations: 99.27 kB / 457 MB, free: 4.68 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.6533, allocations: 0 / 457 MB, free: 4.68 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006496/0.654, allocations: 28 kB / 457 MB, free: 4.652 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 () * Number of clocked 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.002566/0.6565, allocations: 1.024 MB / 458 MB, free: 3.684 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000603/0.6572, allocations: 127.3 kB / 458.1 MB, free: 3.547 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.6572, allocations: 4 kB / 458.1 MB, free: 3.543 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002217/0.6575, allocations: 39.97 kB / 458.2 MB, free: 3.504 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003817/0.6579, allocations: 11.95 kB / 458.2 MB, free: 3.492 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/0.6592, allocations: 444.3 kB / 458.6 MB, free: 3 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004367/0.6597, allocations: 0.6887 MB / 459.3 MB, free: 2.285 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001464/0.6598, allocations: 27.42 kB / 459.3 MB, free: 2.258 MB / 378.7 MB Notification: Performance of SimCode: time 1.353e-06/0.6598, allocations: 0 / 459.3 MB, free: 2.258 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