Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test2,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.789/2.789, allocations: 270 MB / 282.6 MB, free: 1.922 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.045e-05/4.051e-05, allocations: 8 kB / 347.1 MB, free: 3.207 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4384/0.4385, allocations: 61.87 MB / 408.9 MB, free: 10.84 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1679/0.6064, allocations: 89.23 MB / 498.2 MB, free: 1.488 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002886/0.6068, allocations: 71.97 kB / 498.2 MB, free: 1.418 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02491/0.6317, allocations: 5.32 MB / 0.4918 GB, free: 12.09 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.6318, allocations: 0 / 0.4918 GB, free: 12.09 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.617e-05/0.6318, allocations: 0 / 0.4918 GB, free: 12.09 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000609/0.6324, allocations: 398.2 kB / 0.4921 GB, free: 11.65 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.6325, allocations: 8.031 kB / 0.4921 GB, free: 11.64 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.543e-05/0.6326, allocations: 34.55 kB / 0.4922 GB, free: 11.6 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.02e-05/0.6326, allocations: 7.906 kB / 0.4922 GB, free: 11.59 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003891/0.633, allocations: 207.4 kB / 0.4924 GB, free: 11.35 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.249e-05/0.6331, allocations: 15.81 kB / 0.4924 GB, free: 11.33 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.606e-05/0.6331, allocations: 8 kB / 0.4924 GB, free: 11.32 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001519/0.6333, allocations: 49.69 kB / 0.4924 GB, free: 11.27 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.6333, allocations: 0 / 0.4924 GB, free: 11.27 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.773e-05/0.6333, allocations: 4 kB / 0.4925 GB, free: 11.27 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.6333, allocations: 3.938 kB / 0.4925 GB, free: 11.26 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.608e-05/0.6334, allocations: 19.98 kB / 0.4925 GB, free: 11.24 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004979/0.6339, allocations: 284.9 kB / 0.4927 GB, free: 10.91 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001646/0.6341, allocations: 54.62 kB / 0.4928 GB, free: 10.85 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.588e-05/0.6342, allocations: 24.98 kB / 0.4928 GB, free: 10.82 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.989e-05/0.6342, allocations: 4 kB / 0.4928 GB, free: 10.82 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001685/0.6344, allocations: 59.39 kB / 0.4929 GB, free: 10.75 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.314e-06/0.6344, allocations: 0 / 0.4929 GB, free: 10.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006335/0.6351, allocations: 161.1 kB / 0.493 GB, free: 10.59 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.441e-05/0.6351, allocations: 51.41 kB / 0.4931 GB, free: 10.52 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002143/0.6354, allocations: 153.2 kB / 0.4932 GB, free: 10.36 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.6e-05/0.6354, allocations: 29.69 kB / 0.4933 GB, free: 10.33 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.886e-05/0.6355, allocations: 162.5 kB / 0.4934 GB, free: 10.17 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.169e-05/0.6355, allocations: 19.72 kB / 0.4934 GB, free: 10.15 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.973e-06/0.6356, allocations: 0 / 0.4934 GB, free: 10.15 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.6357, allocations: 326.8 kB / 0.4937 GB, free: 9.82 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.507e-05/0.6358, allocations: 20 kB / 0.4938 GB, free: 9.801 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.121e-05/0.6359, allocations: 29.72 kB / 0.4938 GB, free: 9.766 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.151e-05/0.636, allocations: 28.05 kB / 0.4938 GB, free: 9.738 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.636, allocations: 3.938 kB / 0.4938 GB, free: 9.734 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002433/0.6362, allocations: 85.69 kB / 0.4939 GB, free: 9.645 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.6363, allocations: 4 kB / 0.4939 GB, free: 9.641 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.6363, allocations: 0 / 0.4939 GB, free: 9.641 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.6363, allocations: 0 / 0.4939 GB, free: 9.641 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001757/0.6365, allocations: 19.98 kB / 0.4939 GB, free: 9.621 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.6365, allocations: 3.938 kB / 0.4939 GB, free: 9.617 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.716e-05/0.6366, allocations: 8 kB / 0.4939 GB, free: 9.609 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.6367, allocations: 4.031 kB / 0.4939 GB, free: 9.605 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 (10): * Single equations (assignments): 10 * 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 0.0001059/0.6368, allocations: 112.9 kB / 0.4941 GB, free: 9.488 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.44e-05/0.6368, allocations: 15.8 kB / 0.4941 GB, free: 9.473 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003426/0.6372, allocations: 118.3 kB / 0.4942 GB, free: 9.355 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.6372, allocations: 0 / 0.4942 GB, free: 9.355 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.6372, allocations: 192 / 0.4942 GB, free: 9.355 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/0.6372, allocations: 11.97 kB / 0.4942 GB, free: 9.344 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000651/0.6379, allocations: 403.3 kB / 0.4946 GB, free: 8.891 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.142e-06/0.6379, allocations: 0 / 0.4946 GB, free: 8.891 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.112e-05/0.638, allocations: 11.94 kB / 0.4946 GB, free: 8.879 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.577e-06/0.638, allocations: 4 kB / 0.4946 GB, free: 8.875 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.657e-05/0.638, allocations: 3.984 kB / 0.4946 GB, free: 8.871 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.6381, allocations: 0 / 0.4946 GB, free: 8.871 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.6381, allocations: 4 kB / 0.4946 GB, free: 8.867 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003063/0.6384, allocations: 217.9 kB / 0.4948 GB, free: 8.629 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.151e-05/0.6385, allocations: 88.92 kB / 0.4949 GB, free: 8.523 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.896e-05/0.6385, allocations: 11.98 kB / 0.4949 GB, free: 8.512 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001184/0.6386, allocations: 0 / 0.4949 GB, free: 8.512 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.389e-05/0.6387, allocations: 7.953 kB / 0.4949 GB, free: 8.504 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.897e-05/0.6387, allocations: 7.984 kB / 0.4949 GB, free: 8.496 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001656/0.6389, allocations: 126.3 kB / 0.495 GB, free: 8.375 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6389, allocations: 4 kB / 0.495 GB, free: 8.371 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003968/0.6393, allocations: 28 kB / 0.4951 GB, free: 8.344 MB / 426.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 (9): * Single equations (assignments): 7 * 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.00197/0.6413, allocations: 1.164 MB / 0.4962 GB, free: 7.293 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002545/0.6416, allocations: 52 kB / 0.4963 GB, free: 7.242 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.6416, allocations: 0 / 0.4963 GB, free: 7.242 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001041/0.6417, allocations: 35.88 kB / 0.4963 GB, free: 7.207 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004554/0.6422, allocations: 30.77 kB / 0.4963 GB, free: 7.18 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007712/0.643, allocations: 234.4 kB / 0.4965 GB, free: 6.902 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00033/0.6434, allocations: 0.7121 MB / 0.4972 GB, free: 6.164 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.828e-05/0.6435, allocations: 31.42 kB / 0.4973 GB, free: 6.133 MB / 426.7 MB Notification: Performance of SimCode: time 1.092e-06/0.6435, allocations: 0 / 0.4973 GB, free: 6.133 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_Test2CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test2CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test2CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test2Functions.cpp:241:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp5.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_Test2CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test2FMU.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_Test2CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test2CalcHelperMain.o] Error 1