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.966/1.966, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.964e-05/3.974e-05, allocations: 4 kB / 273.1 MB, free: 0.6484 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1103, allocations: 48.7 MB / 321.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4379/0.5483, allocations: 74.54 MB / 396.4 MB, free: 15.39 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002654/0.5486, allocations: 71.06 kB / 396.4 MB, free: 15.32 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01236/0.561, allocations: 2.788 MB / 399.2 MB, free: 12.54 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.561, allocations: 0 / 399.2 MB, free: 12.54 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.615e-05/0.561, allocations: 4 kB / 399.2 MB, free: 12.54 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.0004979/0.5615, allocations: 403.9 kB / 399.6 MB, free: 12.09 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/0.5616, allocations: 12.03 kB / 399.6 MB, free: 12.08 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.829e-05/0.5617, allocations: 38.56 kB / 399.7 MB, free: 12.03 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.654e-05/0.5617, allocations: 0 / 399.7 MB, free: 12.03 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002561/0.562, allocations: 194.8 kB / 399.9 MB, free: 11.8 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.562, allocations: 0 / 399.9 MB, free: 11.8 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.396e-05/0.562, allocations: 8 kB / 399.9 MB, free: 11.79 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001852/0.5622, allocations: 63.34 kB / 399.9 MB, free: 11.72 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.5623, allocations: 4 kB / 399.9 MB, free: 11.71 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.5623, allocations: 0 / 399.9 MB, free: 11.71 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.5623, allocations: 4 kB / 399.9 MB, free: 11.71 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001051/0.5624, allocations: 27.98 kB / 400 MB, free: 11.68 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004893/0.5629, allocations: 288.8 kB / 400.3 MB, free: 11.35 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001553/0.5631, allocations: 58.5 kB / 400.3 MB, free: 11.29 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.491e-05/0.5632, allocations: 18.36 kB / 400.3 MB, free: 11.27 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.654e-05/0.5632, allocations: 4 kB / 400.3 MB, free: 11.26 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.567e-05/0.5633, allocations: 42.5 kB / 400.4 MB, free: 11.21 MB / 330.7 MB Notification: Performance of pre-optimization done (n=5): time 2.044e-06/0.5633, allocations: 0 / 400.4 MB, free: 11.21 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006163/0.5639, allocations: 133.3 kB / 400.5 MB, free: 11.07 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.367e-05/0.564, allocations: 85.05 kB / 400.6 MB, free: 10.97 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001427/0.5641, allocations: 109 kB / 400.7 MB, free: 10.86 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.439e-05/0.5642, allocations: 37.69 kB / 400.7 MB, free: 10.82 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.495e-05/0.5643, allocations: 158.5 kB / 400.9 MB, free: 10.66 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.524e-05/0.5643, allocations: 19.72 kB / 400.9 MB, free: 10.64 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.404e-06/0.5643, allocations: 0 / 400.9 MB, free: 10.64 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.5645, allocations: 314.8 kB / 401.2 MB, free: 10.32 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.7e-05/0.5645, allocations: 19.98 kB / 401.2 MB, free: 10.3 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.189e-05/0.5646, allocations: 29.72 kB / 401.3 MB, free: 10.27 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.392e-05/0.5647, allocations: 49.69 kB / 401.3 MB, free: 10.21 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.5648, allocations: 32 / 401.3 MB, free: 10.21 MB / 330.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002707/0.565, allocations: 119.4 kB / 401.4 MB, free: 10.09 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.427e-05/0.5651, allocations: 33.7 kB / 401.5 MB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.5651, allocations: 0 / 401.5 MB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.5651, allocations: 0 / 401.5 MB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001849/0.5653, allocations: 19.92 kB / 401.5 MB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.5654, allocations: 4 kB / 401.5 MB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.212e-05/0.5655, allocations: 11.94 kB / 401.5 MB, free: 10.01 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.531e-05/0.5655, allocations: 4 kB / 401.5 MB, free: 10.01 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.629e-05/0.5656, allocations: 109 kB / 401.6 MB, free: 9.895 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.523e-05/0.5657, allocations: 7.906 kB / 401.6 MB, free: 9.887 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003002/0.566, allocations: 98.39 kB / 401.7 MB, free: 9.785 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.246e-06/0.566, allocations: 4 kB / 401.7 MB, free: 9.781 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.566, allocations: 0 / 401.7 MB, free: 9.781 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.566, allocations: 3.984 kB / 401.7 MB, free: 9.777 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005357/0.5666, allocations: 358.5 kB / 402.1 MB, free: 9.371 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/0.5666, allocations: 8 kB / 402.1 MB, free: 9.363 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001428/0.5667, allocations: 16.12 kB / 402.1 MB, free: 9.348 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.086e-06/0.5668, allocations: 3.984 kB / 402.1 MB, free: 9.344 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.752e-05/0.5668, allocations: 11.98 kB / 402.1 MB, free: 9.332 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.5668, allocations: 0 / 402.1 MB, free: 9.332 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.5668, allocations: 3.953 kB / 402.1 MB, free: 9.328 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002443/0.5671, allocations: 171.5 kB / 402.3 MB, free: 9.145 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.608e-05/0.5671, allocations: 85.09 kB / 402.4 MB, free: 9.043 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.653e-05/0.5672, allocations: 4 kB / 402.4 MB, free: 9.039 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001153/0.5673, allocations: 8 kB / 402.4 MB, free: 9.031 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.887e-05/0.5674, allocations: 11.92 kB / 402.4 MB, free: 9.02 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.625e-05/0.5674, allocations: 3.953 kB / 402.4 MB, free: 9.016 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.732e-05/0.5675, allocations: 104.2 kB / 402.5 MB, free: 8.914 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5675, allocations: 0 / 402.5 MB, free: 8.914 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003654/0.5679, 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.001351/0.5693, allocations: 0.9242 MB / 403.4 MB, free: 7.988 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002664/0.5696, allocations: 95.41 kB / 403.5 MB, free: 7.883 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.5696, allocations: 8 kB / 403.5 MB, free: 7.875 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.419e-05/0.5697, allocations: 24 kB / 403.6 MB, free: 7.852 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002619/0.5699, allocations: 19.3 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.0006684/0.5706, allocations: 192.1 kB / 403.8 MB, free: 7.605 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002919/0.5709, allocations: 0.6926 MB / 404.5 MB, free: 6.887 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001117/0.5711, allocations: 27.42 kB / 404.5 MB, free: 6.859 MB / 330.7 MB Notification: Performance of SimCode: time 1.273e-06/0.5711, allocations: 0 / 404.5 MB, free: 6.859 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