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 1.982/1.982, allocations: 209.4 MB / 216.9 MB, free: 6.66 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.227e-05/2.23e-05, allocations: 4 kB / 267.6 MB, free: 5.312 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.105, allocations: 48.7 MB / 316.3 MB, free: 4.516 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4197/0.5248, allocations: 75.47 MB / 391.8 MB, free: 0.8555 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002477/0.5251, allocations: 70.45 kB / 391.8 MB, free: 0.8164 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01634/0.5414, allocations: 3.836 MB / 395.7 MB, free: 13.62 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.5415, allocations: 0 / 395.7 MB, free: 13.62 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.128e-05/0.5415, allocations: 0 / 395.7 MB, free: 13.62 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.0005189/0.542, allocations: 410.7 kB / 396.1 MB, free: 13.17 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.5421, allocations: 8.031 kB / 396.1 MB, free: 13.16 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.002e-05/0.5421, allocations: 7.906 kB / 396.1 MB, free: 13.16 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000272/0.5424, allocations: 204.9 kB / 396.3 MB, free: 12.92 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.5425, allocations: 0 / 396.3 MB, free: 12.92 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.486e-05/0.5425, allocations: 8 kB / 396.3 MB, free: 12.91 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.6e-05/0.5426, allocations: 18.42 kB / 396.3 MB, free: 12.9 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001271/0.5427, allocations: 61.34 kB / 396.4 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.5428, allocations: 0 / 396.4 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.607e-05/0.5428, allocations: 3.984 kB / 396.4 MB, free: 12.83 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.5428, allocations: 7.938 kB / 396.4 MB, free: 12.82 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000412/0.5432, allocations: 257.7 kB / 396.7 MB, free: 12.55 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.457e-05/0.5433, allocations: 37.14 kB / 396.7 MB, free: 12.51 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.789e-05/0.5434, allocations: 11.77 kB / 396.7 MB, free: 12.5 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.992e-05/0.5434, allocations: 11.97 kB / 396.7 MB, free: 12.49 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001419/0.5436, allocations: 58.28 kB / 396.8 MB, free: 12.43 MB / 330.7 MB Notification: Performance of pre-optimization done (n=5): time 1.893e-06/0.5436, allocations: 0 / 396.8 MB, free: 12.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004569/0.5441, allocations: 106.9 kB / 396.9 MB, free: 12.33 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.084e-05/0.5441, allocations: 81.11 kB / 397 MB, free: 12.23 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000147/0.5443, allocations: 133.8 kB / 397.1 MB, free: 12.11 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.228e-05/0.5443, allocations: 25.7 kB / 397.1 MB, free: 12.08 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.771e-05/0.5444, allocations: 152.9 kB / 397.3 MB, free: 11.93 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.135e-05/0.5444, allocations: 18.17 kB / 397.3 MB, free: 11.91 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.243e-06/0.5445, allocations: 3.938 kB / 397.3 MB, free: 11.91 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.5446, allocations: 322.5 kB / 397.6 MB, free: 11.59 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.78e-05/0.5447, allocations: 14.81 kB / 397.6 MB, free: 11.58 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.077e-05/0.5448, allocations: 40.45 kB / 397.6 MB, free: 11.54 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.351e-05/0.5448, allocations: 23.44 kB / 397.7 MB, free: 11.53 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.5448, allocations: 0 / 397.7 MB, free: 11.53 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002244/0.5451, allocations: 94.14 kB / 397.8 MB, free: 11.45 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.398e-05/0.5451, allocations: 33.7 kB / 397.8 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.5452, allocations: 0 / 397.8 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.5452, allocations: 0 / 397.8 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.5453, allocations: 11.98 kB / 397.8 MB, free: 11.39 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.5453, allocations: 4.156 kB / 397.8 MB, free: 11.39 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.104e-05/0.5454, allocations: 32 / 397.8 MB, free: 11.39 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.105e-05/0.5454, allocations: 8 kB / 397.8 MB, free: 11.38 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 9.515e-05/0.5455, allocations: 123.1 kB / 397.9 MB, free: 11.26 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001719/0.5457, allocations: 80.39 kB / 398 MB, free: 11.18 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.325e-05/0.5457, allocations: 7.906 kB / 398 MB, free: 11.18 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002538/0.546, allocations: 91.41 kB / 398.1 MB, free: 11.1 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.546, allocations: 0 / 398.1 MB, free: 11.1 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.546, allocations: 4 kB / 398.1 MB, free: 11.09 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/0.5461, allocations: 3.953 kB / 398.1 MB, free: 11.09 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004059/0.5465, allocations: 327.8 kB / 398.4 MB, free: 10.75 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.5465, allocations: 3.984 kB / 398.4 MB, free: 10.75 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.648e-05/0.5466, allocations: 8 kB / 398.5 MB, free: 10.74 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.5466, allocations: 0 / 398.5 MB, free: 10.74 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.5466, allocations: 0 / 398.5 MB, free: 10.74 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.175e-06/0.5466, allocations: 4 kB / 398.5 MB, free: 10.73 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.5466, allocations: 3.953 kB / 398.5 MB, free: 10.73 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002314/0.5469, allocations: 176.6 kB / 398.6 MB, free: 10.55 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.585e-05/0.5469, allocations: 81.02 kB / 398.7 MB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.905e-05/0.547, allocations: 4 kB / 398.7 MB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.784e-05/0.5471, allocations: 3.984 kB / 398.7 MB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.383e-05/0.5472, allocations: 7.953 kB / 398.7 MB, free: 10.44 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.465e-05/0.5472, allocations: 11.81 kB / 398.7 MB, free: 10.43 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.274e-05/0.5473, allocations: 97.89 kB / 398.8 MB, free: 10.34 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.5473, allocations: 0 / 398.8 MB, free: 10.34 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004475/0.5478, allocations: 51.3 kB / 398.9 MB, free: 10.3 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.001443/0.5492, allocations: 0.9832 MB / 399.9 MB, free: 9.344 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002297/0.5495, allocations: 108.5 kB / 400 MB, free: 9.242 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.5495, allocations: 0 / 400 MB, free: 9.242 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.261e-05/0.5496, allocations: 19.38 kB / 400 MB, free: 9.227 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003129/0.5499, allocations: 22.41 kB / 400 MB, free: 9.211 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005968/0.5505, allocations: 200.7 kB / 400.2 MB, free: 8.984 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002985/0.5508, allocations: 0.7002 MB / 400.9 MB, free: 8.258 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.045e-05/0.5509, allocations: 21.88 kB / 400.9 MB, free: 8.242 MB / 330.7 MB Notification: Performance of SimCode: time 9.12e-07/0.5509, allocations: 3.938 kB / 400.9 MB, free: 8.238 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_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/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_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/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_CombiTimeTable_Test66_usertabCalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test66_usertabCalcHelperMain.o] Error 1