Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test34,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test34",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.495/2.495, allocations: 270 MB / 282.6 MB, free: 1.832 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.973e-05/3.969e-05, allocations: 4 kB / 347.1 MB, free: 3.109 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4265/0.4265, allocations: 61.87 MB / 408.9 MB, free: 10.65 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1659/0.5925, allocations: 88.14 MB / 497.1 MB, free: 2.387 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000291/0.5929, allocations: 79.94 kB / 497.1 MB, free: 2.309 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01805/0.6109, allocations: 4.277 MB / 0.4897 GB, free: 14.02 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.611, allocations: 0 / 0.4897 GB, free: 14.02 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.923e-05/0.611, allocations: 4 kB / 0.4897 GB, free: 14.02 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.000491/0.6115, allocations: 394.1 kB / 0.49 GB, free: 13.59 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.6116, allocations: 16.03 kB / 0.4901 GB, free: 13.57 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.661e-05/0.6117, allocations: 34.55 kB / 0.4901 GB, free: 13.53 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.952e-05/0.6117, allocations: 7.906 kB / 0.4901 GB, free: 13.52 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003152/0.612, allocations: 207.8 kB / 0.4903 GB, free: 13.28 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.6121, allocations: 0 / 0.4903 GB, free: 13.28 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.864e-05/0.6121, allocations: 7.953 kB / 0.4903 GB, free: 13.27 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/0.6122, allocations: 45.69 kB / 0.4903 GB, free: 13.22 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.6123, allocations: 0 / 0.4903 GB, free: 13.22 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.858e-05/0.6123, allocations: 4 kB / 0.4904 GB, free: 13.21 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.401e-06/0.6123, allocations: 3.938 kB / 0.4904 GB, free: 13.21 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.786e-05/0.6124, allocations: 16 kB / 0.4904 GB, free: 13.2 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005664/0.613, allocations: 316.7 kB / 0.4907 GB, free: 12.84 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001048/0.6131, allocations: 38.52 kB / 0.4907 GB, free: 12.79 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.495e-05/0.6132, allocations: 16.94 kB / 0.4907 GB, free: 12.77 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.809e-05/0.6132, allocations: 3.938 kB / 0.4907 GB, free: 12.77 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/0.6132, allocations: 34.56 kB / 0.4908 GB, free: 12.72 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 2.134e-06/0.6133, allocations: 4 kB / 0.4908 GB, free: 12.72 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007108/0.614, allocations: 165.4 kB / 0.4909 GB, free: 12.55 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.169e-05/0.614, allocations: 51.41 kB / 0.491 GB, free: 12.49 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002798/0.6143, allocations: 184.9 kB / 0.4912 GB, free: 12.3 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.431e-05/0.6144, allocations: 29.7 kB / 0.4912 GB, free: 12.27 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.451e-05/0.6145, allocations: 166.5 kB / 0.4913 GB, free: 12.11 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.859e-05/0.6145, allocations: 27.64 kB / 0.4914 GB, free: 12.08 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.833e-06/0.6145, allocations: 0 / 0.4914 GB, free: 12.08 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.6147, allocations: 322.8 kB / 0.4917 GB, free: 11.75 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.581e-05/0.6147, allocations: 19.98 kB / 0.4917 GB, free: 11.73 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.98e-05/0.6148, allocations: 23.94 kB / 0.4917 GB, free: 11.71 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.3e-05/0.6149, allocations: 23.98 kB / 0.4917 GB, free: 11.69 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.6149, allocations: 0 / 0.4917 GB, free: 11.69 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002087/0.6151, allocations: 81.75 kB / 0.4918 GB, free: 11.6 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.6152, allocations: 15.98 kB / 0.4918 GB, free: 11.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.6152, allocations: 0 / 0.4918 GB, free: 11.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.6152, allocations: 0 / 0.4918 GB, free: 11.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001876/0.6154, allocations: 23.92 kB / 0.4919 GB, free: 11.56 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.689e-06/0.6154, allocations: 3.984 kB / 0.4919 GB, free: 11.56 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.3e-05/0.6155, allocations: 7.906 kB / 0.4919 GB, free: 11.55 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.403e-05/0.6155, allocations: 4 kB / 0.4919 GB, free: 11.55 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 8.81e-05/0.6156, allocations: 112.9 kB / 0.492 GB, free: 11.43 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.969e-05/0.6157, allocations: 11.91 kB / 0.492 GB, free: 11.42 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002956/0.616, allocations: 106.3 kB / 0.4921 GB, free: 11.31 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.616, allocations: 0 / 0.4921 GB, free: 11.31 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.616, allocations: 0 / 0.4921 GB, free: 11.31 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.616, allocations: 3.938 kB / 0.4921 GB, free: 11.31 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000708/0.6168, allocations: 411.2 kB / 0.4925 GB, free: 10.85 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.6168, allocations: 12.02 kB / 0.4925 GB, free: 10.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001442/0.6169, allocations: 19.94 kB / 0.4925 GB, free: 10.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.617, allocations: 0 / 0.4925 GB, free: 10.82 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.617, allocations: 0 / 0.4925 GB, free: 10.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/0.617, allocations: 4.453 kB / 0.4925 GB, free: 10.81 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.409e-06/0.617, allocations: 4 kB / 0.4925 GB, free: 10.81 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002764/0.6173, allocations: 206 kB / 0.4927 GB, free: 10.58 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.562e-05/0.6174, allocations: 101 kB / 0.4928 GB, free: 10.46 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.556e-05/0.6174, allocations: 0 / 0.4928 GB, free: 10.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001294/0.6176, allocations: 11.98 kB / 0.4928 GB, free: 10.45 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.033e-05/0.6176, allocations: 11.89 kB / 0.4928 GB, free: 10.44 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.208e-06/0.6177, allocations: 3.938 kB / 0.4928 GB, free: 10.44 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000206/0.6179, allocations: 152.6 kB / 0.493 GB, free: 10.29 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6179, allocations: 0 / 0.493 GB, free: 10.29 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003735/0.6183, allocations: 43.86 kB / 0.493 GB, free: 10.25 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.001805/0.6201, allocations: 1.149 MB / 0.4942 GB, free: 9.219 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002226/0.6203, allocations: 55.94 kB / 0.4942 GB, free: 9.164 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.6203, allocations: 0 / 0.4942 GB, free: 9.164 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.235e-05/0.6204, allocations: 31.92 kB / 0.4942 GB, free: 9.133 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003183/0.6208, allocations: 15.94 kB / 0.4943 GB, free: 9.117 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000819/0.6216, allocations: 289.6 kB / 0.4945 GB, free: 8.781 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003456/0.622, allocations: 0.7197 MB / 0.4952 GB, free: 8.039 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001037/0.6221, allocations: 35.42 kB / 0.4953 GB, free: 8.004 MB / 426.7 MB Notification: Performance of SimCode: time 9.02e-07/0.6221, allocations: 0 / 0.4953 GB, free: 8.004 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_Test34CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test34CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test34CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test34Functions.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_Test34CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test34FMU.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_Test34CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test34CalcHelperMain.o] Error 1