Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test41,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.566/2.566, allocations: 270 MB / 282.6 MB, free: 1.918 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.784e-05/3.795e-05, allocations: 4 kB / 347.1 MB, free: 3.199 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4283/0.4283, allocations: 61.87 MB / 408.9 MB, free: 10.71 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1942/0.6226, allocations: 89.29 MB / 498.2 MB, free: 1.301 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003825/0.623, allocations: 75.95 kB / 498.3 MB, free: 1.227 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03314/0.6562, allocations: 5.633 MB / 0.4921 GB, free: 11.59 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.6563, allocations: 0 / 0.4921 GB, free: 11.59 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.074e-05/0.6563, allocations: 8 kB / 0.4921 GB, free: 11.58 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.0007281/0.6571, allocations: 398.2 kB / 0.4925 GB, free: 11.14 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.417e-05/0.6571, allocations: 12.03 kB / 0.4925 GB, free: 11.13 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.845e-05/0.6572, allocations: 34.56 kB / 0.4925 GB, free: 11.09 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.115e-05/0.6573, allocations: 15.89 kB / 0.4926 GB, free: 11.07 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005422/0.6579, allocations: 224 kB / 0.4928 GB, free: 10.82 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.475e-05/0.6579, allocations: 7.938 kB / 0.4928 GB, free: 10.81 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.488e-05/0.658, allocations: 4 kB / 0.4928 GB, free: 10.8 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001927/0.6582, allocations: 53.62 kB / 0.4928 GB, free: 10.75 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.6582, allocations: 0 / 0.4928 GB, free: 10.75 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.612e-05/0.6582, allocations: 0 / 0.4928 GB, free: 10.75 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/0.6583, allocations: 0 / 0.4928 GB, free: 10.75 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001196/0.6584, allocations: 27.92 kB / 0.4929 GB, free: 10.72 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006784/0.6591, allocations: 300.9 kB / 0.4931 GB, free: 10.38 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002216/0.6593, allocations: 54.69 kB / 0.4932 GB, free: 10.31 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.402e-05/0.6594, allocations: 16.98 kB / 0.4932 GB, free: 10.29 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.6595, allocations: 0 / 0.4932 GB, free: 10.29 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000221/0.6597, allocations: 71.33 kB / 0.4933 GB, free: 10.21 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.995e-06/0.6597, allocations: 4 kB / 0.4933 GB, free: 10.21 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007994/0.6605, allocations: 153.1 kB / 0.4934 GB, free: 10.05 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.85e-05/0.6606, allocations: 51.41 kB / 0.4935 GB, free: 9.988 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004119/0.661, allocations: 201.3 kB / 0.4937 GB, free: 9.781 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.095e-05/0.6611, allocations: 29.7 kB / 0.4937 GB, free: 9.746 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.6612, allocations: 162.6 kB / 0.4939 GB, free: 9.586 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.86e-05/0.6613, allocations: 27.64 kB / 0.4939 GB, free: 9.559 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.016e-06/0.6613, allocations: 0 / 0.4939 GB, free: 9.559 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.6615, allocations: 322.8 kB / 0.4942 GB, free: 9.234 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.281e-05/0.6616, allocations: 20 kB / 0.4942 GB, free: 9.215 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001102/0.6617, allocations: 37.7 kB / 0.4942 GB, free: 9.172 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001006/0.6619, allocations: 24.05 kB / 0.4943 GB, free: 9.148 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.6619, allocations: 0 / 0.4943 GB, free: 9.148 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003342/0.6622, allocations: 93.61 kB / 0.4944 GB, free: 9.051 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.657e-05/0.6623, allocations: 4 kB / 0.4944 GB, free: 9.047 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.914e-06/0.6623, allocations: 0 / 0.4944 GB, free: 9.047 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.6623, allocations: 4.031 kB / 0.4944 GB, free: 9.043 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001719/0.6625, allocations: 19.98 kB / 0.4944 GB, free: 9.023 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/0.6625, allocations: 0 / 0.4944 GB, free: 9.023 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.3e-05/0.6626, allocations: 4 kB / 0.4944 GB, free: 9.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.201e-05/0.6627, allocations: 4.188 kB / 0.4944 GB, free: 9.016 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.0001047/0.6628, allocations: 112.9 kB / 0.4945 GB, free: 8.898 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.791e-05/0.6628, allocations: 15.75 kB / 0.4945 GB, free: 8.883 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003775/0.6632, allocations: 115.1 kB / 0.4946 GB, free: 8.758 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.735e-06/0.6632, allocations: 8 kB / 0.4946 GB, free: 8.75 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.258e-06/0.6633, allocations: 0 / 0.4946 GB, free: 8.75 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.6633, allocations: 3.938 kB / 0.4946 GB, free: 8.746 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007186/0.664, allocations: 423.2 kB / 0.495 GB, free: 8.273 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.818e-06/0.664, allocations: 192 / 0.495 GB, free: 8.273 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.963e-05/0.6641, allocations: 12 kB / 0.4951 GB, free: 8.262 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.256e-06/0.6642, allocations: 7.938 kB / 0.4951 GB, free: 8.254 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.6642, allocations: 0 / 0.4951 GB, free: 8.254 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-06/0.6642, allocations: 4.016 kB / 0.4951 GB, free: 8.25 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.6642, allocations: 4 kB / 0.4951 GB, free: 8.246 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003376/0.6646, allocations: 221.8 kB / 0.4953 GB, free: 8.004 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.328e-05/0.6647, allocations: 92.92 kB / 0.4954 GB, free: 7.895 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.214e-05/0.6647, allocations: 8 kB / 0.4954 GB, free: 7.887 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/0.6649, allocations: 3.984 kB / 0.4954 GB, free: 7.883 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.721e-05/0.6649, allocations: 11.95 kB / 0.4954 GB, free: 7.871 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.881e-05/0.6649, allocations: 7.984 kB / 0.4954 GB, free: 7.863 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002382/0.6652, allocations: 164.2 kB / 0.4956 GB, free: 7.703 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.6652, allocations: 0 / 0.4956 GB, free: 7.703 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003939/0.6656, allocations: 31.94 kB / 0.4956 GB, free: 7.672 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.00196/0.6676, allocations: 1.167 MB / 0.4967 GB, free: 6.621 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002445/0.6679, allocations: 51.94 kB / 0.4968 GB, free: 6.57 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.217e-06/0.6679, allocations: 4 kB / 0.4968 GB, free: 6.566 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.07e-05/0.668, allocations: 23.94 kB / 0.4968 GB, free: 6.543 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004173/0.6684, allocations: 42.83 kB / 0.4968 GB, free: 6.504 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008288/0.6693, allocations: 274.2 kB / 0.4971 GB, free: 6.191 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003689/0.6697, allocations: 0.7082 MB / 0.4978 GB, free: 5.457 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001056/0.6698, allocations: 39.42 kB / 0.4978 GB, free: 5.418 MB / 426.7 MB Notification: Performance of SimCode: time 7.82e-07/0.6698, allocations: 0 / 0.4978 GB, free: 5.418 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_Test41CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test41CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test41CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test41Functions.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_Test41CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test41FMU.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_Test41CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test41CalcHelperMain.o] Error 1