Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.521/2.521, allocations: 235 MB / 247.6 MB, free: 14.56 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.27e-05/4.272e-05, allocations: 4 kB / 305 MB, free: 5.766 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.426/0.4261, allocations: 54.85 MB / 359.9 MB, free: 2.234 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1574/0.5836, allocations: 82.16 MB / 442 MB, free: 14.77 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002906/0.584, allocations: 67.97 kB / 442.1 MB, free: 14.7 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmin. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.0197/0.6037, allocations: 4.357 MB / 446.4 MB, free: 10.37 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.6037, allocations: 0 / 446.4 MB, free: 10.37 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.598e-05/0.6037, allocations: 4 kB / 446.5 MB, free: 10.37 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006048/0.6044, allocations: 461.4 kB / 446.9 MB, free: 9.859 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/0.6044, allocations: 12.03 kB / 446.9 MB, free: 9.848 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.739e-05/0.6045, allocations: 30.56 kB / 446.9 MB, free: 9.809 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.168e-05/0.6045, allocations: 11.91 kB / 447 MB, free: 9.797 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003607/0.6049, allocations: 200.7 kB / 447.2 MB, free: 9.562 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.052e-05/0.6049, allocations: 4 kB / 447.2 MB, free: 9.559 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.408e-05/0.605, allocations: 8 kB / 447.2 MB, free: 9.551 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001915/0.6052, allocations: 71.33 kB / 447.2 MB, free: 9.469 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.6052, allocations: 3.906 kB / 447.2 MB, free: 9.465 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.772e-05/0.6053, allocations: 3.953 kB / 447.2 MB, free: 9.461 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.6053, allocations: 0 / 447.2 MB, free: 9.461 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001049/0.6054, allocations: 27.98 kB / 447.3 MB, free: 9.434 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004913/0.6059, allocations: 304.8 kB / 447.6 MB, free: 9.086 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001738/0.6061, allocations: 58.5 kB / 447.6 MB, free: 9.02 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.843e-05/0.6062, allocations: 20.98 kB / 447.6 MB, free: 8.996 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.008e-05/0.6062, allocations: 3.953 kB / 447.6 MB, free: 8.992 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001699/0.6064, allocations: 67.47 kB / 447.7 MB, free: 8.914 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 2.114e-06/0.6064, allocations: 4 kB / 447.7 MB, free: 8.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006535/0.6071, allocations: 167.2 kB / 447.9 MB, free: 8.742 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.659e-05/0.6071, allocations: 77.11 kB / 448 MB, free: 8.648 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001803/0.6073, allocations: 139 kB / 448.1 MB, free: 8.504 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.666e-05/0.6074, allocations: 29.7 kB / 448.1 MB, free: 8.469 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.88e-05/0.6075, allocations: 162.5 kB / 448.3 MB, free: 8.309 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.202e-05/0.6075, allocations: 23.66 kB / 448.3 MB, free: 8.285 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.255e-05/0.6075, allocations: 6.625 kB / 448.3 MB, free: 8.281 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.6077, allocations: 322.8 kB / 448.6 MB, free: 7.957 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001048/0.6078, allocations: 35.94 kB / 448.7 MB, free: 7.922 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001246/0.6079, allocations: 59.34 kB / 448.7 MB, free: 7.855 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001371/0.6081, allocations: 61.69 kB / 448.8 MB, free: 7.789 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.6081, allocations: 3.953 kB / 448.8 MB, free: 7.785 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003555/0.6085, allocations: 159.3 kB / 448.9 MB, free: 7.617 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.832e-05/0.6085, allocations: 37.69 kB / 449 MB, free: 7.574 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.6085, allocations: 4.062 kB / 449 MB, free: 7.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.6086, allocations: 7.938 kB / 449 MB, free: 7.562 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001614/0.6087, allocations: 16 kB / 449 MB, free: 7.547 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.6088, allocations: 0 / 449 MB, free: 7.547 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.599e-05/0.6089, allocations: 7.984 kB / 449 MB, free: 7.539 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.708e-05/0.6089, allocations: 8 kB / 449 MB, free: 7.531 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 11 * 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.94e-05/0.609, allocations: 109.5 kB / 449.1 MB, free: 7.418 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.345e-05/0.6091, allocations: 15.86 kB / 449.1 MB, free: 7.402 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003416/0.6094, allocations: 118.5 kB / 449.3 MB, free: 7.281 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.6094, allocations: 4 kB / 449.3 MB, free: 7.277 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.6094, allocations: 0 / 449.3 MB, free: 7.277 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.6095, allocations: 0 / 449.3 MB, free: 7.277 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006284/0.6101, allocations: 420.1 kB / 449.7 MB, free: 6.809 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.6101, allocations: 0 / 449.7 MB, free: 6.809 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.78e-05/0.6102, allocations: 11.98 kB / 449.7 MB, free: 6.797 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.694e-06/0.6102, allocations: 4 kB / 449.7 MB, free: 6.793 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.6103, allocations: 4.031 kB / 449.7 MB, free: 6.789 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.6103, allocations: 0 / 449.7 MB, free: 6.789 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/0.6103, allocations: 8.641 kB / 449.7 MB, free: 6.781 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003208/0.6106, allocations: 226.9 kB / 449.9 MB, free: 6.535 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.19e-05/0.6107, allocations: 101 kB / 450 MB, free: 6.418 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.228e-05/0.6108, allocations: 0 / 450 MB, free: 6.418 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.6109, allocations: 8 kB / 450 MB, free: 6.41 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.234e-05/0.611, allocations: 11.98 kB / 450 MB, free: 6.398 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.638e-05/0.611, allocations: 4 kB / 450 MB, free: 6.395 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001239/0.6111, allocations: 118.5 kB / 450.2 MB, free: 6.281 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.6112, allocations: 0 / 450.2 MB, free: 6.281 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004576/0.6116, allocations: 55.86 kB / 450.2 MB, free: 6.227 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002087/0.6137, allocations: 1.218 MB / 451.4 MB, free: 5.062 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003731/0.6141, allocations: 151.3 kB / 451.6 MB, free: 4.902 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.6142, allocations: 4.062 kB / 451.6 MB, free: 4.898 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001072/0.6143, allocations: 35.98 kB / 451.6 MB, free: 4.863 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003823/0.6147, allocations: 30.86 kB / 451.6 MB, free: 4.836 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007764/0.6155, allocations: 219.1 kB / 451.9 MB, free: 4.574 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003778/0.6159, allocations: 0.7004 MB / 452.6 MB, free: 3.848 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.616, allocations: 31.48 kB / 452.6 MB, free: 3.82 MB / 378.7 MB Notification: Performance of SimCode: time 1.132e-06/0.616, allocations: 384 / 452.6 MB, free: 3.82 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_CombiTimeTable_Test66_usertabCalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test66_usertabCalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test66_usertabCalcHelperMain.cpp:28: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test66_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_CombiTimeTable_Test66_usertabCalcHelperMain.cpp:28: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test66_usertabFunctions.cpp:364:18: error: no matching function for call to 'mydummyfunc' dummy_y__ext = mydummyfunc(ConstArray(dummy_u_).getData()); ^~~~~~~~~~~ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test66_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_CombiTimeTable_Test66_usertabCalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test66_usertabInitialize.cpp:312:39: warning: magnitude of floating-point constant too large for type 'double'; maximum is 1.7976931348623157E+308 [-Wliteral-range] if (_t_new_P_nextTimeEventScaled_ < 1.797693134862316e+308) { ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test66_usertabInitialize.cpp:315:13: warning: magnitude of floating-point constant too large for type 'double'; maximum is 1.7976931348623157E+308 [-Wliteral-range] tmp19 = 1.797693134862316e+308; ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test66_usertabCalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test66_usertab.cpp:208:41: warning: magnitude of floating-point constant too large for type 'double'; maximum is 1.7976931348623157E+308 [-Wliteral-range] if (_t_new_P_nextTimeEventScaled_ < 1.797693134862316e+308) { ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test66_usertab.cpp:211:14: warning: magnitude of floating-point constant too large for type 'double'; maximum is 1.7976931348623157E+308 [-Wliteral-range] tmp1 = 1.797693134862316e+308; ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test66_usertabCalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test66_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) { ^ 9 warnings and 1 error generated. : recipe for target 'OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test66_usertabCalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test66_usertabCalcHelperMain.o] Error 1