Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test3,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.493/2.493, allocations: 270 MB / 282.6 MB, free: 1.867 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.203e-05/4.224e-05, allocations: 8 kB / 347.1 MB, free: 3.152 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4257/0.4257, allocations: 61.86 MB / 408.9 MB, free: 10.68 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.186/0.6118, allocations: 88.14 MB / 497.1 MB, free: 2.414 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002752/0.6121, allocations: 71.95 kB / 497.1 MB, free: 2.344 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01838/0.6305, allocations: 4.191 MB / 0.4896 GB, free: 14.14 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.6305, allocations: 4 kB / 0.4896 GB, free: 14.14 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.599e-05/0.6306, allocations: 4 kB / 0.4896 GB, free: 14.14 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000556/0.6311, allocations: 398.1 kB / 0.49 GB, free: 13.7 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.462e-05/0.6312, allocations: 19.95 kB / 0.49 GB, free: 13.68 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.416e-05/0.6313, allocations: 38.56 kB / 0.49 GB, free: 13.64 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.14e-05/0.6313, allocations: 7.906 kB / 0.49 GB, free: 13.63 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003259/0.6317, allocations: 191 kB / 0.4902 GB, free: 13.4 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.6317, allocations: 0 / 0.4902 GB, free: 13.4 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.383e-05/0.6317, allocations: 11.89 kB / 0.4902 GB, free: 13.39 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001489/0.6319, allocations: 53.69 kB / 0.4903 GB, free: 13.33 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.6319, allocations: 0 / 0.4903 GB, free: 13.33 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.6319, allocations: 0 / 0.4903 GB, free: 13.33 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.632, allocations: 0 / 0.4903 GB, free: 13.33 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.836e-05/0.632, allocations: 16 kB / 0.4903 GB, free: 13.32 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005994/0.6327, allocations: 320.6 kB / 0.4906 GB, free: 12.95 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001097/0.6328, allocations: 38.58 kB / 0.4906 GB, free: 12.91 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.971e-05/0.6328, allocations: 16.94 kB / 0.4906 GB, free: 12.89 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.662e-05/0.6329, allocations: 0 / 0.4906 GB, free: 12.89 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.6329, allocations: 34.56 kB / 0.4907 GB, free: 12.84 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 1.663e-06/0.6329, allocations: 0 / 0.4907 GB, free: 12.84 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007576/0.6337, allocations: 165.2 kB / 0.4908 GB, free: 12.68 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.557e-05/0.6338, allocations: 51.41 kB / 0.4909 GB, free: 12.61 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003017/0.6341, allocations: 184 kB / 0.4911 GB, free: 12.43 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.6341, allocations: 25.7 kB / 0.4911 GB, free: 12.4 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.046e-05/0.6342, allocations: 166.5 kB / 0.4912 GB, free: 12.23 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.349e-05/0.6343, allocations: 27.61 kB / 0.4913 GB, free: 12.21 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.823e-06/0.6343, allocations: 0 / 0.4913 GB, free: 12.21 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.6345, allocations: 314.8 kB / 0.4916 GB, free: 11.89 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.653e-05/0.6345, allocations: 24 kB / 0.4916 GB, free: 11.87 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.119e-05/0.6346, allocations: 23.98 kB / 0.4916 GB, free: 11.84 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.776e-05/0.6347, allocations: 23.98 kB / 0.4916 GB, free: 11.82 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.6347, allocations: 0 / 0.4916 GB, free: 11.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002338/0.635, allocations: 85.75 kB / 0.4917 GB, free: 11.73 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.635, allocations: 7.938 kB / 0.4917 GB, free: 11.72 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.635, allocations: 0 / 0.4917 GB, free: 11.72 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.635, allocations: 0 / 0.4917 GB, free: 11.72 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001905/0.6352, allocations: 19.98 kB / 0.4917 GB, free: 11.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.6353, allocations: 3.938 kB / 0.4917 GB, free: 11.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.258e-05/0.6354, allocations: 15.98 kB / 0.4918 GB, free: 11.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.179e-05/0.6354, allocations: 320 / 0.4918 GB, free: 11.68 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 (8): * Single equations (assignments): 8 * 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 9.106e-05/0.6355, allocations: 108.9 kB / 0.4919 GB, free: 11.57 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.723e-05/0.6356, allocations: 11.91 kB / 0.4919 GB, free: 11.56 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003201/0.6359, allocations: 118.1 kB / 0.492 GB, free: 11.44 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.389e-06/0.6359, allocations: 0 / 0.492 GB, free: 11.44 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.6359, allocations: 0 / 0.492 GB, free: 11.44 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.6359, allocations: 4 kB / 0.492 GB, free: 11.44 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007206/0.6367, allocations: 411.3 kB / 0.4924 GB, free: 10.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.6367, allocations: 0 / 0.4924 GB, free: 10.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001546/0.6369, allocations: 19.98 kB / 0.4924 GB, free: 10.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.6369, allocations: 3.938 kB / 0.4924 GB, free: 10.95 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.6369, allocations: 7.938 kB / 0.4924 GB, free: 10.95 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.6369, allocations: 0 / 0.4924 GB, free: 10.95 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.6369, allocations: 4.031 kB / 0.4924 GB, free: 10.94 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002985/0.6372, allocations: 206 kB / 0.4926 GB, free: 10.71 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.535e-05/0.6373, allocations: 88.92 kB / 0.4927 GB, free: 10.61 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.266e-05/0.6374, allocations: 11.98 kB / 0.4927 GB, free: 10.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001273/0.6375, allocations: 8 kB / 0.4927 GB, free: 10.59 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.799e-05/0.6376, allocations: 15.94 kB / 0.4927 GB, free: 10.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.181e-05/0.6376, allocations: 4 kB / 0.4927 GB, free: 10.57 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002005/0.6378, allocations: 145.1 kB / 0.4929 GB, free: 10.43 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.6378, allocations: 0 / 0.4929 GB, free: 10.43 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003673/0.6382, allocations: 28 kB / 0.4929 GB, free: 10.4 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 (8): * Single equations (assignments): 8 * 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.001894/0.6401, allocations: 1.156 MB / 0.494 GB, free: 9.367 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002402/0.6404, allocations: 59.92 kB / 0.4941 GB, free: 9.309 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.6404, allocations: 0 / 0.4941 GB, free: 9.309 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.867e-05/0.6405, allocations: 20.06 kB / 0.4941 GB, free: 9.289 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003697/0.6409, allocations: 23.94 kB / 0.4941 GB, free: 9.266 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008541/0.6418, allocations: 269.1 kB / 0.4944 GB, free: 8.953 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003706/0.6421, allocations: 0.716 MB / 0.4951 GB, free: 8.211 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001106/0.6423, allocations: 35.42 kB / 0.4951 GB, free: 8.176 MB / 426.7 MB Notification: Performance of SimCode: time 1.333e-06/0.6423, allocations: 0 / 0.4951 GB, free: 8.176 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_CombiTable1Dv_Test3CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test3CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test3CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test3Functions.cpp:231:31: error: no matching function for call to 'ModelicaStandardTables_CombiTable1D_init2' externalCombiTable1D__ext = ModelicaStandardTables_CombiTable1D_init2(fileName_.c_str(), tableName_.c_str(), tmp6.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_CombiTable1Dv_Test3CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test3FMU.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_CombiTable1Dv_Test3CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test3CalcHelperMain.o] Error 1