Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test86,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.5/2.5, allocations: 270 MB / 282.6 MB, free: 1.871 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.83e-05/4.848e-05, allocations: 8 kB / 347.1 MB, free: 3.133 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4321/0.4322, allocations: 61.87 MB / 408.9 MB, free: 10.76 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1678/0.6, allocations: 89.05 MB / 498 MB, free: 1.594 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000244/0.6003, allocations: 71.97 kB / 498.1 MB, free: 1.523 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02379/0.6241, allocations: 5.299 MB / 0.4916 GB, free: 12.21 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.6242, allocations: 0 / 0.4916 GB, free: 12.21 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.802e-05/0.6242, allocations: 7.984 kB / 0.4916 GB, free: 12.21 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005483/0.6247, allocations: 386.2 kB / 0.4919 GB, free: 11.79 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/0.6248, allocations: 12.03 kB / 0.4919 GB, free: 11.77 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.289e-05/0.6249, allocations: 30.56 kB / 0.492 GB, free: 11.73 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.327e-05/0.6249, allocations: 7.906 kB / 0.492 GB, free: 11.73 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003784/0.6253, allocations: 211.8 kB / 0.4922 GB, free: 11.48 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.6253, allocations: 0 / 0.4922 GB, free: 11.48 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.634e-05/0.6254, allocations: 11.95 kB / 0.4922 GB, free: 11.47 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001677/0.6256, allocations: 49.61 kB / 0.4922 GB, free: 11.41 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.6256, allocations: 0 / 0.4922 GB, free: 11.41 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.6256, allocations: 0 / 0.4922 GB, free: 11.41 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.6256, allocations: 0 / 0.4922 GB, free: 11.41 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.311e-05/0.6257, allocations: 16 kB / 0.4923 GB, free: 11.4 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000246/0.626, allocations: 181.6 kB / 0.4924 GB, free: 11.17 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001498/0.6261, allocations: 50.62 kB / 0.4925 GB, free: 11.11 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.022e-05/0.6262, allocations: 20.94 kB / 0.4925 GB, free: 11.09 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/0.6262, allocations: 3.953 kB / 0.4925 GB, free: 11.09 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001685/0.6264, allocations: 67.33 kB / 0.4926 GB, free: 11.01 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 5.26e-06/0.6264, allocations: 0 / 0.4926 GB, free: 11.01 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002725/0.6267, allocations: 89.52 kB / 0.4926 GB, free: 10.91 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/0.6268, allocations: 51.41 kB / 0.4927 GB, free: 10.85 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000252/0.627, allocations: 168.9 kB / 0.4929 GB, free: 10.68 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.6271, allocations: 29.7 kB / 0.4929 GB, free: 10.65 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.303e-05/0.6271, allocations: 162.6 kB / 0.493 GB, free: 10.49 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.545e-05/0.6272, allocations: 19.73 kB / 0.4931 GB, free: 10.47 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.025e-06/0.6272, allocations: 4 kB / 0.4931 GB, free: 10.46 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.6273, allocations: 310.8 kB / 0.4934 GB, free: 10.15 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.084e-05/0.6274, allocations: 16 kB / 0.4934 GB, free: 10.14 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.792e-05/0.6275, allocations: 33.64 kB / 0.4934 GB, free: 10.1 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.642e-05/0.6276, allocations: 16 kB / 0.4934 GB, free: 10.08 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.6276, allocations: 0 / 0.4934 GB, free: 10.08 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001726/0.6278, allocations: 61.69 kB / 0.4935 GB, free: 10.02 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.52e-05/0.6278, allocations: 11.95 kB / 0.4935 GB, free: 10 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.6278, allocations: 0 / 0.4935 GB, free: 10 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.6278, allocations: 0 / 0.4935 GB, free: 10 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001392/0.628, allocations: 19.95 kB / 0.4935 GB, free: 9.984 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.628, allocations: 4 kB / 0.4935 GB, free: 9.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.897e-05/0.6281, allocations: 8.062 kB / 0.4935 GB, free: 9.973 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.477e-05/0.6281, allocations: 8 kB / 0.4935 GB, free: 9.965 MB / 426.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 (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 prepare postOptimizeDAE: time 8.539e-05/0.6282, allocations: 101 kB / 0.4936 GB, free: 9.859 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.22e-05/0.6283, allocations: 15.89 kB / 0.4936 GB, free: 9.844 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002646/0.6285, allocations: 89.72 kB / 0.4937 GB, free: 9.746 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.6286, allocations: 0 / 0.4937 GB, free: 9.746 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.6286, allocations: 0 / 0.4937 GB, free: 9.746 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.205e-06/0.6286, allocations: 8 kB / 0.4937 GB, free: 9.738 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002028/0.6288, allocations: 193.5 kB / 0.4939 GB, free: 9.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.6288, allocations: 0 / 0.4939 GB, free: 9.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.333e-05/0.6289, allocations: 7.938 kB / 0.4939 GB, free: 9.492 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.6289, allocations: 0 / 0.4939 GB, free: 9.492 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.6289, allocations: 0 / 0.4939 GB, free: 9.492 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.332e-06/0.6289, allocations: 3.953 kB / 0.4939 GB, free: 9.488 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.629, allocations: 4 kB / 0.4939 GB, free: 9.484 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000237/0.6292, allocations: 105 kB / 0.494 GB, free: 9.363 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.687e-05/0.6293, allocations: 100.9 kB / 0.4941 GB, free: 9.246 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.248e-05/0.6293, allocations: 0 / 0.4941 GB, free: 9.246 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.552e-05/0.6294, allocations: 7.938 kB / 0.4941 GB, free: 9.238 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.795e-05/0.6295, allocations: 7.938 kB / 0.4941 GB, free: 9.23 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/0.6295, allocations: 8 kB / 0.4942 GB, free: 9.223 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001884/0.6297, allocations: 140.3 kB / 0.4943 GB, free: 9.09 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6297, allocations: 0 / 0.4943 GB, free: 9.09 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003144/0.6301, allocations: 24 kB / 0.4943 GB, free: 9.066 MB / 426.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: 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 (6): * Single equations (assignments): 4 * 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.001635/0.6317, allocations: 0.9508 MB / 0.4952 GB, free: 8.223 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002014/0.6319, allocations: 43.94 kB / 0.4953 GB, free: 8.18 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.632, allocations: 0 / 0.4953 GB, free: 8.18 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.26e-05/0.632, allocations: 16 kB / 0.4953 GB, free: 8.164 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003455/0.6324, allocations: 28.17 kB / 0.4953 GB, free: 8.137 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006651/0.6331, allocations: 245.1 kB / 0.4956 GB, free: 7.855 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003017/0.6334, allocations: 0.7122 MB / 0.4963 GB, free: 7.117 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001063/0.6335, allocations: 27.42 kB / 0.4963 GB, free: 7.09 MB / 426.7 MB Notification: Performance of SimCode: time 3.045e-06/0.6335, allocations: 0 / 0.4963 GB, free: 7.09 MB / 426.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 trunk/Resources/C-Sources" -DUSE_LOGGER -c -o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test86CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test86CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test86CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test86Functions.cpp:202:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp4.getData(), table_.getDim(1), table_.getDim(2), startTime__ext, ConstArray(columns_).getData(), columns_.getDim(1), smoothness__ext, extrapolation__ext, shiftTime__ext, timeEvents__ext, verboseRead__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources/ModelicaStandardTables.h:142:23: note: candidate function not viable: 7th argument ('const int *') would lose const qualifier MODELICA_EXPORT void* ModelicaStandardTables_CombiTimeTable_init2(_In_z_ const char* fileName, ^ In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test86CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test86FMU.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) { ^ 1 warning and 1 error generated. : recipe for target 'OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test86CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test86CalcHelperMain.o] Error 1