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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.299/2.299, allocations: 235.1 MB / 243 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.569e-05/2.581e-05, allocations: 4 kB / 303.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4236/0.4236, allocations: 54.84 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1664/0.5901, allocations: 80.34 MB / 438.5 MB, free: 14.41 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003481/0.5905, allocations: 71.95 kB / 438.5 MB, free: 14.34 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01654/0.607, allocations: 2.93 MB / 441.5 MB, free: 11.4 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.6071, allocations: 0 / 441.5 MB, free: 11.4 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.725e-05/0.6071, allocations: 4 kB / 441.5 MB, free: 11.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.0006269/0.6078, allocations: 398.1 kB / 441.9 MB, free: 10.96 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.628e-05/0.6079, allocations: 8.031 kB / 441.9 MB, free: 10.95 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.914e-05/0.6079, allocations: 11.86 kB / 441.9 MB, free: 10.94 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003383/0.6083, allocations: 190.9 kB / 442.1 MB, free: 10.71 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.6083, allocations: 8 kB / 442.1 MB, free: 10.7 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.215e-05/0.6084, allocations: 0 / 442.1 MB, free: 10.7 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001646/0.6085, allocations: 27.98 kB / 442.1 MB, free: 10.68 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001832/0.6087, allocations: 59.34 kB / 442.2 MB, free: 10.61 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.6088, allocations: 0 / 442.2 MB, free: 10.61 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/0.6088, allocations: 0 / 442.2 MB, free: 10.61 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.46e-05/0.6088, allocations: 7.953 kB / 442.2 MB, free: 10.6 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005688/0.6094, allocations: 261.5 kB / 442.4 MB, free: 10.3 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000187/0.6096, allocations: 50.56 kB / 442.5 MB, free: 10.25 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.093e-05/0.6097, allocations: 20.92 kB / 442.5 MB, free: 10.22 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.769e-05/0.6098, allocations: 4 kB / 442.5 MB, free: 10.22 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.053e-05/0.6098, allocations: 30.56 kB / 442.5 MB, free: 10.18 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 2.204e-06/0.6098, allocations: 0 / 442.5 MB, free: 10.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007738/0.6106, allocations: 131.2 kB / 442.6 MB, free: 10.05 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.668e-05/0.6107, allocations: 81.12 kB / 442.7 MB, free: 9.949 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000185/0.6109, allocations: 116.9 kB / 442.8 MB, free: 9.828 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.743e-05/0.6109, allocations: 25.7 kB / 442.9 MB, free: 9.797 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.6111, allocations: 162.5 kB / 443 MB, free: 9.637 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.13e-05/0.6111, allocations: 23.7 kB / 443 MB, free: 9.613 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.308e-06/0.6111, allocations: 0 / 443 MB, free: 9.613 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.6113, allocations: 314.8 kB / 443.4 MB, free: 9.297 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.001e-05/0.6114, allocations: 19.98 kB / 443.4 MB, free: 9.277 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001038/0.6115, allocations: 33.7 kB / 443.4 MB, free: 9.238 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.874e-05/0.6117, allocations: 16 kB / 443.4 MB, free: 9.223 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.6117, allocations: 0 / 443.4 MB, free: 9.223 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003011/0.612, allocations: 81.67 kB / 443.5 MB, free: 9.137 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.564e-05/0.6121, allocations: 29.7 kB / 443.5 MB, free: 9.102 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.6121, allocations: 0 / 443.5 MB, free: 9.102 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.6121, allocations: 4 kB / 443.5 MB, free: 9.098 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000234/0.6124, allocations: 27.91 kB / 443.6 MB, free: 9.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.6124, allocations: 0 / 443.6 MB, free: 9.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001128/0.6125, allocations: 8 kB / 443.6 MB, free: 9.062 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.538e-05/0.6126, allocations: 3.938 kB / 443.6 MB, free: 9.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 () * 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.000113/0.6127, allocations: 105 kB / 443.7 MB, free: 8.949 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002682/0.613, allocations: 73.59 kB / 443.7 MB, free: 8.871 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.634e-05/0.6131, allocations: 11.89 kB / 443.8 MB, free: 8.859 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003646/0.6134, allocations: 102.5 kB / 443.9 MB, free: 8.754 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.6135, allocations: 4 kB / 443.9 MB, free: 8.75 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.6135, allocations: 192 / 443.9 MB, free: 8.75 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.6135, allocations: 0 / 443.9 MB, free: 8.75 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007248/0.6142, allocations: 327.1 kB / 444.2 MB, free: 8.387 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/0.6143, allocations: 4 kB / 444.2 MB, free: 8.383 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001867/0.6145, allocations: 19.92 kB / 444.2 MB, free: 8.363 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.917e-06/0.6145, allocations: 3.953 kB / 444.2 MB, free: 8.359 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.862e-05/0.6145, allocations: 8 kB / 444.2 MB, free: 8.352 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.6145, allocations: 3.938 kB / 444.2 MB, free: 8.348 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.6145, allocations: 0 / 444.2 MB, free: 8.348 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003012/0.6149, allocations: 167.5 kB / 444.4 MB, free: 8.168 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.034e-05/0.615, allocations: 89 kB / 444.5 MB, free: 8.062 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.38e-05/0.615, allocations: 3.953 kB / 444.5 MB, free: 8.059 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001698/0.6152, allocations: 4 kB / 444.5 MB, free: 8.055 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.958e-05/0.6153, allocations: 11.98 kB / 444.5 MB, free: 8.043 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.787e-05/0.6153, allocations: 4 kB / 444.5 MB, free: 8.039 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001189/0.6154, allocations: 99.7 kB / 444.6 MB, free: 7.941 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.31e-07/0.6154, allocations: 0 / 444.6 MB, free: 7.941 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006773/0.6161, allocations: 24 kB / 444.6 MB, free: 7.918 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.002411/0.6186, allocations: 0.9461 MB / 445.6 MB, free: 6.992 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000349/0.619, allocations: 91.41 kB / 445.7 MB, free: 6.891 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.619, allocations: 3.938 kB / 445.7 MB, free: 6.887 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001036/0.6191, allocations: 27.98 kB / 445.7 MB, free: 6.859 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004025/0.6195, allocations: 10.02 kB / 445.7 MB, free: 6.852 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009229/0.6205, allocations: 187 kB / 445.9 MB, free: 6.625 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004196/0.6209, allocations: 0.7048 MB / 446.6 MB, free: 5.895 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001412/0.6211, allocations: 23.42 kB / 446.6 MB, free: 5.871 MB / 378.7 MB Notification: Performance of SimCode: time 4.859e-06/0.6211, allocations: 0 / 446.6 MB, free: 5.871 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=7 -DPMC_USE_SUNDIALS -DFMU_BUILD -DRUNTIME_STATIC_LINKING -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/cpp" -I"." -I"." -I"." "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Data/Tables/usertab.c:14: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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/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/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/OMCompiler/build/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