Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test31,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test31",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.579/2.579, allocations: 270 MB / 282.6 MB, free: 1.812 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.463e-05/4.477e-05, allocations: 4 kB / 347.1 MB, free: 3.102 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4252/0.4253, allocations: 61.87 MB / 408.9 MB, free: 10.74 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2143/0.6397, allocations: 89.24 MB / 498.2 MB, free: 1.375 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003471/0.6401, allocations: 71.97 kB / 498.2 MB, free: 1.305 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0314/0.6715, allocations: 5.414 MB / 0.4919 GB, free: 11.88 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.6716, allocations: 0 / 0.4919 GB, free: 11.88 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.062e-05/0.6716, allocations: 0 / 0.4919 GB, free: 11.88 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.000712/0.6724, allocations: 398.2 kB / 0.4922 GB, free: 11.45 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.943e-05/0.6724, allocations: 12.03 kB / 0.4922 GB, free: 11.44 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.041e-05/0.6725, allocations: 30.56 kB / 0.4923 GB, free: 11.4 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.955e-05/0.6726, allocations: 7.906 kB / 0.4923 GB, free: 11.39 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004949/0.6731, allocations: 219.6 kB / 0.4925 GB, free: 11.14 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.554e-05/0.6732, allocations: 11.95 kB / 0.4925 GB, free: 11.12 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.645e-05/0.6732, allocations: 0 / 0.4925 GB, free: 11.12 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001907/0.6734, allocations: 57.61 kB / 0.4926 GB, free: 11.06 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.6734, allocations: 0 / 0.4926 GB, free: 11.06 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.674e-05/0.6735, allocations: 0 / 0.4926 GB, free: 11.06 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-06/0.6735, allocations: 11.94 kB / 0.4926 GB, free: 11.05 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001084/0.6736, allocations: 19.98 kB / 0.4926 GB, free: 11.03 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005943/0.6742, allocations: 284.9 kB / 0.4929 GB, free: 10.7 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002193/0.6745, allocations: 58.62 kB / 0.4929 GB, free: 10.64 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.717e-05/0.6746, allocations: 20.98 kB / 0.4929 GB, free: 10.61 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.491e-05/0.6746, allocations: 4 kB / 0.4929 GB, free: 10.61 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002069/0.6748, allocations: 63.39 kB / 0.493 GB, free: 10.54 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.655e-06/0.6749, allocations: 0 / 0.493 GB, free: 10.54 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007712/0.6756, allocations: 161.1 kB / 0.4932 GB, free: 10.37 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.501e-05/0.6757, allocations: 55.41 kB / 0.4932 GB, free: 10.3 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003533/0.6761, allocations: 168.9 kB / 0.4934 GB, free: 10.14 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.301e-05/0.6761, allocations: 29.7 kB / 0.4934 GB, free: 10.1 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/0.6763, allocations: 162.6 kB / 0.4936 GB, free: 9.941 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.203e-05/0.6763, allocations: 23.7 kB / 0.4936 GB, free: 9.918 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.337e-05/0.6764, allocations: 4 kB / 0.4936 GB, free: 9.914 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.6765, allocations: 314.8 kB / 0.4939 GB, free: 9.598 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.473e-05/0.6767, allocations: 20 kB / 0.4939 GB, free: 9.578 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001208/0.6768, allocations: 37.7 kB / 0.4939 GB, free: 9.535 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001025/0.6769, allocations: 28 kB / 0.494 GB, free: 9.508 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.6769, allocations: 0 / 0.494 GB, free: 9.508 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003158/0.6773, allocations: 85.67 kB / 0.494 GB, free: 9.418 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.556e-05/0.6773, allocations: 8 kB / 0.494 GB, free: 9.41 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.6773, allocations: 0 / 0.494 GB, free: 9.41 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.6773, allocations: 0 / 0.494 GB, free: 9.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002036/0.6776, allocations: 23.92 kB / 0.4941 GB, free: 9.387 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.238e-06/0.6776, allocations: 4 kB / 0.4941 GB, free: 9.383 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001145/0.6777, allocations: 7.844 kB / 0.4941 GB, free: 9.375 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.77e-05/0.6778, allocations: 4 kB / 0.4941 GB, free: 9.371 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.0001313/0.6779, allocations: 118.9 kB / 0.4942 GB, free: 9.25 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.426e-05/0.678, allocations: 7.906 kB / 0.4942 GB, free: 9.242 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004248/0.6784, allocations: 114.2 kB / 0.4943 GB, free: 9.129 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.6784, allocations: 288 / 0.4943 GB, free: 9.129 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/0.6784, allocations: 192 / 0.4943 GB, free: 9.129 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.6785, allocations: 3.938 kB / 0.4943 GB, free: 9.125 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008753/0.6794, allocations: 419.2 kB / 0.4947 GB, free: 8.656 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.6794, allocations: 0 / 0.4947 GB, free: 8.656 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001155/0.6795, allocations: 24.02 kB / 0.4947 GB, free: 8.633 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.662e-06/0.6795, allocations: 0 / 0.4947 GB, free: 8.633 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.772e-05/0.6796, allocations: 0 / 0.4947 GB, free: 8.633 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.544e-06/0.6796, allocations: 4 kB / 0.4947 GB, free: 8.629 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.6796, allocations: 0 / 0.4947 GB, free: 8.629 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004342/0.6801, allocations: 221.8 kB / 0.495 GB, free: 8.387 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001092/0.6802, allocations: 93 kB / 0.495 GB, free: 8.277 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.688e-05/0.6802, allocations: 0 / 0.495 GB, free: 8.277 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001927/0.6805, allocations: 8 kB / 0.4951 GB, free: 8.27 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.284e-05/0.6805, allocations: 11.94 kB / 0.4951 GB, free: 8.258 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.075e-05/0.6806, allocations: 4 kB / 0.4951 GB, free: 8.254 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002639/0.6808, allocations: 140.6 kB / 0.4952 GB, free: 8.117 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.6809, allocations: 0 / 0.4952 GB, free: 8.117 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006758/0.6815, allocations: 28 kB / 0.4952 GB, free: 8.09 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.002743/0.6843, allocations: 1.179 MB / 0.4964 GB, free: 7.027 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002799/0.6846, allocations: 63.97 kB / 0.4964 GB, free: 6.965 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/0.6846, allocations: 0 / 0.4964 GB, free: 6.965 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001256/0.6848, allocations: 31.94 kB / 0.4965 GB, free: 6.934 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005453/0.6853, allocations: 27.92 kB / 0.4965 GB, free: 6.906 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001072/0.6864, allocations: 254.5 kB / 0.4967 GB, free: 6.605 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004774/0.6869, allocations: 0.7123 MB / 0.4974 GB, free: 5.867 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001268/0.6871, allocations: 35.42 kB / 0.4975 GB, free: 5.832 MB / 426.7 MB Notification: Performance of SimCode: time 8.92e-07/0.6871, allocations: 0 / 0.4975 GB, free: 5.832 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_Test31CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test31CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test31CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test31Functions.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_Test31CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test31FMU.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_Test31CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test31CalcHelperMain.o] Error 1