Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.995/1.995, allocations: 209.2 MB / 224.8 MB, free: 0.6289 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004215/0.0004216, allocations: 16 kB / 282.7 MB, free: 9.551 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3801/0.3805, allocations: 48.7 MB / 331.4 MB, free: 6.539 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1329/0.5135, allocations: 74.63 MB / 406 MB, free: 3.77 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002647/0.5138, allocations: 67.97 kB / 406.1 MB, free: 3.703 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01201/0.5259, allocations: 2.801 MB / 408.9 MB, free: 0.9102 MB / 330.7 MB Notification: Performance of FrontEnd: time 5.239e-06/0.5259, allocations: 0 / 408.9 MB, free: 0.9102 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.144e-05/0.5259, allocations: 3.938 kB / 408.9 MB, free: 0.9062 MB / 330.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.0005526/0.5265, allocations: 404.9 kB / 409.3 MB, free: 468 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.5266, allocations: 12.03 kB / 409.3 MB, free: 456 kB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.663e-05/0.5267, allocations: 30.56 kB / 409.3 MB, free: 416 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.579e-05/0.5267, allocations: 7.906 kB / 409.3 MB, free: 408 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002657/0.527, allocations: 210.7 kB / 409.5 MB, free: 156 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.527, allocations: 4 kB / 409.5 MB, free: 152 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.732e-05/0.5271, allocations: 0 / 409.5 MB, free: 152 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002466/0.5273, allocations: 71.39 kB / 409.6 MB, free: 68 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.5273, allocations: 0 / 409.6 MB, free: 68 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.5274, allocations: 4 kB / 409.6 MB, free: 64 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.5274, allocations: 0 / 409.6 MB, free: 64 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001863/0.5276, allocations: 43.91 kB / 409.6 MB, free: 20 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005114/0.5281, allocations: 292.8 kB / 409.9 MB, free: 15.68 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002064/0.5283, allocations: 62.55 kB / 410 MB, free: 15.61 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.162e-05/0.5284, allocations: 4 kB / 410 MB, free: 15.61 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.11e-05/0.5284, allocations: 34.56 kB / 410 MB, free: 15.57 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.804e-06/0.5284, allocations: 0 / 410 MB, free: 15.57 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0009572/0.5294, allocations: 189.4 kB / 410.2 MB, free: 15.38 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.371e-05/0.5295, allocations: 77.11 kB / 410.3 MB, free: 15.28 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001573/0.5296, allocations: 120.9 kB / 410.4 MB, free: 15.16 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/0.5297, allocations: 29.7 kB / 410.4 MB, free: 15.12 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.53e-05/0.5298, allocations: 158.5 kB / 410.6 MB, free: 14.96 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.26e-05/0.5298, allocations: 19.7 kB / 410.6 MB, free: 14.95 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.418e-06/0.5298, allocations: 4 kB / 410.6 MB, free: 14.94 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.53, allocations: 318.8 kB / 410.9 MB, free: 14.62 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001534/0.5301, allocations: 35.97 kB / 411 MB, free: 14.59 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001649/0.5303, allocations: 45.77 kB / 411 MB, free: 14.54 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001775/0.5305, allocations: 61.72 kB / 411.1 MB, free: 14.47 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.5305, allocations: 7.938 kB / 411.1 MB, free: 14.46 MB / 346.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004478/0.531, allocations: 131.4 kB / 411.2 MB, free: 14.32 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.364e-05/0.531, allocations: 37.64 kB / 411.2 MB, free: 14.28 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.5311, allocations: 0 / 411.2 MB, free: 14.28 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.5311, allocations: 0 / 411.2 MB, free: 14.28 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001715/0.5313, allocations: 28.3 kB / 411.3 MB, free: 14.25 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.5313, allocations: 0 / 411.3 MB, free: 14.25 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.145e-05/0.5314, allocations: 11.92 kB / 411.3 MB, free: 14.24 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.752e-05/0.5314, allocations: 12 kB / 411.3 MB, free: 14.23 MB / 346.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.0001214/0.5316, allocations: 117.8 kB / 411.4 MB, free: 14.1 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.971e-05/0.5316, allocations: 11.89 kB / 411.4 MB, free: 14.09 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004512/0.5321, allocations: 121.9 kB / 411.5 MB, free: 13.97 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.5321, allocations: 4 kB / 411.5 MB, free: 13.96 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.5321, allocations: 0 / 411.5 MB, free: 13.96 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.5321, allocations: 0 / 411.5 MB, free: 13.96 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007131/0.5328, allocations: 386.7 kB / 411.9 MB, free: 13.53 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.5329, allocations: 0 / 411.9 MB, free: 13.53 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001325/0.533, allocations: 15.98 kB / 411.9 MB, free: 13.52 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.887e-06/0.533, allocations: 4 kB / 411.9 MB, free: 13.51 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.533, allocations: 0 / 411.9 MB, free: 13.51 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.5331, allocations: 0 / 411.9 MB, free: 13.51 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.5331, allocations: 0 / 411.9 MB, free: 13.51 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004055/0.5335, allocations: 207.5 kB / 412.1 MB, free: 13.29 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.749e-05/0.5336, allocations: 85.02 kB / 412.2 MB, free: 13.19 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.657e-05/0.5336, allocations: 4 kB / 412.2 MB, free: 13.19 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.5337, allocations: 11.98 kB / 412.2 MB, free: 13.18 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.031e-05/0.5338, allocations: 4 kB / 412.2 MB, free: 13.17 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.669e-05/0.5338, allocations: 7.984 kB / 412.2 MB, free: 13.16 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001091/0.5339, allocations: 99.27 kB / 412.3 MB, free: 13.07 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.5339, allocations: 0 / 412.3 MB, free: 13.07 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004402/0.5344, allocations: 35.92 kB / 412.4 MB, free: 13.03 MB / 346.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.001546/0.536, allocations: 0.9686 MB / 413.3 MB, free: 12.11 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004408/0.5364, allocations: 131.4 kB / 413.5 MB, free: 11.97 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.5364, allocations: 0 / 413.5 MB, free: 11.97 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000161/0.5366, allocations: 35.92 kB / 413.5 MB, free: 11.94 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002566/0.5369, allocations: 11.98 kB / 413.5 MB, free: 11.93 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000919/0.5378, allocations: 444.6 kB / 414 MB, free: 11.44 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003157/0.5382, allocations: 0.6887 MB / 414.6 MB, free: 10.72 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001134/0.5383, allocations: 27.42 kB / 414.7 MB, free: 10.7 MB / 346.7 MB Notification: Performance of SimCode: time 9.32e-07/0.5383, allocations: 0 / 414.7 MB, free: 10.7 MB / 346.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.1/Resources/Data/Tables" -DUSE_LOGGER -c -o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test25_usertabCalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test25_usertabCalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test25_usertabCalcHelperMain.cpp:28: In file included from ./OMCppModelicaTest_3_2_1_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.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_CombiTable1Ds_Test25_usertabCalcHelperMain.cpp:28: ./OMCppModelicaTest_3_2_1_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_1_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_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test25_usertabCalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_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_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test25_usertabCalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test25_usertabCalcHelperMain.o] Error 1