Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test20,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.739/2.739, allocations: 270 MB / 282.6 MB, free: 1.898 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.88e-05/3.88e-05, allocations: 8 kB / 347.1 MB, free: 3.172 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3996/0.3997, allocations: 61.87 MB / 408.9 MB, free: 10.78 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1655/0.5652, allocations: 91.14 MB / 0.4883 GB, free: 15.52 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002606/0.5655, allocations: 71.95 kB / 0.4884 GB, free: 15.45 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03873/0.6043, allocations: 8.934 MB / 0.4971 GB, free: 6.5 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.6043, allocations: 0 / 0.4971 GB, free: 6.5 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.575e-05/0.6044, allocations: 20.09 kB / 0.4972 GB, free: 6.48 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.0008199/0.6052, allocations: 0.5482 MB / 0.4977 GB, free: 5.887 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/0.6053, allocations: 8.031 kB / 0.4977 GB, free: 5.879 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.203e-05/0.6054, allocations: 46.55 kB / 0.4977 GB, free: 5.824 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001034/0.6055, allocations: 39.53 kB / 0.4978 GB, free: 5.785 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000815/0.6063, allocations: 356.9 kB / 0.4981 GB, free: 5.395 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.6063, allocations: 16 kB / 0.4981 GB, free: 5.379 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.056e-05/0.6064, allocations: 8 kB / 0.4981 GB, free: 5.371 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003034/0.6067, allocations: 110.5 kB / 0.4982 GB, free: 5.258 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.738e-05/0.6067, allocations: 0 / 0.4982 GB, free: 5.258 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.127e-05/0.6068, allocations: 7.984 kB / 0.4983 GB, free: 5.25 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.878e-06/0.6068, allocations: 8 kB / 0.4983 GB, free: 5.242 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002195/0.607, allocations: 67.98 kB / 0.4983 GB, free: 5.176 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001119/0.6082, allocations: 0.5392 MB / 0.4989 GB, free: 4.586 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002632/0.6084, allocations: 98.53 kB / 0.4989 GB, free: 4.48 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/0.6086, allocations: 40.81 kB / 0.499 GB, free: 4.438 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.607e-05/0.6086, allocations: 0 / 0.499 GB, free: 4.438 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.6087, allocations: 38.56 kB / 0.499 GB, free: 4.391 MB / 426.7 MB Notification: Performance of pre-optimization done (n=11): time 2.044e-06/0.6087, allocations: 0 / 0.499 GB, free: 4.391 MB / 426.7 MB Notification: Performance of matching and sorting (n=17): time 0.001296/0.61, allocations: 380 kB / 0.4994 GB, free: 4.012 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.755e-05/0.61, allocations: 51.41 kB / 0.4994 GB, free: 3.949 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001005/0.611, allocations: 495.1 kB / 0.4999 GB, free: 3.453 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.137e-05/0.6111, allocations: 29.7 kB / 0.4999 GB, free: 3.418 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001769/0.6113, allocations: 238.8 kB / 0.5002 GB, free: 3.184 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.564e-05/0.6114, allocations: 59.12 kB / 0.5002 GB, free: 3.125 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.216e-05/0.6114, allocations: 4 kB / 0.5002 GB, free: 3.121 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.6115, allocations: 318.8 kB / 0.5005 GB, free: 2.801 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001598/0.6117, allocations: 59.92 kB / 0.5006 GB, free: 2.742 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001475/0.6119, allocations: 53.55 kB / 0.5006 GB, free: 2.691 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001845/0.6121, allocations: 74.62 kB / 0.5007 GB, free: 2.621 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.6121, allocations: 0 / 0.5007 GB, free: 2.621 MB / 426.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004546/0.6125, allocations: 173.5 kB / 0.5009 GB, free: 2.445 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.6126, allocations: 4 kB / 0.5009 GB, free: 2.441 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.453e-06/0.6126, allocations: 0 / 0.5009 GB, free: 2.441 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.18e-05/0.6126, allocations: 4 kB / 0.5009 GB, free: 2.438 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003121/0.6129, allocations: 39.92 kB / 0.5009 GB, free: 2.398 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.613, allocations: 0 / 0.5009 GB, free: 2.398 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002332/0.6132, allocations: 15.98 kB / 0.5009 GB, free: 2.383 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.198e-05/0.6133, allocations: 4 kB / 0.5009 GB, free: 2.379 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.0001008/0.6134, allocations: 108.9 kB / 0.501 GB, free: 2.266 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001137/0.6135, allocations: 39.53 kB / 0.5011 GB, free: 2.227 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007959/0.6143, allocations: 265.1 kB / 0.5013 GB, free: 1.961 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.6143, allocations: 7.922 kB / 0.5013 GB, free: 1.953 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.6143, allocations: 7.984 kB / 0.5013 GB, free: 1.945 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.6144, allocations: 0 / 0.5013 GB, free: 1.945 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001466/0.6158, allocations: 0.7146 MB / 0.502 GB, free: 1.176 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.6159, allocations: 4 kB / 0.502 GB, free: 1.172 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002686/0.6161, allocations: 35.98 kB / 0.5021 GB, free: 1.137 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.06e-05/0.6162, allocations: 4 kB / 0.5021 GB, free: 1.133 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.837e-05/0.6162, allocations: 0 / 0.5021 GB, free: 1.133 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/0.6162, allocations: 0 / 0.5021 GB, free: 1.133 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.6162, allocations: 0 / 0.5021 GB, free: 1.133 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005744/0.6168, allocations: 318.8 kB / 0.5024 GB, free: 0.8047 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002042/0.617, allocations: 140.6 kB / 0.5025 GB, free: 0.6484 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.887e-05/0.6171, allocations: 11.98 kB / 0.5025 GB, free: 0.6367 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000204/0.6173, allocations: 8 kB / 0.5025 GB, free: 0.6289 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.623e-05/0.6174, allocations: 11.98 kB / 0.5026 GB, free: 0.6172 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.941e-05/0.6174, allocations: 4 kB / 0.5026 GB, free: 0.6133 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008222/0.6183, allocations: 401.1 kB / 0.5029 GB, free: 228 kB / 426.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6183, allocations: 0 / 0.5029 GB, free: 228 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005248/0.6188, allocations: 67.92 kB / 0.503 GB, free: 160 kB / 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 (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.002887/0.6217, allocations: 1.44 MB / 0.5044 GB, free: 14.92 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0005138/0.6223, allocations: 143.7 kB / 0.5045 GB, free: 14.78 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.6223, allocations: 4 kB / 0.5046 GB, free: 14.77 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001931/0.6225, allocations: 87.91 kB / 0.5046 GB, free: 14.69 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006855/0.6232, allocations: 60.55 kB / 0.5047 GB, free: 14.63 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001926/0.6251, allocations: 0.7034 MB / 0.5054 GB, free: 13.88 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005289/0.6257, allocations: 0.8299 MB / 0.5062 GB, free: 13.03 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004097/0.6262, allocations: 127.4 kB / 0.5063 GB, free: 12.9 MB / 442.7 MB Notification: Performance of SimCode: time 2.895e-06/0.6262, allocations: 0 / 0.5063 GB, free: 12.9 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_Test20CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test20CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test20CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test20Functions.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_Test20CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test20FMU.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_Test20CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test20CalcHelperMain.o] Error 1