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.924/1.924, allocations: 209.4 MB / 216.9 MB, free: 6.672 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.813e-05/1.812e-05, allocations: 4 kB / 267.6 MB, free: 5.324 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1021, allocations: 48.71 MB / 316.3 MB, free: 4.516 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4/0.5022, allocations: 74.13 MB / 390.4 MB, free: 2.164 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002494/0.5026, allocations: 74.33 kB / 390.5 MB, free: 2.125 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0116/0.5142, allocations: 2.761 MB / 393.3 MB, free: 15.79 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.5142, allocations: 0 / 393.3 MB, free: 15.79 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.524e-05/0.5143, allocations: 0 / 393.3 MB, free: 15.79 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.000487/0.5148, allocations: 398.8 kB / 393.7 MB, free: 15.36 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/0.5148, allocations: 12.03 kB / 393.7 MB, free: 15.35 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.324e-05/0.5149, allocations: 3.984 kB / 393.7 MB, free: 15.34 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002636/0.5151, allocations: 198.2 kB / 393.9 MB, free: 15.11 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.5152, allocations: 0 / 393.9 MB, free: 15.11 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.887e-05/0.5152, allocations: 4 kB / 393.9 MB, free: 15.11 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001214/0.5153, allocations: 22.61 kB / 393.9 MB, free: 15.09 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/0.5155, allocations: 66.16 kB / 394 MB, free: 15.02 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.5155, allocations: 7.047 kB / 394 MB, free: 15.02 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.5155, allocations: 0 / 394 MB, free: 15.02 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.5156, allocations: 0 / 394 MB, free: 15.02 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004179/0.516, allocations: 263.7 kB / 394.2 MB, free: 14.74 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001301/0.5161, allocations: 52.06 kB / 394.3 MB, free: 14.69 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.897e-05/0.5162, allocations: 23.3 kB / 394.3 MB, free: 14.67 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.267e-05/0.5162, allocations: 3.984 kB / 394.3 MB, free: 14.67 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.5163, allocations: 34.5 kB / 394.3 MB, free: 14.62 MB / 330.7 MB Notification: Performance of pre-optimization done (n=5): time 2.134e-06/0.5163, allocations: 0 / 394.3 MB, free: 14.62 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.000559/0.5169, allocations: 127.6 kB / 394.5 MB, free: 14.51 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.749e-05/0.5169, allocations: 81.11 kB / 394.5 MB, free: 14.41 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.5171, allocations: 118.7 kB / 394.7 MB, free: 14.3 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.179e-05/0.5171, allocations: 25.7 kB / 394.7 MB, free: 14.27 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.211e-05/0.5172, allocations: 157.7 kB / 394.8 MB, free: 14.12 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.308e-05/0.5172, allocations: 19.47 kB / 394.9 MB, free: 14.1 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.184e-06/0.5173, allocations: 0 / 394.9 MB, free: 14.1 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.5174, allocations: 318.8 kB / 395.2 MB, free: 13.78 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.825e-05/0.5175, allocations: 20.88 kB / 395.2 MB, free: 13.77 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.799e-05/0.5176, allocations: 28.34 kB / 395.2 MB, free: 13.74 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.878e-05/0.5176, allocations: 22.2 kB / 395.2 MB, free: 13.73 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.5177, allocations: 0 / 395.2 MB, free: 13.73 MB / 330.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001986/0.5179, allocations: 78.48 kB / 395.3 MB, free: 13.66 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.492e-05/0.5179, allocations: 33.7 kB / 395.3 MB, free: 13.62 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.5179, allocations: 0 / 395.3 MB, free: 13.62 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.518, allocations: 0 / 395.3 MB, free: 13.62 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001671/0.5181, allocations: 19.98 kB / 395.4 MB, free: 13.6 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.5182, allocations: 4.062 kB / 395.4 MB, free: 13.59 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.483e-05/0.5183, allocations: 11.98 kB / 395.4 MB, free: 13.58 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.61e-05/0.5183, allocations: 6.875 kB / 395.4 MB, free: 13.58 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.258e-05/0.5184, allocations: 104.9 kB / 395.5 MB, free: 13.47 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001846/0.5186, allocations: 79.08 kB / 395.6 MB, free: 13.39 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.052e-05/0.5186, allocations: 7.906 kB / 395.6 MB, free: 13.39 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002504/0.5189, allocations: 90.55 kB / 395.7 MB, free: 13.31 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.5189, allocations: 7.984 kB / 395.7 MB, free: 13.3 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.5189, allocations: 3.984 kB / 395.7 MB, free: 13.3 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.5189, allocations: 4 kB / 395.7 MB, free: 13.3 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004788/0.5194, allocations: 329.9 kB / 396 MB, free: 12.96 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.5195, allocations: 3.938 kB / 396 MB, free: 12.95 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000136/0.5196, allocations: 15.98 kB / 396 MB, free: 12.94 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.5196, allocations: 4 kB / 396 MB, free: 12.93 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.5196, allocations: 0 / 396 MB, free: 12.93 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.5197, allocations: 0 / 396 MB, free: 12.93 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.5197, allocations: 0 / 396 MB, free: 12.93 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002184/0.5199, allocations: 176.3 kB / 396.2 MB, free: 12.76 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.455e-05/0.52, allocations: 84.95 kB / 396.3 MB, free: 12.66 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.513e-05/0.52, allocations: 0 / 396.3 MB, free: 12.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.5201, allocations: 15.92 kB / 396.3 MB, free: 12.64 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.419e-05/0.5202, allocations: 0 / 396.3 MB, free: 12.64 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.93e-05/0.5202, allocations: 11.48 kB / 396.3 MB, free: 12.63 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.297e-05/0.5203, allocations: 102.4 kB / 396.4 MB, free: 12.54 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5203, allocations: 4 kB / 396.4 MB, free: 12.54 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004081/0.5207, allocations: 27.98 kB / 396.4 MB, free: 12.51 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.001179/0.5219, allocations: 0.8873 MB / 397.3 MB, free: 11.66 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002214/0.5222, allocations: 100.1 kB / 397.4 MB, free: 11.56 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.5222, allocations: 0 / 397.4 MB, free: 11.56 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.892e-05/0.5223, allocations: 26.69 kB / 397.5 MB, free: 11.54 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002803/0.5226, allocations: 19.08 kB / 397.5 MB, free: 11.52 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006017/0.5232, allocations: 185.3 kB / 397.7 MB, free: 11.31 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002905/0.5235, allocations: 0.6963 MB / 398.3 MB, free: 10.59 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.884e-05/0.5236, allocations: 29.92 kB / 398.4 MB, free: 10.57 MB / 330.7 MB Notification: Performance of SimCode: time 1.112e-06/0.5236, allocations: 0 / 398.4 MB, free: 10.57 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=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_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/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_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/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_CombiTable1Ds_Test25_usertabCalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test25_usertabCalcHelperMain.o] Error 1