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.474/2.474, allocations: 234.9 MB / 250.5 MB, free: 9.547 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004451/0.0004452, allocations: 16 kB / 314.5 MB, free: 9.461 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.469/0.4694, allocations: 54.86 MB / 369.4 MB, free: 10.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.218/0.6876, allocations: 81.08 MB / 450.4 MB, free: 9.523 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003758/0.688, allocations: 79.8 kB / 450.5 MB, free: 9.449 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01793/0.706, allocations: 2.789 MB / 453.3 MB, free: 6.652 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.906e-06/0.706, allocations: 0 / 453.3 MB, free: 6.652 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.37e-05/0.7061, allocations: 0 / 453.3 MB, free: 6.652 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.000729/0.7068, allocations: 400.9 kB / 453.7 MB, free: 6.207 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.319e-05/0.7069, allocations: 12.03 kB / 453.7 MB, free: 6.195 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.365e-05/0.707, allocations: 34.5 kB / 453.7 MB, free: 6.152 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.672e-05/0.7071, allocations: 15.86 kB / 453.8 MB, free: 6.137 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003695/0.7075, allocations: 187 kB / 453.9 MB, free: 5.914 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.7075, allocations: 0 / 453.9 MB, free: 5.914 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.922e-05/0.7075, allocations: 8 kB / 453.9 MB, free: 5.906 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000301/0.7079, allocations: 67.39 kB / 454 MB, free: 5.828 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.7079, allocations: 0 / 454 MB, free: 5.828 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/0.7079, allocations: 0 / 454 MB, free: 5.828 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.676e-05/0.708, allocations: 3.953 kB / 454 MB, free: 5.824 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002393/0.7082, allocations: 39.91 kB / 454.1 MB, free: 5.785 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007257/0.709, allocations: 288.9 kB / 454.3 MB, free: 5.453 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000201/0.7092, allocations: 42.55 kB / 454.4 MB, free: 5.402 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.5e-05/0.7092, allocations: 0 / 454.4 MB, free: 5.402 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.571e-05/0.7093, allocations: 40.31 kB / 454.4 MB, free: 5.355 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 2.435e-06/0.7093, allocations: 0 / 454.4 MB, free: 5.355 MB / 378.7 MB Notification: Performance of matching and sorting (n=6): time 0.001259/0.7106, allocations: 181.4 kB / 454.6 MB, free: 5.172 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.671e-05/0.7107, allocations: 81.05 kB / 454.7 MB, free: 5.074 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002079/0.7109, allocations: 113 kB / 454.8 MB, free: 4.957 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.756e-05/0.711, allocations: 25.7 kB / 454.8 MB, free: 4.926 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.7111, allocations: 154.6 kB / 455 MB, free: 4.773 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.641e-05/0.7112, allocations: 27.64 kB / 455 MB, free: 4.746 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.508e-06/0.7112, allocations: 0 / 455 MB, free: 4.746 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.7114, allocations: 314.8 kB / 455.3 MB, free: 4.43 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002135/0.7116, allocations: 31.97 kB / 455.3 MB, free: 4.398 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002256/0.7119, allocations: 49.62 kB / 455.4 MB, free: 4.344 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002506/0.7121, allocations: 61.72 kB / 455.4 MB, free: 4.277 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.7122, allocations: 0 / 455.4 MB, free: 4.277 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005821/0.7128, allocations: 127.4 kB / 455.6 MB, free: 4.141 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.856e-05/0.7129, allocations: 29.7 kB / 455.6 MB, free: 4.105 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/0.7129, allocations: 3.953 kB / 455.6 MB, free: 4.102 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.181e-05/0.7129, allocations: 3.938 kB / 455.6 MB, free: 4.098 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002065/0.7132, allocations: 23.92 kB / 455.6 MB, free: 4.074 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.7132, allocations: 4 kB / 455.6 MB, free: 4.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001229/0.7133, allocations: 7.984 kB / 455.6 MB, free: 4.062 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.049e-05/0.7134, allocations: 4 kB / 455.6 MB, free: 4.059 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 (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.0001736/0.7136, allocations: 113.8 kB / 455.7 MB, free: 3.938 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.307e-05/0.7137, allocations: 3.906 kB / 455.8 MB, free: 3.934 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000619/0.7143, allocations: 122 kB / 455.9 MB, free: 3.805 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.7143, allocations: 3.953 kB / 455.9 MB, free: 3.801 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.7143, allocations: 0 / 455.9 MB, free: 3.801 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.7144, allocations: 0 / 455.9 MB, free: 3.801 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009889/0.7154, allocations: 362.6 kB / 456.2 MB, free: 3.391 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.7154, allocations: 192 / 456.2 MB, free: 3.391 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001702/0.7156, allocations: 19.98 kB / 456.2 MB, free: 3.371 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.008e-05/0.7156, allocations: 3.953 kB / 456.3 MB, free: 3.367 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.752e-05/0.7156, allocations: 8 kB / 456.3 MB, free: 3.359 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.7157, allocations: 240 / 456.3 MB, free: 3.359 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/0.7157, allocations: 3.938 kB / 456.3 MB, free: 3.355 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000564/0.7163, allocations: 191.4 kB / 456.5 MB, free: 3.152 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.532e-05/0.7164, allocations: 93 kB / 456.5 MB, free: 3.043 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.729e-05/0.7164, allocations: 3.953 kB / 456.5 MB, free: 3.039 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001709/0.7166, allocations: 8 kB / 456.6 MB, free: 3.031 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.651e-05/0.7167, allocations: 7.984 kB / 456.6 MB, free: 3.023 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.923e-05/0.7167, allocations: 4 kB / 456.6 MB, free: 3.02 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001673/0.7169, allocations: 95.7 kB / 456.7 MB, free: 2.926 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.72e-07/0.7169, allocations: 0 / 456.7 MB, free: 2.926 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006172/0.7176, allocations: 35.94 kB / 456.7 MB, free: 2.891 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 (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.002649/0.7202, allocations: 1.015 MB / 457.7 MB, free: 1.926 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006449/0.7209, allocations: 115.4 kB / 457.8 MB, free: 1.801 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.436e-06/0.721, allocations: 4 kB / 457.8 MB, free: 1.797 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000235/0.7212, allocations: 43.91 kB / 457.9 MB, free: 1.754 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003777/0.7216, allocations: 8.078 kB / 457.9 MB, free: 1.746 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001256/0.7229, allocations: 440.7 kB / 458.3 MB, free: 1.254 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004451/0.7234, allocations: 0.6965 MB / 459 MB, free: 0.5312 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001398/0.7235, allocations: 23.42 kB / 459 MB, free: 0.5078 MB / 378.7 MB Notification: Performance of SimCode: time 1.172e-06/0.7236, allocations: 0 / 459 MB, free: 0.5078 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