Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test5,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.79/2.79, allocations: 270 MB / 282.6 MB, free: 1.844 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.301e-05/4.305e-05, allocations: 8 kB / 347.1 MB, free: 3.117 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4239/0.424, allocations: 61.87 MB / 408.9 MB, free: 10.66 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1684/0.5925, allocations: 89.39 MB / 498.3 MB, free: 1.152 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002922/0.5928, allocations: 75.95 kB / 498.4 MB, free: 1.078 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02866/0.6215, allocations: 6.298 MB / 0.4929 GB, free: 10.77 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.6216, allocations: 0 / 0.4929 GB, free: 10.77 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.433e-05/0.6216, allocations: 4 kB / 0.4929 GB, free: 10.77 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006886/0.6223, allocations: 430 kB / 0.4933 GB, free: 10.3 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.219e-05/0.6224, allocations: 12.02 kB / 0.4933 GB, free: 10.29 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.262e-05/0.6225, allocations: 34.56 kB / 0.4933 GB, free: 10.25 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.901e-05/0.6225, allocations: 15.81 kB / 0.4933 GB, free: 10.23 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004694/0.623, allocations: 222.7 kB / 0.4936 GB, free: 9.973 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.413e-05/0.623, allocations: 15.95 kB / 0.4936 GB, free: 9.957 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.785e-05/0.6231, allocations: 4 kB / 0.4936 GB, free: 9.953 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002039/0.6233, allocations: 73.59 kB / 0.4936 GB, free: 9.875 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/0.6233, allocations: 7.844 kB / 0.4936 GB, free: 9.867 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.6234, allocations: 0 / 0.4936 GB, free: 9.867 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.747e-06/0.6234, allocations: 4 kB / 0.4937 GB, free: 9.863 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001556/0.6235, allocations: 43.97 kB / 0.4937 GB, free: 9.82 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006605/0.6242, allocations: 336.7 kB / 0.494 GB, free: 9.441 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003496/0.6246, allocations: 82.48 kB / 0.4941 GB, free: 9.352 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.319e-05/0.6247, allocations: 28.8 kB / 0.4941 GB, free: 9.32 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/0.6247, allocations: 0 / 0.4941 GB, free: 9.32 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002004/0.6249, allocations: 75.53 kB / 0.4942 GB, free: 9.234 MB / 426.7 MB Notification: Performance of pre-optimization done (n=9): time 2.294e-06/0.6249, allocations: 0 / 0.4942 GB, free: 9.234 MB / 426.7 MB Notification: Performance of matching and sorting (n=14): time 0.001028/0.626, allocations: 276.9 kB / 0.4945 GB, free: 8.957 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.28e-05/0.6261, allocations: 55.36 kB / 0.4945 GB, free: 8.891 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004027/0.6265, allocations: 229.6 kB / 0.4947 GB, free: 8.652 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.085e-05/0.6265, allocations: 29.7 kB / 0.4948 GB, free: 8.617 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.6266, allocations: 178.4 kB / 0.4949 GB, free: 8.441 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.49e-05/0.6267, allocations: 43.45 kB / 0.495 GB, free: 8.398 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.308e-06/0.6267, allocations: 0 / 0.495 GB, free: 8.398 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.6269, allocations: 318.8 kB / 0.4953 GB, free: 8.078 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001429/0.627, allocations: 36 kB / 0.4953 GB, free: 8.043 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001373/0.6272, allocations: 57.7 kB / 0.4954 GB, free: 7.98 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001326/0.6273, allocations: 44.11 kB / 0.4954 GB, free: 7.938 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.6273, allocations: 0 / 0.4954 GB, free: 7.938 MB / 426.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003948/0.6277, allocations: 149.5 kB / 0.4955 GB, free: 7.785 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.6278, allocations: 4 kB / 0.4956 GB, free: 7.781 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.6278, allocations: 7.984 kB / 0.4956 GB, free: 7.773 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.6278, allocations: 4 kB / 0.4956 GB, free: 7.77 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002212/0.6281, allocations: 28.02 kB / 0.4956 GB, free: 7.742 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.263e-05/0.6281, allocations: 4 kB / 0.4956 GB, free: 7.738 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001239/0.6282, allocations: 8.516 kB / 0.4956 GB, free: 7.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.268e-05/0.6283, allocations: 4.109 kB / 0.4956 GB, free: 7.727 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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.000109/0.6284, allocations: 116.9 kB / 0.4957 GB, free: 7.605 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.673e-05/0.6284, allocations: 15.81 kB / 0.4957 GB, free: 7.59 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005638/0.629, allocations: 191.1 kB / 0.4959 GB, free: 7.395 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.629, allocations: 8 kB / 0.4959 GB, free: 7.387 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.6291, allocations: 3.938 kB / 0.4959 GB, free: 7.383 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.246e-06/0.6291, allocations: 7.938 kB / 0.4959 GB, free: 7.375 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009951/0.6301, allocations: 0.5235 MB / 0.4964 GB, free: 6.789 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.6301, allocations: 0 / 0.4964 GB, free: 6.789 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001542/0.6303, allocations: 19.98 kB / 0.4965 GB, free: 6.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.229e-05/0.6303, allocations: 12.02 kB / 0.4965 GB, free: 6.758 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.333e-05/0.6303, allocations: 8 kB / 0.4965 GB, free: 6.75 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/0.6303, allocations: 0 / 0.4965 GB, free: 6.75 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.6303, allocations: 0 / 0.4965 GB, free: 6.75 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004963/0.6309, allocations: 300.2 kB / 0.4968 GB, free: 6.422 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001304/0.631, allocations: 100.9 kB / 0.4969 GB, free: 6.305 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.885e-05/0.6311, allocations: 4 kB / 0.4969 GB, free: 6.301 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001562/0.6312, allocations: 8 kB / 0.4969 GB, free: 6.293 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.302e-05/0.6313, allocations: 11.97 kB / 0.4969 GB, free: 6.281 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.549e-05/0.6313, allocations: 12 kB / 0.4969 GB, free: 6.27 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003108/0.6317, allocations: 184.5 kB / 0.4971 GB, free: 6.09 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.6317, allocations: 0 / 0.4971 GB, free: 6.09 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004435/0.6321, allocations: 43.94 kB / 0.4971 GB, free: 6.047 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002287/0.6344, allocations: 1.383 MB / 0.4985 GB, free: 4.801 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000383/0.6349, allocations: 103.9 kB / 0.4986 GB, free: 4.699 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.6349, allocations: 4.062 kB / 0.4986 GB, free: 4.695 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001867/0.6351, allocations: 55.92 kB / 0.4986 GB, free: 4.641 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004515/0.6355, allocations: 28.16 kB / 0.4986 GB, free: 4.609 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001069/0.6366, allocations: 367.9 kB / 0.499 GB, free: 4.203 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003589/0.637, allocations: 0.7283 MB / 0.4997 GB, free: 3.449 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001575/0.6372, allocations: 59.41 kB / 0.4998 GB, free: 3.391 MB / 426.7 MB Notification: Performance of SimCode: time 1.392e-06/0.6372, allocations: 0 / 0.4998 GB, free: 3.391 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_CombiTimeTable_Test5CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test5CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test5CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test5Functions.cpp:282:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp8.getData(), table_.getDim(1), table_.getDim(2), startTime__ext, ConstArray(columns_).getData(), columns_.getDim(1), smoothness__ext, extrapolation__ext, shiftTime__ext, timeEvents__ext, verboseRead__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources/ModelicaStandardTables.h:142:23: note: candidate function not viable: 7th argument ('const int *') would lose const qualifier MODELICA_EXPORT void* ModelicaStandardTables_CombiTimeTable_init2(_In_z_ const char* fileName, ^ In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test5CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test5FMU.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_CombiTimeTable_Test5CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test5CalcHelperMain.o] Error 1