Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test25_usertab,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.296/2.296, allocations: 235 MB / 247.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.266e-05/4.306e-05, allocations: 8 kB / 305 MB, free: 5.566 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4848/0.4848, allocations: 54.85 MB / 359.9 MB, free: 2.336 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2058/0.6907, allocations: 81 MB / 440.9 MB, free: 15.88 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002629/0.691, allocations: 67.97 kB / 440.9 MB, free: 15.82 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01191/0.703, allocations: 2.774 MB / 443.7 MB, free: 13.07 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.559e-06/0.703, allocations: 0 / 443.7 MB, free: 13.07 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.433e-05/0.703, allocations: 7.938 kB / 443.7 MB, free: 13.06 MB / 378.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.0004785/0.7035, allocations: 384.6 kB / 444.1 MB, free: 12.63 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.7036, allocations: 8.031 kB / 444.1 MB, free: 12.62 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.551e-05/0.7036, allocations: 42.55 kB / 444.1 MB, free: 12.57 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.733e-05/0.7037, allocations: 11.86 kB / 444.1 MB, free: 12.56 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002691/0.704, allocations: 186.9 kB / 444.3 MB, free: 12.34 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.704, allocations: 0 / 444.3 MB, free: 12.34 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.817e-05/0.704, allocations: 4 kB / 444.3 MB, free: 12.34 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000166/0.7042, allocations: 67.33 kB / 444.4 MB, free: 12.26 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.7042, allocations: 0 / 444.4 MB, free: 12.26 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.7043, allocations: 6.625 kB / 444.4 MB, free: 12.25 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.7043, allocations: 11.95 kB / 444.4 MB, free: 12.24 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.932e-05/0.7044, allocations: 16 kB / 444.4 MB, free: 12.23 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004906/0.7049, allocations: 277 kB / 444.7 MB, free: 11.91 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001002/0.705, allocations: 38.52 kB / 444.7 MB, free: 11.86 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.496e-05/0.7051, allocations: 16.94 kB / 444.8 MB, free: 11.84 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.985e-05/0.7051, allocations: 4 kB / 444.8 MB, free: 11.84 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/0.7051, allocations: 38.52 kB / 444.8 MB, free: 11.79 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.994e-06/0.7052, allocations: 0 / 444.8 MB, free: 11.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=6): time 0.000545/0.7057, allocations: 118.5 kB / 444.9 MB, free: 11.67 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.314e-05/0.7058, allocations: 77.11 kB / 445 MB, free: 11.57 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.7059, allocations: 117.5 kB / 445.1 MB, free: 11.45 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2e-05/0.706, allocations: 25.7 kB / 445.1 MB, free: 11.42 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.25e-05/0.7061, allocations: 166.5 kB / 445.3 MB, free: 11.26 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.822e-05/0.7061, allocations: 15.8 kB / 445.3 MB, free: 11.24 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.244e-06/0.7061, allocations: 0 / 445.3 MB, free: 11.24 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.7063, allocations: 314.8 kB / 445.6 MB, free: 10.93 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.874e-05/0.7063, allocations: 19.94 kB / 445.6 MB, free: 10.91 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.244e-05/0.7064, allocations: 29.7 kB / 445.7 MB, free: 10.87 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.646e-05/0.7065, allocations: 47.89 kB / 445.7 MB, free: 10.82 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.7065, allocations: 0 / 445.7 MB, free: 10.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002298/0.7068, allocations: 111.4 kB / 445.8 MB, free: 10.7 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.176e-05/0.7068, allocations: 43.31 kB / 445.9 MB, free: 10.65 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.7068, allocations: 0 / 445.9 MB, free: 10.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.7069, allocations: 0 / 445.9 MB, free: 10.65 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001528/0.707, allocations: 15.98 kB / 445.9 MB, free: 10.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/0.7071, allocations: 4 kB / 445.9 MB, free: 10.63 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.944e-05/0.7071, allocations: 7.906 kB / 445.9 MB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.893e-05/0.7072, allocations: 1.031 kB / 445.9 MB, free: 10.62 MB / 378.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 9.007e-05/0.7073, allocations: 117 kB / 446 MB, free: 10.5 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.798e-05/0.7073, allocations: 4 kB / 446 MB, free: 10.5 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002607/0.7076, allocations: 96.06 kB / 446.1 MB, free: 10.4 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.7076, allocations: 0 / 446.1 MB, free: 10.4 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.7076, allocations: 0 / 446.1 MB, free: 10.4 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.7076, allocations: 0 / 446.1 MB, free: 10.4 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005321/0.7082, allocations: 342.5 kB / 446.4 MB, free: 10.01 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/0.7082, allocations: 6.953 kB / 446.4 MB, free: 10.01 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001244/0.7083, allocations: 16 kB / 446.5 MB, free: 9.992 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.384e-06/0.7084, allocations: 3.984 kB / 446.5 MB, free: 9.988 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.7084, allocations: 0.6562 kB / 446.5 MB, free: 9.988 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.7084, allocations: 4 kB / 446.5 MB, free: 9.984 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.7084, allocations: 0 / 446.5 MB, free: 9.984 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002286/0.7086, allocations: 167.5 kB / 446.6 MB, free: 9.805 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.965e-05/0.7087, allocations: 88.95 kB / 446.7 MB, free: 9.699 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.436e-05/0.7088, allocations: 8 kB / 446.7 MB, free: 9.691 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001168/0.7089, allocations: 8 kB / 446.7 MB, free: 9.684 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.553e-05/0.7089, allocations: 9.016 kB / 446.7 MB, free: 9.676 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.709, allocations: 0 / 446.7 MB, free: 9.676 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.826e-05/0.7091, allocations: 93.03 kB / 446.8 MB, free: 9.586 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.555e-06/0.7091, allocations: 0 / 446.8 MB, free: 9.586 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003646/0.7094, allocations: 35.92 kB / 446.9 MB, free: 9.551 MB / 378.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.001494/0.711, allocations: 0.9724 MB / 447.8 MB, free: 8.629 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002339/0.7112, allocations: 103.4 kB / 447.9 MB, free: 8.516 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.7112, allocations: 0 / 447.9 MB, free: 8.516 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.777e-05/0.7113, allocations: 27.92 kB / 448 MB, free: 8.488 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002422/0.7116, allocations: 7.047 kB / 448 MB, free: 8.484 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006265/0.7122, allocations: 189.6 kB / 448.2 MB, free: 8.254 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003213/0.7125, allocations: 0.6965 MB / 448.9 MB, free: 7.531 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.807e-05/0.7126, allocations: 23.42 kB / 448.9 MB, free: 7.508 MB / 378.7 MB Notification: Performance of SimCode: time 7.01e-07/0.7127, allocations: 0 / 448.9 MB, free: 7.508 MB / 378.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.2/Resources/Data/Tables" -DUSE_LOGGER -c -o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test25_usertabCalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test25_usertabCalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test25_usertabCalcHelperMain.cpp:28: In file included from ./OMCppModelicaTest_3_2_2_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.2/Resources/Data/Tables/usertab.c:14: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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.2/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.2/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.2/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_2_cpp_ModelicaTest_Tables_CombiTable1D_Test25_usertabCalcHelperMain.cpp:28: ./OMCppModelicaTest_3_2_2_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_2_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_2_cpp_ModelicaTest_Tables_CombiTable1D_Test25_usertabCalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_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_2_cpp_ModelicaTest_Tables_CombiTable1D_Test25_usertabCalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test25_usertabCalcHelperMain.o] Error 1