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.957/1.957, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.457e-05/3.469e-05, allocations: 0 / 273.1 MB, free: 0.6602 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09946/0.09953, allocations: 48.71 MB / 321.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4098/0.5094, allocations: 74.54 MB / 396.4 MB, free: 15.29 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002338/0.5097, allocations: 67.97 kB / 396.4 MB, free: 15.23 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01137/0.5211, allocations: 2.627 MB / 399.1 MB, free: 12.61 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.5212, allocations: 0 / 399.1 MB, free: 12.61 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.361e-05/0.5212, allocations: 0 / 399.1 MB, free: 12.61 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005138/0.5217, allocations: 392.1 kB / 399.4 MB, free: 12.17 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.271e-05/0.5218, allocations: 8.031 kB / 399.5 MB, free: 12.16 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.453e-05/0.5218, allocations: 42.48 kB / 399.5 MB, free: 12.11 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.063e-05/0.5219, allocations: 7.906 kB / 399.5 MB, free: 12.11 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002483/0.5221, allocations: 186.9 kB / 399.7 MB, free: 11.88 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.5222, allocations: 4 kB / 399.7 MB, free: 11.88 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.106e-05/0.5222, allocations: 0 / 399.7 MB, free: 11.88 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/0.5224, allocations: 67.34 kB / 399.8 MB, free: 11.8 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.5224, allocations: 4 kB / 399.8 MB, free: 11.8 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.5224, allocations: 3.984 kB / 399.8 MB, free: 11.79 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.5225, allocations: 0 / 399.8 MB, free: 11.79 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.345e-05/0.5225, allocations: 19.94 kB / 399.8 MB, free: 11.77 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005073/0.5231, allocations: 288.9 kB / 400.1 MB, free: 11.44 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001118/0.5232, allocations: 30.58 kB / 400.1 MB, free: 11.4 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.832e-05/0.5233, allocations: 20.94 kB / 400.1 MB, free: 11.38 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.23e-05/0.5233, allocations: 4 kB / 400.1 MB, free: 11.38 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/0.5233, allocations: 35.88 kB / 400.2 MB, free: 11.33 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.324e-06/0.5234, allocations: 0 / 400.2 MB, free: 11.33 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005986/0.524, allocations: 117.6 kB / 400.3 MB, free: 11.21 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.045e-05/0.524, allocations: 85.06 kB / 400.4 MB, free: 11.11 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/0.5242, allocations: 124.9 kB / 400.5 MB, free: 10.98 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.049e-05/0.5242, allocations: 25.7 kB / 400.5 MB, free: 10.95 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.439e-05/0.5243, allocations: 158.5 kB / 400.7 MB, free: 10.79 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.941e-05/0.5244, allocations: 15.81 kB / 400.7 MB, free: 10.78 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.763e-06/0.5244, allocations: 3.938 kB / 400.7 MB, free: 10.77 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.5245, allocations: 314.8 kB / 401 MB, free: 10.46 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.062e-05/0.5246, allocations: 16 kB / 401 MB, free: 10.44 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.606e-05/0.5247, allocations: 33.7 kB / 401 MB, free: 10.4 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.91e-05/0.5248, allocations: 49.73 kB / 401.1 MB, free: 10.35 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.5248, allocations: 0 / 401.1 MB, free: 10.35 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002315/0.525, allocations: 103.5 kB / 401.2 MB, free: 10.23 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.146e-05/0.5251, allocations: 33.7 kB / 401.2 MB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.5251, allocations: 0 / 401.2 MB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.5251, allocations: 3.984 kB / 401.2 MB, free: 10.19 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001723/0.5253, allocations: 23.98 kB / 401.2 MB, free: 10.17 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.834e-06/0.5253, allocations: 0 / 401.2 MB, free: 10.17 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.904e-05/0.5254, allocations: 15.95 kB / 401.3 MB, free: 10.15 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.084e-05/0.5255, allocations: 0 / 401.3 MB, free: 10.15 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 (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.322e-05/0.5256, allocations: 109 kB / 401.4 MB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.177e-05/0.5256, allocations: 7.906 kB / 401.4 MB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002692/0.5259, allocations: 90.22 kB / 401.5 MB, free: 9.938 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.5259, allocations: 0 / 401.5 MB, free: 9.938 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.5259, allocations: 3.938 kB / 401.5 MB, free: 9.934 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.5259, allocations: 0 / 401.5 MB, free: 9.934 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005252/0.5265, allocations: 354.4 kB / 401.8 MB, free: 9.531 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.5265, allocations: 0 / 401.8 MB, free: 9.531 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001311/0.5266, allocations: 12 kB / 401.8 MB, free: 9.52 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/0.5266, allocations: 0 / 401.8 MB, free: 9.52 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.5267, allocations: 3.984 kB / 401.8 MB, free: 9.516 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.5267, allocations: 3.938 kB / 401.8 MB, free: 9.512 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.79e-06/0.5267, allocations: 7.953 kB / 401.8 MB, free: 9.504 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002277/0.5269, allocations: 171.5 kB / 402 MB, free: 9.32 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.647e-05/0.527, allocations: 81.02 kB / 402.1 MB, free: 9.223 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.493e-05/0.527, allocations: 3.984 kB / 402.1 MB, free: 9.219 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001261/0.5272, allocations: 12 kB / 402.1 MB, free: 9.207 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.422e-05/0.5272, allocations: 3.984 kB / 402.1 MB, free: 9.203 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.686e-05/0.5273, allocations: 8.141 kB / 402.1 MB, free: 9.195 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.154e-05/0.5274, allocations: 100.1 kB / 402.2 MB, free: 9.098 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5274, allocations: 0 / 402.2 MB, free: 9.098 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003561/0.5277, allocations: 35.98 kB / 402.2 MB, free: 9.062 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 (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.001305/0.5291, allocations: 0.905 MB / 403.1 MB, free: 8.188 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002517/0.5293, allocations: 107.3 kB / 403.3 MB, free: 8.07 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.5294, allocations: 0 / 403.3 MB, free: 8.07 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.03e-05/0.5294, allocations: 23.94 kB / 403.3 MB, free: 8.047 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002536/0.5297, allocations: 11.98 kB / 403.3 MB, free: 8.035 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006263/0.5304, allocations: 180.4 kB / 403.5 MB, free: 7.812 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000285/0.5307, allocations: 0.7004 MB / 404.2 MB, free: 7.086 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.5308, allocations: 19.44 kB / 404.2 MB, free: 7.066 MB / 330.7 MB Notification: Performance of SimCode: time 1.223e-06/0.5308, allocations: 0 / 404.2 MB, free: 7.066 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_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: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/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