Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test21,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.711/2.711, allocations: 270 MB / 282.6 MB, free: 1.863 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.584e-05/3.587e-05, allocations: 4 kB / 347.1 MB, free: 3.137 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3983/0.3984, allocations: 61.86 MB / 408.9 MB, free: 10.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1683/0.5668, allocations: 91.29 MB / 0.4885 GB, free: 15.36 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002815/0.5671, allocations: 79.94 kB / 0.4886 GB, free: 15.28 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04113/0.6083, allocations: 9.716 MB / 0.498 GB, free: 5.543 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.552e-06/0.6083, allocations: 0 / 0.498 GB, free: 5.543 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.005e-05/0.6084, allocations: 15.94 kB / 0.4981 GB, free: 5.527 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008064/0.6092, allocations: 0.5638 MB / 0.4986 GB, free: 4.918 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.6093, allocations: 8.031 kB / 0.4986 GB, free: 4.91 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.124e-05/0.6093, allocations: 42.55 kB / 0.4987 GB, free: 4.859 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000105/0.6094, allocations: 43.44 kB / 0.4987 GB, free: 4.816 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007637/0.6102, allocations: 357.1 kB / 0.499 GB, free: 4.426 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.6103, allocations: 16 kB / 0.4991 GB, free: 4.41 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.574e-05/0.6103, allocations: 8 kB / 0.4991 GB, free: 4.402 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002948/0.6106, allocations: 106.5 kB / 0.4992 GB, free: 4.293 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/0.6106, allocations: 3.938 kB / 0.4992 GB, free: 4.289 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.125e-05/0.6107, allocations: 4 kB / 0.4992 GB, free: 4.285 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.6107, allocations: 4 kB / 0.4992 GB, free: 4.281 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002303/0.6109, allocations: 71.97 kB / 0.4993 GB, free: 4.211 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001089/0.612, allocations: 0.5392 MB / 0.4998 GB, free: 3.621 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002589/0.6123, allocations: 102.5 kB / 0.4999 GB, free: 3.512 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.852e-05/0.6124, allocations: 36.8 kB / 0.4999 GB, free: 3.473 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.581e-05/0.6125, allocations: 4 kB / 0.4999 GB, free: 3.469 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.6125, allocations: 38.56 kB / 0.5 GB, free: 3.422 MB / 426.7 MB Notification: Performance of pre-optimization done (n=11): time 2.555e-06/0.6125, allocations: 0 / 0.5 GB, free: 3.422 MB / 426.7 MB Notification: Performance of matching and sorting (n=17): time 0.001192/0.6137, allocations: 380 kB / 0.5003 GB, free: 3.043 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.73e-05/0.6138, allocations: 51.41 kB / 0.5004 GB, free: 2.98 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009507/0.6147, allocations: 495.1 kB / 0.5008 GB, free: 2.488 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.542e-05/0.6148, allocations: 29.7 kB / 0.5009 GB, free: 2.453 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001703/0.615, allocations: 234.8 kB / 0.5011 GB, free: 2.223 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.991e-05/0.615, allocations: 59.19 kB / 0.5011 GB, free: 2.164 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.719e-05/0.6151, allocations: 8 kB / 0.5012 GB, free: 2.156 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.6152, allocations: 318.8 kB / 0.5015 GB, free: 1.836 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001521/0.6154, allocations: 55.92 kB / 0.5015 GB, free: 1.781 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001486/0.6155, allocations: 57.55 kB / 0.5016 GB, free: 1.727 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000173/0.6157, allocations: 74.62 kB / 0.5016 GB, free: 1.656 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.6157, allocations: 0 / 0.5016 GB, free: 1.656 MB / 426.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004195/0.6161, allocations: 169.5 kB / 0.5018 GB, free: 1.484 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.6162, allocations: 4 kB / 0.5018 GB, free: 1.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.6162, allocations: 0 / 0.5018 GB, free: 1.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.6162, allocations: 8 kB / 0.5018 GB, free: 1.473 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002916/0.6165, allocations: 39.92 kB / 0.5018 GB, free: 1.434 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.6165, allocations: 0 / 0.5018 GB, free: 1.434 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001744/0.6167, allocations: 11.98 kB / 0.5019 GB, free: 1.422 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.318e-05/0.6168, allocations: 4 kB / 0.5019 GB, free: 1.418 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 (17): * Single equations (assignments): 17 * 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.0001004/0.6169, allocations: 120.9 kB / 0.502 GB, free: 1.293 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001077/0.617, allocations: 39.44 kB / 0.502 GB, free: 1.254 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007024/0.6177, allocations: 261.2 kB / 0.5023 GB, free: 0.9922 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.6177, allocations: 4 kB / 0.5023 GB, free: 0.9883 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.6177, allocations: 3.984 kB / 0.5023 GB, free: 0.9844 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.772e-06/0.6178, allocations: 3.984 kB / 0.5023 GB, free: 0.9805 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001349/0.6191, allocations: 0.7147 MB / 0.503 GB, free: 216 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.6191, allocations: 0 / 0.503 GB, free: 216 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002414/0.6194, allocations: 35.97 kB / 0.503 GB, free: 180 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.421e-06/0.6194, allocations: 0 / 0.503 GB, free: 180 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.153e-05/0.6194, allocations: 11.94 kB / 0.503 GB, free: 168 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.6195, allocations: 0 / 0.503 GB, free: 168 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.6195, allocations: 0 / 0.503 GB, free: 168 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000551/0.62, allocations: 314.8 kB / 0.5033 GB, free: 15.84 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001939/0.6202, allocations: 144.6 kB / 0.5035 GB, free: 15.68 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.007e-05/0.6203, allocations: 0 / 0.5035 GB, free: 15.68 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001952/0.6205, allocations: 15.98 kB / 0.5035 GB, free: 15.66 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.782e-05/0.6206, allocations: 11.98 kB / 0.5035 GB, free: 15.65 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.955e-05/0.6206, allocations: 8 kB / 0.5035 GB, free: 15.64 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007294/0.6214, allocations: 397.1 kB / 0.5039 GB, free: 15.26 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.6214, allocations: 0 / 0.5039 GB, free: 15.26 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005522/0.6219, allocations: 67.94 kB / 0.5039 GB, free: 15.19 MB / 442.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 (17): * Single equations (assignments): 17 * 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.002735/0.6247, allocations: 1.428 MB / 0.5053 GB, free: 13.96 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004293/0.6251, allocations: 151.8 kB / 0.5055 GB, free: 13.81 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.6252, allocations: 0 / 0.5055 GB, free: 13.81 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001926/0.6254, allocations: 80.22 kB / 0.5055 GB, free: 13.73 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006625/0.626, allocations: 63.56 kB / 0.5056 GB, free: 13.68 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001838/0.6279, allocations: 0.7188 MB / 0.5063 GB, free: 12.91 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004966/0.6284, allocations: 0.826 MB / 0.5071 GB, free: 12.06 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003191/0.6288, allocations: 131.4 kB / 0.5072 GB, free: 11.93 MB / 442.7 MB Notification: Performance of SimCode: time 1.062e-06/0.6288, allocations: 0 / 0.5072 GB, free: 11.93 MB / 442.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_CombiTable2Dv_Test21CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test21CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test21CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test21Functions.cpp:330:31: error: no matching function for call to 'ModelicaStandardTables_CombiTable1D_init2' externalCombiTable1D__ext = ModelicaStandardTables_CombiTable1D_init2(fileName_.c_str(), tableName_.c_str(), tmp13.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_CombiTable2Dv_Test21CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test21FMU.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_CombiTable2Dv_Test21CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test21CalcHelperMain.o] Error 1