Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test28,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test28",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.692/2.692, allocations: 270 MB / 282.6 MB, free: 1.945 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.749e-05/3.759e-05, allocations: 4 kB / 347.1 MB, free: 3.219 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4429/0.443, allocations: 61.86 MB / 408.9 MB, free: 10.84 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1881/0.6311, allocations: 88.14 MB / 497.1 MB, free: 2.578 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000274/0.6315, allocations: 79.95 kB / 497.1 MB, free: 2.5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01882/0.6503, allocations: 4.395 MB / 0.4898 GB, free: 14.09 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.6504, allocations: 0 / 0.4898 GB, free: 14.09 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.969e-05/0.6504, allocations: 4 kB / 0.4898 GB, free: 14.09 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.0005139/0.6509, allocations: 398.2 kB / 0.4902 GB, free: 13.66 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.275e-05/0.651, allocations: 12.03 kB / 0.4902 GB, free: 13.64 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.33e-05/0.651, allocations: 34.56 kB / 0.4902 GB, free: 13.6 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.63e-05/0.6511, allocations: 15.75 kB / 0.4902 GB, free: 13.59 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003326/0.6514, allocations: 210.8 kB / 0.4904 GB, free: 13.34 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.6515, allocations: 7.953 kB / 0.4904 GB, free: 13.33 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.828e-05/0.6515, allocations: 3.984 kB / 0.4904 GB, free: 13.33 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001319/0.6517, allocations: 49.64 kB / 0.4905 GB, free: 13.27 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.6517, allocations: 3.984 kB / 0.4905 GB, free: 13.27 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.6517, allocations: 4 kB / 0.4905 GB, free: 13.27 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.6517, allocations: 4 kB / 0.4905 GB, free: 13.26 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.39e-05/0.6518, allocations: 16 kB / 0.4905 GB, free: 13.25 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005549/0.6524, allocations: 316.7 kB / 0.4908 GB, free: 12.89 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000109/0.6525, allocations: 42.55 kB / 0.4909 GB, free: 12.84 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.561e-05/0.6526, allocations: 16.86 kB / 0.4909 GB, free: 12.82 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.506e-05/0.6526, allocations: 0 / 0.4909 GB, free: 12.82 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/0.6526, allocations: 30.56 kB / 0.4909 GB, free: 12.78 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 1.563e-06/0.6526, allocations: 0 / 0.4909 GB, free: 12.78 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007503/0.6534, allocations: 173.2 kB / 0.4911 GB, free: 12.6 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.801e-05/0.6535, allocations: 59.39 kB / 0.4911 GB, free: 12.53 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003509/0.6538, allocations: 215.1 kB / 0.4913 GB, free: 12.31 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.6539, allocations: 29.7 kB / 0.4914 GB, free: 12.27 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.475e-05/0.654, allocations: 166.6 kB / 0.4915 GB, free: 12.11 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.206e-05/0.654, allocations: 31.55 kB / 0.4915 GB, free: 12.08 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.773e-06/0.654, allocations: 0 / 0.4915 GB, free: 12.08 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.6542, allocations: 310.8 kB / 0.4918 GB, free: 11.77 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.598e-05/0.6542, allocations: 23.98 kB / 0.4919 GB, free: 11.74 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.537e-05/0.6543, allocations: 27.94 kB / 0.4919 GB, free: 11.71 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.522e-05/0.6544, allocations: 23.98 kB / 0.4919 GB, free: 11.69 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.6544, allocations: 0 / 0.4919 GB, free: 11.69 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002084/0.6546, allocations: 89.66 kB / 0.492 GB, free: 11.6 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.6547, allocations: 4 kB / 0.492 GB, free: 11.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.6547, allocations: 0 / 0.492 GB, free: 11.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.6547, allocations: 0 / 0.492 GB, free: 11.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001766/0.6549, allocations: 23.92 kB / 0.492 GB, free: 11.57 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.6549, allocations: 0 / 0.492 GB, free: 11.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.184e-05/0.655, allocations: 15.95 kB / 0.492 GB, free: 11.55 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.655, allocations: 0 / 0.492 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.695e-05/0.6551, allocations: 112.9 kB / 0.4921 GB, free: 11.44 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.128e-05/0.6552, allocations: 11.81 kB / 0.4922 GB, free: 11.43 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003101/0.6555, allocations: 115.5 kB / 0.4923 GB, free: 11.31 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.6555, allocations: 0 / 0.4923 GB, free: 11.31 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.6555, allocations: 0 / 0.4923 GB, free: 11.31 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.6556, allocations: 3.984 kB / 0.4923 GB, free: 11.3 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007169/0.6563, allocations: 423.3 kB / 0.4927 GB, free: 10.83 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.6563, allocations: 0 / 0.4927 GB, free: 10.83 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001434/0.6565, allocations: 23.98 kB / 0.4927 GB, free: 10.81 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.426e-06/0.6565, allocations: 4 kB / 0.4927 GB, free: 10.8 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.6565, allocations: 4 kB / 0.4927 GB, free: 10.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.6565, allocations: 7.891 kB / 0.4927 GB, free: 10.79 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.6565, allocations: 0 / 0.4927 GB, free: 10.79 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002734/0.6568, allocations: 209.9 kB / 0.4929 GB, free: 10.56 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.226e-05/0.6569, allocations: 100.9 kB / 0.493 GB, free: 10.45 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.108e-05/0.657, allocations: 7.953 kB / 0.493 GB, free: 10.44 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001359/0.6571, allocations: 11.98 kB / 0.493 GB, free: 10.43 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.998e-05/0.6572, allocations: 8 kB / 0.493 GB, free: 10.42 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.348e-05/0.6572, allocations: 4 kB / 0.493 GB, free: 10.41 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002472/0.6575, allocations: 179.5 kB / 0.4932 GB, free: 10.24 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.6575, allocations: 0 / 0.4932 GB, free: 10.24 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003681/0.6578, allocations: 31.94 kB / 0.4932 GB, free: 10.21 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.001817/0.6597, allocations: 1.162 MB / 0.4944 GB, free: 9.164 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002247/0.6599, allocations: 55.97 kB / 0.4944 GB, free: 9.109 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.6599, allocations: 0 / 0.4944 GB, free: 9.109 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.692e-05/0.66, allocations: 35.92 kB / 0.4945 GB, free: 9.074 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003273/0.6604, allocations: 19.09 kB / 0.4945 GB, free: 9.055 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000914/0.6613, allocations: 317.6 kB / 0.4948 GB, free: 8.699 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003487/0.6617, allocations: 0.716 MB / 0.4955 GB, free: 7.957 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001247/0.6618, allocations: 39.41 kB / 0.4955 GB, free: 7.918 MB / 426.7 MB Notification: Performance of SimCode: time 3.106e-06/0.6618, allocations: 0 / 0.4955 GB, free: 7.918 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_Test28CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test28CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test28CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test28Functions.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_Test28CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test28FMU.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_Test28CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test28CalcHelperMain.o] Error 1