Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.474/2.474, allocations: 270 MB / 282.6 MB, free: 1.824 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.961e-05/4.959e-05, allocations: 4 kB / 347.1 MB, free: 3.109 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4175/0.4176, allocations: 61.88 MB / 408.9 MB, free: 10.67 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1894/0.6071, allocations: 90.19 MB / 499.1 MB, free: 360 kB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002781/0.6075, allocations: 71.97 kB / 499.2 MB, free: 288 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02481/0.6323, allocations: 4.295 MB / 0.4917 GB, free: 11.98 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.6323, allocations: 4 kB / 0.4917 GB, free: 11.98 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.802e-05/0.6324, allocations: 0 / 0.4917 GB, free: 11.98 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000721/0.6331, allocations: 459.8 kB / 0.4921 GB, free: 11.48 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.887e-05/0.6332, allocations: 8.031 kB / 0.4921 GB, free: 11.47 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.864e-05/0.6332, allocations: 34.56 kB / 0.4922 GB, free: 11.43 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.611e-05/0.6333, allocations: 15.81 kB / 0.4922 GB, free: 11.41 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004369/0.6338, allocations: 236.2 kB / 0.4924 GB, free: 11.14 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.746e-05/0.6338, allocations: 11.95 kB / 0.4924 GB, free: 11.13 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.995e-05/0.6339, allocations: 7.938 kB / 0.4924 GB, free: 11.12 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002477/0.6341, allocations: 102.2 kB / 0.4925 GB, free: 11.01 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.6341, allocations: 0 / 0.4925 GB, free: 11.01 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.19e-05/0.6342, allocations: 7.984 kB / 0.4925 GB, free: 11 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.6342, allocations: 0 / 0.4925 GB, free: 11 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001378/0.6343, allocations: 43.94 kB / 0.4926 GB, free: 10.96 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008088/0.6352, allocations: 0.5087 MB / 0.4931 GB, free: 10.39 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003444/0.6355, allocations: 90.55 kB / 0.4932 GB, free: 10.29 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.435e-05/0.6356, allocations: 28.86 kB / 0.4932 GB, free: 10.26 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.6357, allocations: 0 / 0.4932 GB, free: 10.26 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002001/0.6359, allocations: 79.38 kB / 0.4933 GB, free: 10.17 MB / 426.7 MB Notification: Performance of pre-optimization done (n=9): time 3.987e-06/0.6359, allocations: 0 / 0.4933 GB, free: 10.17 MB / 426.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003525/0.6363, allocations: 113.4 kB / 0.4934 GB, free: 10.05 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.211e-05/0.6363, allocations: 55.36 kB / 0.4934 GB, free: 9.988 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002816/0.6366, allocations: 170.6 kB / 0.4936 GB, free: 9.805 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.842e-05/0.6367, allocations: 29.7 kB / 0.4936 GB, free: 9.77 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.6368, allocations: 170.5 kB / 0.4938 GB, free: 9.602 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.147e-05/0.6368, allocations: 39.69 kB / 0.4938 GB, free: 9.562 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.814e-06/0.6369, allocations: 0 / 0.4938 GB, free: 9.562 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.637, allocations: 314.8 kB / 0.4941 GB, free: 9.246 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.655e-05/0.6371, allocations: 35.92 kB / 0.4942 GB, free: 9.211 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/0.6372, allocations: 52.3 kB / 0.4942 GB, free: 9.145 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.71e-05/0.6373, allocations: 27.98 kB / 0.4942 GB, free: 9.117 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.6373, allocations: 0 / 0.4942 GB, free: 9.117 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003034/0.6377, allocations: 117.5 kB / 0.4943 GB, free: 8.996 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.6377, allocations: 4.188 kB / 0.4943 GB, free: 8.992 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.625e-05/0.6377, allocations: 4 kB / 0.4944 GB, free: 8.988 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.6377, allocations: 3.938 kB / 0.4944 GB, free: 8.984 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002088/0.638, allocations: 23.98 kB / 0.4944 GB, free: 8.961 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/0.638, allocations: 7.938 kB / 0.4944 GB, free: 8.953 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001489/0.6382, allocations: 23.78 kB / 0.4944 GB, free: 8.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.644e-05/0.6382, allocations: 4 kB / 0.4944 GB, free: 8.926 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001032/0.6383, allocations: 114.7 kB / 0.4945 GB, free: 8.809 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.67e-05/0.6384, allocations: 15.81 kB / 0.4945 GB, free: 8.793 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000356/0.6387, allocations: 119.1 kB / 0.4947 GB, free: 8.664 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.413e-06/0.6387, allocations: 0 / 0.4947 GB, free: 8.664 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.6388, allocations: 3.938 kB / 0.4947 GB, free: 8.66 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.6388, allocations: 0 / 0.4947 GB, free: 8.66 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002655/0.639, allocations: 217.5 kB / 0.4949 GB, free: 8.398 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.6391, allocations: 0 / 0.4949 GB, free: 8.398 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001605/0.6392, allocations: 20 kB / 0.4949 GB, free: 8.379 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.644e-06/0.6392, allocations: 3.984 kB / 0.4949 GB, free: 8.375 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.632e-05/0.6393, allocations: 0 / 0.4949 GB, free: 8.375 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.602e-06/0.6393, allocations: 3.938 kB / 0.4949 GB, free: 8.371 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.6393, allocations: 0 / 0.4949 GB, free: 8.371 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004253/0.6397, allocations: 172.9 kB / 0.4951 GB, free: 8.184 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.161e-05/0.6398, allocations: 100.8 kB / 0.4951 GB, free: 8.066 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.432e-05/0.6399, allocations: 0 / 0.4951 GB, free: 8.066 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001279/0.64, allocations: 20.05 kB / 0.4952 GB, free: 8.047 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.013e-05/0.6401, allocations: 4 kB / 0.4952 GB, free: 8.043 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.897e-05/0.6401, allocations: 7.984 kB / 0.4952 GB, free: 8.035 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001835/0.6403, allocations: 141.2 kB / 0.4953 GB, free: 7.898 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6403, allocations: 0 / 0.4953 GB, free: 7.898 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003522/0.6407, allocations: 32.11 kB / 0.4953 GB, free: 7.867 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.001843/0.6425, allocations: 1.026 MB / 0.4963 GB, free: 6.945 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002725/0.6428, allocations: 67.94 kB / 0.4964 GB, free: 6.879 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/0.6429, allocations: 0 / 0.4964 GB, free: 6.879 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001052/0.643, allocations: 35.92 kB / 0.4964 GB, free: 6.844 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004022/0.6434, allocations: 30.92 kB / 0.4965 GB, free: 6.812 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008523/0.6443, allocations: 271.4 kB / 0.4967 GB, free: 6.512 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003267/0.6446, allocations: 0.7245 MB / 0.4974 GB, free: 5.762 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001228/0.6448, allocations: 39.42 kB / 0.4975 GB, free: 5.723 MB / 426.7 MB Notification: Performance of SimCode: time 1.503e-06/0.6448, allocations: 4 kB / 0.4975 GB, free: 5.719 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_Test13CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test13CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test13CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test13Functions.cpp:204:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp6.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_Test13CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test13FMU.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_Test13CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test13CalcHelperMain.o] Error 1