Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test25_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.CombiTable1D.Test25_usertab,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.922/1.922, allocations: 209.2 MB / 224.8 MB, free: 0.7617 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004492/0.0004494, allocations: 15.98 kB / 282.6 MB, free: 9.617 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1027, allocations: 48.71 MB / 331.3 MB, free: 8.82 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test25_usertab): time 0.002273/0.105, allocations: 1.214 MB / 332.5 MB, free: 7.594 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007092/0.1058, allocations: 269 kB / 332.8 MB, free: 7.328 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.007e-05/0.1059, allocations: 0 / 332.8 MB, free: 7.328 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002346/0.1061, allocations: 15.92 kB / 332.8 MB, free: 7.312 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001577/0.1063, allocations: 23.97 kB / 332.8 MB, free: 7.289 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001533/0.1065, allocations: 35.84 kB / 332.8 MB, free: 7.254 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001362/0.1066, allocations: 35.95 kB / 332.9 MB, free: 7.219 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.1067, allocations: 15.97 kB / 332.9 MB, free: 7.203 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.85e-05/0.1068, allocations: 19.92 kB / 332.9 MB, free: 7.184 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.964e-05/0.1069, allocations: 19.86 kB / 332.9 MB, free: 7.164 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.134e-05/0.1069, allocations: 4 kB / 332.9 MB, free: 7.16 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001266/0.107, allocations: 39.91 kB / 333 MB, free: 7.121 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.699e-05/0.1071, allocations: 11.98 kB / 333 MB, free: 7.109 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.07e-05/0.1071, allocations: 33.64 kB / 333 MB, free: 7.07 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001757/0.1073, allocations: 63.91 kB / 333.1 MB, free: 7.008 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.1073, allocations: 0 / 333.1 MB, free: 7.008 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1074, allocations: 0 / 333.1 MB, free: 7.008 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.068e-05/0.1074, allocations: 0 / 333.1 MB, free: 7.008 MB / 282.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.0005335/0.1079, allocations: 385.2 kB / 333.4 MB, free: 6.578 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.108, allocations: 8.031 kB / 333.5 MB, free: 6.57 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.01e-05/0.108, allocations: 30.56 kB / 333.5 MB, free: 6.531 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.069e-05/0.1081, allocations: 11.91 kB / 333.5 MB, free: 6.52 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002121/0.1083, allocations: 186.9 kB / 333.7 MB, free: 6.297 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.1083, allocations: 8 kB / 333.7 MB, free: 6.289 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.135e-05/0.1084, allocations: 0 / 333.7 MB, free: 6.289 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002191/0.1086, allocations: 75.39 kB / 333.8 MB, free: 6.203 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.1086, allocations: 0 / 333.8 MB, free: 6.203 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.1086, allocations: 0 / 333.8 MB, free: 6.203 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.1087, allocations: 0 / 333.8 MB, free: 6.203 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001676/0.1088, allocations: 35.98 kB / 333.8 MB, free: 6.168 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005174/0.1094, allocations: 300.7 kB / 334.1 MB, free: 5.824 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001453/0.1095, allocations: 42.5 kB / 334.1 MB, free: 5.773 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.24e-05/0.1096, allocations: 8.078 kB / 334.1 MB, free: 5.766 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.214e-05/0.1096, allocations: 42.55 kB / 334.2 MB, free: 5.715 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.793e-06/0.1096, allocations: 0 / 334.2 MB, free: 5.715 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.0009408/0.1106, allocations: 169.4 kB / 334.3 MB, free: 5.543 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.345e-05/0.1107, allocations: 77.11 kB / 334.4 MB, free: 5.449 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001567/0.1108, allocations: 133.7 kB / 334.5 MB, free: 5.309 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/0.1109, allocations: 25.7 kB / 334.6 MB, free: 5.277 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.545e-05/0.1109, allocations: 158.6 kB / 334.7 MB, free: 5.121 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.448e-05/0.111, allocations: 23.64 kB / 334.8 MB, free: 5.098 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.943e-06/0.111, allocations: 4 kB / 334.8 MB, free: 5.094 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.1111, allocations: 314.8 kB / 335.1 MB, free: 4.777 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001503/0.1113, allocations: 27.98 kB / 335.1 MB, free: 4.75 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001594/0.1115, allocations: 49.62 kB / 335.1 MB, free: 4.695 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001778/0.1117, allocations: 61.72 kB / 335.2 MB, free: 4.629 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.1117, allocations: 0 / 335.2 MB, free: 4.629 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004045/0.1121, allocations: 127.3 kB / 335.3 MB, free: 4.492 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.949e-05/0.1121, allocations: 29.7 kB / 335.4 MB, free: 4.457 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.842e-06/0.1122, allocations: 0 / 335.4 MB, free: 4.457 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.1122, allocations: 4 kB / 335.4 MB, free: 4.453 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001582/0.1124, allocations: 19.98 kB / 335.4 MB, free: 4.434 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.1124, allocations: 3.938 kB / 335.4 MB, free: 4.43 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.864e-05/0.1125, allocations: 15.94 kB / 335.4 MB, free: 4.414 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.35e-05/0.1125, allocations: 4 kB / 335.4 MB, free: 4.41 MB / 282.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.0001169/0.1126, allocations: 117.8 kB / 335.5 MB, free: 4.285 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.175e-05/0.1127, allocations: 7.906 kB / 335.5 MB, free: 4.277 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004214/0.1131, allocations: 110 kB / 335.6 MB, free: 4.164 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.1131, allocations: 0 / 335.6 MB, free: 4.164 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.1132, allocations: 0 / 335.6 MB, free: 4.164 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.1132, allocations: 0 / 335.6 MB, free: 4.164 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000665/0.1138, allocations: 374.5 kB / 336 MB, free: 3.742 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.1139, allocations: 0 / 336 MB, free: 3.742 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001384/0.114, allocations: 19.92 kB / 336 MB, free: 3.723 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.122e-06/0.114, allocations: 0 / 336 MB, free: 3.723 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.1141, allocations: 4 kB / 336 MB, free: 3.719 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.1141, allocations: 192 / 336 MB, free: 3.719 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.798e-06/0.1141, allocations: 7.953 kB / 336 MB, free: 3.711 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003865/0.1145, allocations: 199.4 kB / 336.2 MB, free: 3.5 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.798e-05/0.1145, allocations: 89 kB / 336.3 MB, free: 3.395 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.651e-05/0.1146, allocations: 4 kB / 336.3 MB, free: 3.391 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001121/0.1147, allocations: 8 kB / 336.3 MB, free: 3.383 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.962e-05/0.1148, allocations: 7.984 kB / 336.3 MB, free: 3.375 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/0.1148, allocations: 3.953 kB / 336.3 MB, free: 3.371 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.546e-05/0.1149, allocations: 99.27 kB / 336.4 MB, free: 3.273 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.1149, allocations: 0 / 336.4 MB, free: 3.273 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003517/0.1153, allocations: 24 kB / 336.5 MB, free: 3.25 MB / 282.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.001497/0.1168, allocations: 0.9643 MB / 337.4 MB, free: 2.344 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000432/0.1173, allocations: 127.3 kB / 337.5 MB, free: 2.207 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/0.1173, allocations: 4 kB / 337.5 MB, free: 2.203 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001508/0.1174, allocations: 31.97 kB / 337.6 MB, free: 2.172 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002859/0.1177, allocations: 12 kB / 337.6 MB, free: 2.16 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008392/0.1186, allocations: 420.4 kB / 338 MB, free: 1.691 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002715/0.1189, allocations: 0.6926 MB / 338.7 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.826e-05/0.119, allocations: 23.42 kB / 338.7 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of SimCode: time 1.242e-06/0.119, allocations: 4 kB / 338.7 MB, free: 0.9453 MB / 282.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=5 -DSUNDIALS_MINOR_VERSION=4 -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_CombiTable1D_Test25_usertabCalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test25_usertabCalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test25_usertabCalcHelperMain.cpp:28: In file included from ./OMCppModelicaTest_3_2_1_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.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_CombiTable1D_Test25_usertabCalcHelperMain.cpp:28: ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test25_usertabFunctions.cpp:193:18: error: no matching function for call to 'mydummyfunc' dummy_y__ext = mydummyfunc(ConstArray(dummy_u_).getData()); ^~~~~~~~~~~ ./OMCppModelicaTest_3_2_1_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_1_cpp_ModelicaTest_Tables_CombiTable1D_Test25_usertabCalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_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_1_cpp_ModelicaTest_Tables_CombiTable1D_Test25_usertabCalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test25_usertabCalcHelperMain.o] Error 1