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.895/1.895, allocations: 209.4 MB / 216.9 MB, free: 6.738 MB / 186.8 MB Notification: Performance of FrontEnd - loaded program: time 2.287e-05/2.305e-05, allocations: 0 / 267.6 MB, free: 5.395 MB / 218.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1011, allocations: 48.7 MB / 316.3 MB, free: 4.602 MB / 266.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4233/0.5245, allocations: 74.13 MB / 390.4 MB, free: 2.203 MB / 314.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002518/0.5248, allocations: 70.77 kB / 390.5 MB, free: 2.164 MB / 314.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.01126/0.5361, allocations: 2.607 MB / 393.1 MB, free: 15.96 MB / 330.8 MB Notification: Performance of FrontEnd: time 1.413e-06/0.5362, allocations: 0 / 393.1 MB, free: 15.96 MB / 330.8 MB Notification: Performance of Transformations before backend: time 1.441e-05/0.5362, allocations: 4 kB / 393.1 MB, free: 15.96 MB / 330.8 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.000485/0.5367, allocations: 392 kB / 393.5 MB, free: 15.53 MB / 330.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.5368, allocations: 12.03 kB / 393.5 MB, free: 15.52 MB / 330.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.309e-05/0.5368, allocations: 3.906 kB / 393.5 MB, free: 15.51 MB / 330.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002539/0.5371, allocations: 194.8 kB / 393.7 MB, free: 15.29 MB / 330.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.5371, allocations: 4 kB / 393.7 MB, free: 15.28 MB / 330.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.542e-05/0.5371, allocations: 0 / 393.7 MB, free: 15.28 MB / 330.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001033/0.5373, allocations: 27.48 kB / 393.7 MB, free: 15.26 MB / 330.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.5374, allocations: 63.03 kB / 393.8 MB, free: 15.19 MB / 330.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.5374, allocations: 0 / 393.8 MB, free: 15.19 MB / 330.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.5375, allocations: 3.984 kB / 393.8 MB, free: 15.19 MB / 330.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.5375, allocations: 0 / 393.8 MB, free: 15.19 MB / 330.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004441/0.5379, allocations: 256.9 kB / 394.1 MB, free: 14.91 MB / 330.8 MB Notification: Performance of preOpt comSubExp (simulation): time 8.539e-05/0.538, allocations: 38 kB / 394.1 MB, free: 14.88 MB / 330.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.985e-05/0.5381, allocations: 20.8 kB / 394.1 MB, free: 14.86 MB / 330.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.605e-05/0.5381, allocations: 0 / 394.1 MB, free: 14.86 MB / 330.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.5382, allocations: 30.56 kB / 394.1 MB, free: 14.82 MB / 330.8 MB Notification: Performance of pre-optimization done (n=4): time 3.676e-06/0.5382, allocations: 0 / 394.1 MB, free: 14.82 MB / 330.8 MB Notification: Performance of matching and sorting (n=6): time 0.0005253/0.5387, allocations: 112.9 kB / 394.3 MB, free: 14.71 MB / 330.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.609e-05/0.5388, allocations: 77.11 kB / 394.3 MB, free: 14.62 MB / 330.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/0.5389, allocations: 116.6 kB / 394.4 MB, free: 14.51 MB / 330.8 MB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/0.5389, allocations: 25.7 kB / 394.5 MB, free: 14.48 MB / 330.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.811e-05/0.539, allocations: 162.4 kB / 394.6 MB, free: 14.32 MB / 330.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.483e-05/0.5391, allocations: 11.8 kB / 394.6 MB, free: 14.31 MB / 330.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.248e-05/0.5391, allocations: 4 kB / 394.6 MB, free: 14.3 MB / 330.8 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.5392, allocations: 322.6 kB / 395 MB, free: 13.98 MB / 330.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.601e-05/0.5393, allocations: 11.5 kB / 395 MB, free: 13.98 MB / 330.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.561e-05/0.5394, allocations: 37.45 kB / 395 MB, free: 13.94 MB / 330.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.069e-05/0.5394, allocations: 19.89 kB / 395 MB, free: 13.93 MB / 330.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.5394, allocations: 0 / 395 MB, free: 13.93 MB / 330.8 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001848/0.5396, allocations: 73.11 kB / 395.1 MB, free: 13.86 MB / 330.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.737e-05/0.5397, allocations: 29.7 kB / 395.1 MB, free: 13.82 MB / 330.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.5397, allocations: 4 kB / 395.1 MB, free: 13.82 MB / 330.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.5397, allocations: 0 / 395.1 MB, free: 13.82 MB / 330.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001641/0.5399, allocations: 15.98 kB / 395.1 MB, free: 13.8 MB / 330.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.5399, allocations: 0 / 395.1 MB, free: 13.8 MB / 330.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.868e-05/0.54, allocations: 8 kB / 395.1 MB, free: 13.8 MB / 330.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.165e-05/0.54, allocations: 11.86 kB / 395.2 MB, free: 13.79 MB / 330.8 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 (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 8.514e-05/0.5401, allocations: 108.9 kB / 395.3 MB, free: 13.68 MB / 330.8 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001643/0.5403, allocations: 73.34 kB / 395.3 MB, free: 13.61 MB / 330.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.597e-05/0.5404, allocations: 3.906 kB / 395.3 MB, free: 13.6 MB / 330.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002296/0.5406, allocations: 85.73 kB / 395.4 MB, free: 13.53 MB / 330.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.5406, allocations: 0 / 395.4 MB, free: 13.53 MB / 330.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.5406, allocations: 0 / 395.4 MB, free: 13.53 MB / 330.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.5407, allocations: 4 kB / 395.4 MB, free: 13.53 MB / 330.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004549/0.5411, allocations: 321.6 kB / 395.7 MB, free: 13.2 MB / 330.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.5411, allocations: 0 / 395.7 MB, free: 13.2 MB / 330.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001219/0.5413, allocations: 15.98 kB / 395.8 MB, free: 13.18 MB / 330.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.763e-06/0.5413, allocations: 4 kB / 395.8 MB, free: 13.18 MB / 330.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.5413, allocations: 3.938 kB / 395.8 MB, free: 13.17 MB / 330.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.5413, allocations: 0 / 395.8 MB, free: 13.17 MB / 330.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.5413, allocations: 0 / 395.8 MB, free: 13.17 MB / 330.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002025/0.5415, allocations: 174.9 kB / 395.9 MB, free: 13 MB / 330.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.858e-05/0.5416, allocations: 85 kB / 396 MB, free: 12.89 MB / 330.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.398e-05/0.5417, allocations: 0 / 396 MB, free: 12.89 MB / 330.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001243/0.5418, allocations: 8 kB / 396 MB, free: 12.89 MB / 330.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.439e-05/0.5418, allocations: 7.922 kB / 396 MB, free: 12.88 MB / 330.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.307e-05/0.5419, allocations: 4 kB / 396 MB, free: 12.88 MB / 330.8 MB Notification: Performance of sorting global known variables: time 7.962e-05/0.542, allocations: 95.55 kB / 396.1 MB, free: 12.79 MB / 330.8 MB Notification: Performance of sort global known variables: time 4.01e-07/0.542, allocations: 4 kB / 396.1 MB, free: 12.79 MB / 330.8 MB Notification: Performance of remove unused functions: time 0.0003948/0.5424, allocations: 35.86 kB / 396.2 MB, free: 12.75 MB / 330.8 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 (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.001184/0.5436, allocations: 0.8761 MB / 397 MB, free: 11.91 MB / 330.8 MB Notification: Performance of simCode: created initialization part: time 0.0002011/0.5438, allocations: 98.7 kB / 397.1 MB, free: 11.82 MB / 330.8 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.5438, allocations: 0 / 397.1 MB, free: 11.82 MB / 330.8 MB Notification: Performance of simCode: created simulation system equations: time 7.628e-05/0.5439, allocations: 23.86 kB / 397.2 MB, free: 11.8 MB / 330.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002521/0.5441, allocations: 11.84 kB / 397.2 MB, free: 11.79 MB / 330.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005734/0.5447, allocations: 190.4 kB / 397.4 MB, free: 11.57 MB / 330.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003304/0.5451, allocations: 0.7001 MB / 398.1 MB, free: 10.84 MB / 330.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.211e-05/0.5452, allocations: 26.98 kB / 398.1 MB, free: 10.82 MB / 330.8 MB Notification: Performance of SimCode: time 7.31e-07/0.5452, allocations: 0 / 398.1 MB, free: 10.82 MB / 330.8 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.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/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Resources/Data/Tables/usertab.c:14: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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/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/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: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_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/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_1_cpp_ModelicaTest_Tables_CombiTable1D_Test25_usertabCalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test25_usertabCalcHelperMain.o] Error 1