Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test7,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.564/2.564, allocations: 270 MB / 282.6 MB, free: 1.848 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.689e-05/3.677e-05, allocations: 4 kB / 347.1 MB, free: 3.145 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4193/0.4194, allocations: 61.88 MB / 408.9 MB, free: 10.69 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1894/0.6088, allocations: 87.92 MB / 496.9 MB, free: 2.645 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002883/0.6091, allocations: 71.97 kB / 496.9 MB, free: 2.574 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01661/0.6258, allocations: 3.718 MB / 0.4889 GB, free: 14.84 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.6258, allocations: 0 / 0.4889 GB, free: 14.84 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.324e-05/0.6258, allocations: 0 / 0.4889 GB, free: 14.84 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005386/0.6264, allocations: 370.3 kB / 0.4893 GB, free: 14.44 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.6264, allocations: 8.031 kB / 0.4893 GB, free: 14.43 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.987e-05/0.6265, allocations: 38.55 kB / 0.4893 GB, free: 14.38 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.714e-05/0.6265, allocations: 7.906 kB / 0.4893 GB, free: 14.38 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003052/0.6269, allocations: 190.9 kB / 0.4895 GB, free: 14.15 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.6269, allocations: 7.984 kB / 0.4895 GB, free: 14.14 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.618e-05/0.6269, allocations: 7.953 kB / 0.4895 GB, free: 14.13 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001259/0.6271, allocations: 45.64 kB / 0.4896 GB, free: 14.08 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.6271, allocations: 0 / 0.4896 GB, free: 14.08 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.6271, allocations: 0 / 0.4896 GB, free: 14.08 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.6271, allocations: 0 / 0.4896 GB, free: 14.08 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.861e-05/0.6272, allocations: 15.98 kB / 0.4896 GB, free: 14.07 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004774/0.6277, allocations: 276.8 kB / 0.4898 GB, free: 13.75 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002319/0.628, allocations: 46.48 kB / 0.4899 GB, free: 13.69 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.685e-05/0.628, allocations: 8.859 kB / 0.4899 GB, free: 13.68 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.628, allocations: 0 / 0.4899 GB, free: 13.68 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.953e-05/0.6281, allocations: 34.56 kB / 0.4899 GB, free: 13.64 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 1.593e-06/0.6281, allocations: 0 / 0.4899 GB, free: 13.64 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005181/0.6286, allocations: 117.4 kB / 0.49 GB, free: 13.52 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.185e-05/0.6287, allocations: 51.41 kB / 0.4901 GB, free: 13.45 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002301/0.6289, allocations: 141.5 kB / 0.4902 GB, free: 13.31 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.629, allocations: 25.7 kB / 0.4902 GB, free: 13.28 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.185e-05/0.6291, allocations: 162.6 kB / 0.4904 GB, free: 13.12 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.094e-05/0.6291, allocations: 15.73 kB / 0.4904 GB, free: 13.1 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.371e-06/0.6291, allocations: 0 / 0.4904 GB, free: 13.1 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.6293, allocations: 322.8 kB / 0.4907 GB, free: 12.78 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.552e-05/0.6293, allocations: 8 kB / 0.4907 GB, free: 12.77 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.691e-05/0.6293, allocations: 12 kB / 0.4907 GB, free: 12.76 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.301e-05/0.6294, allocations: 8 kB / 0.4907 GB, free: 12.75 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.6294, allocations: 0 / 0.4907 GB, free: 12.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001526/0.6296, allocations: 57.69 kB / 0.4908 GB, free: 12.69 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.6296, allocations: 7.938 kB / 0.4908 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.6296, allocations: 0 / 0.4908 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.6296, allocations: 0 / 0.4908 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001405/0.6298, allocations: 15.98 kB / 0.4908 GB, free: 12.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.6298, allocations: 4 kB / 0.4908 GB, free: 12.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.725e-05/0.6299, allocations: 4 kB / 0.4908 GB, free: 12.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.6299, allocations: 8 kB / 0.4908 GB, free: 12.65 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 (5): * Single equations (assignments): 5 * 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 8.407e-05/0.63, allocations: 108.9 kB / 0.4909 GB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.16e-05/0.6301, allocations: 7.906 kB / 0.491 GB, free: 12.53 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002206/0.6303, allocations: 65.78 kB / 0.491 GB, free: 12.46 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/0.6303, allocations: 4 kB / 0.491 GB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.6303, allocations: 3.938 kB / 0.491 GB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.6304, allocations: 4 kB / 0.491 GB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004921/0.6309, allocations: 338.4 kB / 0.4914 GB, free: 12.06 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.6309, allocations: 0 / 0.4914 GB, free: 12.06 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001197/0.631, allocations: 15.98 kB / 0.4914 GB, free: 12.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.631, allocations: 0 / 0.4914 GB, free: 12.04 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.397e-06/0.631, allocations: 384 / 0.4914 GB, free: 12.04 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.039e-06/0.6311, allocations: 3.984 kB / 0.4914 GB, free: 12.04 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.6311, allocations: 0 / 0.4914 GB, free: 12.04 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000197/0.6313, allocations: 175.3 kB / 0.4915 GB, free: 11.85 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.819e-05/0.6314, allocations: 85.09 kB / 0.4916 GB, free: 11.75 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.099e-05/0.6314, allocations: 0 / 0.4916 GB, free: 11.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/0.6315, allocations: 4 kB / 0.4916 GB, free: 11.75 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.84e-05/0.6316, allocations: 7.984 kB / 0.4916 GB, free: 11.74 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.124e-06/0.6316, allocations: 0 / 0.4916 GB, free: 11.74 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001427/0.6317, allocations: 123.2 kB / 0.4917 GB, free: 11.62 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6318, allocations: 0 / 0.4917 GB, free: 11.62 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000341/0.6321, allocations: 20 kB / 0.4918 GB, free: 11.6 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.001586/0.6337, allocations: 0.9961 MB / 0.4927 GB, free: 10.71 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001586/0.6339, allocations: 27.94 kB / 0.4928 GB, free: 10.68 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.6339, allocations: 0 / 0.4928 GB, free: 10.68 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.311e-05/0.634, allocations: 16 kB / 0.4928 GB, free: 10.67 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003073/0.6343, allocations: 15.98 kB / 0.4928 GB, free: 10.65 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006364/0.635, allocations: 196.2 kB / 0.493 GB, free: 10.42 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003192/0.6353, allocations: 0.7004 MB / 0.4937 GB, free: 9.691 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.545e-05/0.6354, allocations: 19.44 kB / 0.4937 GB, free: 9.672 MB / 426.7 MB Notification: Performance of SimCode: time 1.042e-06/0.6354, allocations: 0 / 0.4937 GB, free: 9.672 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_Test7CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test7CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test7CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test7Functions.cpp:194:31: error: no matching function for call to 'ModelicaStandardTables_CombiTable1D_init2' externalCombiTable1D__ext = ModelicaStandardTables_CombiTable1D_init2(fileName_.c_str(), tableName_.c_str(), tmp5.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_Test7CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test7FMU.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_Test7CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test7CalcHelperMain.o] Error 1