Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test4,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.422/2.422, allocations: 270 MB / 282.6 MB, free: 1.82 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.397e-05/3.409e-05, allocations: 4 kB / 347.1 MB, free: 3.121 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.386/0.3861, allocations: 61.87 MB / 408.9 MB, free: 10.75 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2483/0.6344, allocations: 88.14 MB / 497.1 MB, free: 2.488 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003325/0.6348, allocations: 75.95 kB / 497.1 MB, free: 2.414 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02207/0.6569, allocations: 4.644 MB / 0.49 GB, free: 13.76 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.6569, allocations: 0 / 0.49 GB, free: 13.76 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.933e-05/0.657, allocations: 4 kB / 0.49 GB, free: 13.75 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005386/0.6575, allocations: 406.1 kB / 0.4904 GB, free: 13.31 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/0.6576, allocations: 12.03 kB / 0.4904 GB, free: 13.3 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.997e-05/0.6576, allocations: 42.55 kB / 0.4905 GB, free: 13.25 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.513e-05/0.6577, allocations: 15.75 kB / 0.4905 GB, free: 13.23 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003438/0.658, allocations: 212.1 kB / 0.4907 GB, free: 12.99 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.6581, allocations: 4 kB / 0.4907 GB, free: 12.98 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.926e-05/0.6581, allocations: 11.95 kB / 0.4907 GB, free: 12.97 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001714/0.6583, allocations: 53.69 kB / 0.4908 GB, free: 12.91 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.6583, allocations: 3.906 kB / 0.4908 GB, free: 12.91 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.595e-05/0.6584, allocations: 4 kB / 0.4908 GB, free: 12.91 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.6584, allocations: 11.92 kB / 0.4908 GB, free: 12.89 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001104/0.6585, allocations: 31.94 kB / 0.4908 GB, free: 12.86 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005788/0.6591, allocations: 324.8 kB / 0.4911 GB, free: 12.5 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001441/0.6593, allocations: 58.52 kB / 0.4912 GB, free: 12.43 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.312e-05/0.6593, allocations: 16.86 kB / 0.4912 GB, free: 12.41 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.107e-05/0.6594, allocations: 4 kB / 0.4912 GB, free: 12.41 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.6594, allocations: 34.66 kB / 0.4912 GB, free: 12.36 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 2.254e-06/0.6594, allocations: 4 kB / 0.4912 GB, free: 12.36 MB / 426.7 MB Notification: Performance of matching and sorting (n=13): time 0.000897/0.6603, allocations: 230.3 kB / 0.4914 GB, free: 12.13 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.6604, allocations: 55.36 kB / 0.4915 GB, free: 12.06 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003387/0.6607, allocations: 209.4 kB / 0.4917 GB, free: 11.85 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.6608, allocations: 29.7 kB / 0.4917 GB, free: 11.81 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.636e-05/0.6609, allocations: 166.6 kB / 0.4919 GB, free: 11.65 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.416e-05/0.6609, allocations: 43.3 kB / 0.4919 GB, free: 11.61 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.086e-05/0.661, allocations: 4 kB / 0.4919 GB, free: 11.6 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.6611, allocations: 318.8 kB / 0.4922 GB, free: 11.28 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.085e-05/0.6612, allocations: 28 kB / 0.4923 GB, free: 11.25 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.437e-05/0.6613, allocations: 24 kB / 0.4923 GB, free: 11.23 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.171e-05/0.6614, allocations: 31.98 kB / 0.4923 GB, free: 11.2 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.6614, allocations: 0 / 0.4923 GB, free: 11.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002686/0.6617, allocations: 113.5 kB / 0.4924 GB, free: 11.08 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.689e-05/0.6617, allocations: 4 kB / 0.4924 GB, free: 11.08 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.6617, allocations: 0 / 0.4924 GB, free: 11.08 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.6618, allocations: 0 / 0.4924 GB, free: 11.08 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002557/0.662, allocations: 31.98 kB / 0.4925 GB, free: 11.05 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.662, allocations: 112 / 0.4925 GB, free: 11.05 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.971e-05/0.6622, allocations: 23.88 kB / 0.4925 GB, free: 11.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.354e-05/0.6622, allocations: 80 / 0.4925 GB, free: 11.02 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001019/0.6623, allocations: 113 kB / 0.4926 GB, free: 10.91 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.615e-05/0.6624, allocations: 11.81 kB / 0.4926 GB, free: 10.89 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004044/0.6628, allocations: 147.2 kB / 0.4927 GB, free: 10.75 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.6628, allocations: 0 / 0.4927 GB, free: 10.75 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.6628, allocations: 0 / 0.4927 GB, free: 10.75 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.6628, allocations: 4 kB / 0.4927 GB, free: 10.74 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008329/0.6637, allocations: 475.1 kB / 0.4932 GB, free: 10.22 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.6637, allocations: 0 / 0.4932 GB, free: 10.22 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000186/0.6639, allocations: 27.98 kB / 0.4932 GB, free: 10.19 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.95e-06/0.6639, allocations: 3.938 kB / 0.4932 GB, free: 10.19 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.839e-05/0.6639, allocations: 7.953 kB / 0.4932 GB, free: 10.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.6639, allocations: 0 / 0.4932 GB, free: 10.18 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.6639, allocations: 0 / 0.4932 GB, free: 10.18 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003545/0.6643, allocations: 246.5 kB / 0.4935 GB, free: 9.914 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.278e-05/0.6644, allocations: 96.95 kB / 0.4936 GB, free: 9.801 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.413e-05/0.6645, allocations: 4 kB / 0.4936 GB, free: 9.797 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001307/0.6646, allocations: 8 kB / 0.4936 GB, free: 9.789 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.212e-05/0.6647, allocations: 11.92 kB / 0.4936 GB, free: 9.777 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.637e-05/0.6647, allocations: 8 kB / 0.4936 GB, free: 9.77 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002432/0.665, allocations: 172.2 kB / 0.4938 GB, free: 9.602 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.665, allocations: 0 / 0.4938 GB, free: 9.602 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003954/0.6654, allocations: 35.94 kB / 0.4938 GB, free: 9.566 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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 Backend phase and start with SimCode phase: time 0.001889/0.6673, allocations: 1.188 MB / 0.4949 GB, free: 8.496 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002651/0.6676, allocations: 79.92 kB / 0.495 GB, free: 8.418 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.6676, allocations: 0 / 0.495 GB, free: 8.418 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001075/0.6677, allocations: 39.94 kB / 0.4951 GB, free: 8.379 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003217/0.668, allocations: 19.98 kB / 0.4951 GB, free: 8.359 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009215/0.669, allocations: 322.1 kB / 0.4954 GB, free: 8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003717/0.6694, allocations: 0.716 MB / 0.4961 GB, free: 7.258 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001333/0.6695, allocations: 43.42 kB / 0.4961 GB, free: 7.215 MB / 426.7 MB Notification: Performance of SimCode: time 3.396e-06/0.6695, allocations: 0 / 0.4961 GB, free: 7.215 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_CombiTable1Ds_Test4CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test4CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test4CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test4Functions.cpp:231:31: error: no matching function for call to 'ModelicaStandardTables_CombiTable1D_init2' externalCombiTable1D__ext = ModelicaStandardTables_CombiTable1D_init2(fileName_.c_str(), tableName_.c_str(), tmp9.getData(), table_.getDim(1), table_.getDim(2), ConstArray(columns_).getData(), columns_.getDim(1), smoothness__ext, extrapolation__ext, verboseRead__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources/ModelicaStandardTables.h:269:23: note: candidate function not viable: 6th argument ('const int *') would lose const qualifier MODELICA_EXPORT void* ModelicaStandardTables_CombiTable1D_init2(_In_z_ const char* fileName, ^ In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test4CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test4FMU.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_CombiTable1Ds_Test4CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test4CalcHelperMain.o] Error 1