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.971/1.971, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.34e-05/3.348e-05, allocations: 4 kB / 273.2 MB, free: 0.6367 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.104, allocations: 48.7 MB / 321.9 MB, free: 15.83 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4173/0.5214, allocations: 74.54 MB / 396.4 MB, free: 15.38 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002794/0.5217, allocations: 74.62 kB / 396.5 MB, free: 15.31 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01257/0.5343, allocations: 2.788 MB / 399.3 MB, free: 12.53 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.5344, allocations: 0 / 399.3 MB, free: 12.53 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.52e-05/0.5344, allocations: 0 / 399.3 MB, free: 12.53 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.0004948/0.5349, allocations: 404 kB / 399.7 MB, free: 12.09 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.535, allocations: 12.03 kB / 399.7 MB, free: 12.07 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.748e-05/0.535, allocations: 30.56 kB / 399.7 MB, free: 12.04 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.613e-05/0.5351, allocations: 4 kB / 399.7 MB, free: 12.03 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002605/0.5353, allocations: 202.7 kB / 399.9 MB, free: 11.79 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.5354, allocations: 4 kB / 399.9 MB, free: 11.79 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.726e-05/0.5354, allocations: 4 kB / 399.9 MB, free: 11.79 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001813/0.5356, allocations: 67.41 kB / 400 MB, free: 11.71 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.5356, allocations: 0 / 400 MB, free: 11.71 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.5356, allocations: 0 / 400 MB, free: 11.71 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.5357, allocations: 4 kB / 400 MB, free: 11.7 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.641e-05/0.5358, allocations: 23.98 kB / 400 MB, free: 11.68 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004655/0.5362, allocations: 292.8 kB / 400.3 MB, free: 11.34 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001531/0.5364, allocations: 54.56 kB / 400.3 MB, free: 11.28 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.571e-05/0.5365, allocations: 18.36 kB / 400.4 MB, free: 11.26 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.994e-05/0.5365, allocations: 7.938 kB / 400.4 MB, free: 11.25 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.5366, allocations: 34.56 kB / 400.4 MB, free: 11.21 MB / 330.7 MB Notification: Performance of pre-optimization done (n=5): time 1.613e-06/0.5366, allocations: 0 / 400.4 MB, free: 11.21 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005996/0.5372, allocations: 133.4 kB / 400.5 MB, free: 11.07 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.977e-05/0.5373, allocations: 85.05 kB / 400.6 MB, free: 10.97 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001489/0.5374, allocations: 121 kB / 400.7 MB, free: 10.85 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.544e-05/0.5375, allocations: 25.7 kB / 400.8 MB, free: 10.82 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.654e-05/0.5376, allocations: 158.5 kB / 400.9 MB, free: 10.66 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.329e-05/0.5376, allocations: 19.72 kB / 400.9 MB, free: 10.64 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.294e-06/0.5376, allocations: 0 / 400.9 MB, free: 10.64 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.5378, allocations: 322.8 kB / 401.2 MB, free: 10.32 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.179e-05/0.5378, allocations: 12 kB / 401.3 MB, free: 10.3 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.522e-05/0.5379, allocations: 41.78 kB / 401.3 MB, free: 10.26 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.936e-05/0.538, allocations: 49.69 kB / 401.3 MB, free: 10.2 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.5381, allocations: 0 / 401.3 MB, free: 10.2 MB / 330.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002611/0.5383, allocations: 107.3 kB / 401.4 MB, free: 10.09 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.292e-05/0.5384, allocations: 33.7 kB / 401.5 MB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.5384, allocations: 0 / 401.5 MB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.5384, allocations: 0 / 401.5 MB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001846/0.5386, allocations: 19.98 kB / 401.5 MB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.5387, allocations: 0 / 401.5 MB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.082e-05/0.5388, allocations: 15.97 kB / 401.5 MB, free: 10.01 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.983e-05/0.5388, allocations: 7.984 kB / 401.5 MB, free: 10 MB / 330.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 8.445e-05/0.5389, allocations: 105 kB / 401.6 MB, free: 9.895 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.4e-05/0.539, allocations: 7.906 kB / 401.6 MB, free: 9.887 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003068/0.5393, allocations: 106.1 kB / 401.7 MB, free: 9.777 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.5393, allocations: 0 / 401.7 MB, free: 9.777 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.5393, allocations: 192 / 401.7 MB, free: 9.777 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.846e-06/0.5393, allocations: 7.984 kB / 401.7 MB, free: 9.77 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005495/0.5399, allocations: 358.8 kB / 402.1 MB, free: 9.363 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.5399, allocations: 3.938 kB / 402.1 MB, free: 9.359 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001342/0.54, allocations: 19.88 kB / 402.1 MB, free: 9.34 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.663e-06/0.5401, allocations: 3.984 kB / 402.1 MB, free: 9.336 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.5401, allocations: 4 kB / 402.1 MB, free: 9.332 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.5401, allocations: 0 / 402.1 MB, free: 9.332 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/0.5401, allocations: 4.031 kB / 402.1 MB, free: 9.328 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002452/0.5404, allocations: 179.4 kB / 402.3 MB, free: 9.137 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.905e-05/0.5404, allocations: 81.09 kB / 402.4 MB, free: 9.039 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.322e-05/0.5405, allocations: 4 kB / 402.4 MB, free: 9.035 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/0.5406, allocations: 4 kB / 402.4 MB, free: 9.031 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.203e-05/0.5407, allocations: 7.984 kB / 402.4 MB, free: 9.023 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.707e-05/0.5407, allocations: 7.953 kB / 402.4 MB, free: 9.016 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001054/0.5408, allocations: 100.2 kB / 402.5 MB, free: 8.918 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.5408, allocations: 4 kB / 402.5 MB, free: 8.914 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000395/0.5412, allocations: 31.98 kB / 402.5 MB, free: 8.883 MB / 330.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.001427/0.5427, allocations: 0.9236 MB / 403.5 MB, free: 7.988 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002694/0.543, allocations: 103.3 kB / 403.6 MB, free: 7.875 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.653e-06/0.543, allocations: 0 / 403.6 MB, free: 7.875 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.344e-05/0.5431, allocations: 27.94 kB / 403.6 MB, free: 7.848 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000276/0.5434, allocations: 15.42 kB / 403.6 MB, free: 7.836 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006447/0.544, allocations: 184.1 kB / 403.8 MB, free: 7.613 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003451/0.5444, allocations: 0.7004 MB / 404.5 MB, free: 6.887 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001038/0.5445, allocations: 27.42 kB / 404.5 MB, free: 6.859 MB / 330.7 MB Notification: Performance of SimCode: time 1.002e-06/0.5445, allocations: 3.938 kB / 404.5 MB, free: 6.855 MB / 330.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