Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.158/2.158, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.038e-05/4.045e-05, allocations: 4 kB / 273.2 MB, free: 0.6406 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.116, allocations: 48.71 MB / 321.9 MB, free: 15.83 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4459/0.562, allocations: 75.88 MB / 397.7 MB, free: 14.04 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003345/0.5625, allocations: 71.95 kB / 397.8 MB, free: 13.96 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02291/0.5854, allocations: 3.862 MB / 401.7 MB, free: 10.11 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.5854, allocations: 0 / 401.7 MB, free: 10.11 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.477e-05/0.5855, allocations: 0 / 401.7 MB, free: 10.11 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006952/0.5862, allocations: 408 kB / 402.1 MB, free: 9.66 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.826e-05/0.5863, allocations: 12.02 kB / 402.1 MB, free: 9.648 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.744e-05/0.5864, allocations: 38.56 kB / 402.1 MB, free: 9.602 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.91e-05/0.5864, allocations: 7.906 kB / 402.1 MB, free: 9.594 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003749/0.5868, allocations: 202.8 kB / 402.3 MB, free: 9.355 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.923e-05/0.5869, allocations: 4 kB / 402.3 MB, free: 9.352 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.83e-05/0.5869, allocations: 0 / 402.3 MB, free: 9.352 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002199/0.5871, allocations: 71.8 kB / 402.4 MB, free: 9.27 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.5872, allocations: 0 / 402.4 MB, free: 9.27 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.682e-05/0.5872, allocations: 0 / 402.4 MB, free: 9.27 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.5872, allocations: 7.984 kB / 402.4 MB, free: 9.262 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001035/0.5873, allocations: 16 kB / 402.4 MB, free: 9.246 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006533/0.588, allocations: 288.9 kB / 402.7 MB, free: 8.914 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001407/0.5882, allocations: 30.58 kB / 402.7 MB, free: 8.875 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.689e-05/0.5883, allocations: 20.94 kB / 402.8 MB, free: 8.852 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.375e-05/0.5883, allocations: 0 / 402.8 MB, free: 8.852 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002336/0.5886, allocations: 67.34 kB / 402.8 MB, free: 8.773 MB / 330.7 MB Notification: Performance of pre-optimization done (n=5): time 2.595e-06/0.5886, allocations: 0 / 402.8 MB, free: 8.773 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0007136/0.5893, allocations: 113.5 kB / 402.9 MB, free: 8.656 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001085/0.5895, allocations: 81.11 kB / 403 MB, free: 8.559 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002896/0.5898, allocations: 128.9 kB / 403.1 MB, free: 8.426 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.277e-05/0.5898, allocations: 29.7 kB / 403.2 MB, free: 8.391 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001416/0.59, allocations: 154.6 kB / 403.3 MB, free: 8.238 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.238e-05/0.5901, allocations: 19.8 kB / 403.3 MB, free: 8.219 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.093e-05/0.5901, allocations: 4 kB / 403.3 MB, free: 8.215 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002528/0.5903, allocations: 322.8 kB / 403.7 MB, free: 7.891 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001058/0.5905, allocations: 16 kB / 403.7 MB, free: 7.875 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000142/0.5906, allocations: 41.7 kB / 403.7 MB, free: 7.828 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001514/0.5908, allocations: 57.66 kB / 403.8 MB, free: 7.766 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.5908, allocations: 0 / 403.8 MB, free: 7.766 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000429/0.5913, allocations: 123.3 kB / 403.9 MB, free: 7.633 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.63e-05/0.5913, allocations: 33.69 kB / 403.9 MB, free: 7.594 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.498e-05/0.5914, allocations: 12.03 kB / 403.9 MB, free: 7.582 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.5914, allocations: 0 / 403.9 MB, free: 7.582 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001556/0.5916, allocations: 8 kB / 404 MB, free: 7.574 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.366e-05/0.5916, allocations: 3.953 kB / 404 MB, free: 7.57 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001214/0.5917, allocations: 4 kB / 404 MB, free: 7.566 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.435e-05/0.5918, allocations: 7.984 kB / 404 MB, free: 7.559 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: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * 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 0.0001419/0.5919, allocations: 109 kB / 404.1 MB, free: 7.445 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.755e-05/0.592, allocations: 3.906 kB / 404.1 MB, free: 7.441 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004647/0.5925, allocations: 106.2 kB / 404.2 MB, free: 7.332 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.115e-05/0.5925, allocations: 4 kB / 404.2 MB, free: 7.328 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.5925, allocations: 0 / 404.2 MB, free: 7.328 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.092e-05/0.5926, allocations: 7.938 kB / 404.2 MB, free: 7.32 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007072/0.5933, allocations: 346.6 kB / 404.5 MB, free: 6.926 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.5933, allocations: 0 / 404.5 MB, free: 6.926 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000118/0.5934, allocations: 11.94 kB / 404.5 MB, free: 6.914 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.965e-06/0.5935, allocations: 0 / 404.5 MB, free: 6.914 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.053e-05/0.5935, allocations: 3.984 kB / 404.5 MB, free: 6.91 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.697e-06/0.5935, allocations: 11.95 kB / 404.6 MB, free: 6.898 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.5935, allocations: 0 / 404.6 MB, free: 6.898 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003646/0.5939, allocations: 171.8 kB / 404.7 MB, free: 6.715 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.838e-05/0.594, allocations: 89 kB / 404.8 MB, free: 6.609 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.699e-05/0.5941, allocations: 4 kB / 404.8 MB, free: 6.605 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001723/0.5943, allocations: 4 kB / 404.8 MB, free: 6.602 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.489e-05/0.5944, allocations: 11.94 kB / 404.8 MB, free: 6.59 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.5944, allocations: 0 / 404.8 MB, free: 6.59 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001685/0.5946, allocations: 112.5 kB / 404.9 MB, free: 6.48 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.5946, allocations: 0 / 404.9 MB, free: 6.48 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007437/0.5953, allocations: 51.81 kB / 405 MB, free: 6.43 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: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.002569/0.5979, allocations: 1.037 MB / 406 MB, free: 5.438 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004369/0.5984, allocations: 115.3 kB / 406.1 MB, free: 5.312 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.5985, allocations: 0 / 406.1 MB, free: 5.312 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001083/0.5986, allocations: 20 kB / 406.2 MB, free: 5.293 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004917/0.5991, allocations: 19.94 kB / 406.2 MB, free: 5.273 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009778/0.6001, allocations: 205.5 kB / 406.4 MB, free: 5.027 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004721/0.6006, allocations: 0.6926 MB / 407.1 MB, free: 4.309 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001444/0.6008, allocations: 35.3 kB / 407.1 MB, free: 4.273 MB / 330.7 MB Notification: Performance of SimCode: time 1.303e-06/0.6008, allocations: 0 / 407.1 MB, free: 4.273 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_CombiTimeTable_Test66_usertabCalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test66_usertabCalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test66_usertabCalcHelperMain.cpp:28: In file included from ./OMCppModelicaTest_3_2_1_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.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_CombiTimeTable_Test66_usertabCalcHelperMain.cpp:28: ./OMCppModelicaTest_3_2_1_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_1_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_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test66_usertabCalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_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) { ^ 5 warnings and 1 error generated. : recipe for target 'OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test66_usertabCalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test66_usertabCalcHelperMain.o] Error 1