Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test46,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test46",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.782/2.782, allocations: 270 MB / 282.6 MB, free: 1.938 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.015e-05/4.026e-05, allocations: 4 kB / 347.1 MB, free: 3.203 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.47/0.4701, allocations: 61.87 MB / 408.9 MB, free: 10.71 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2044/0.6746, allocations: 89.27 MB / 498.2 MB, free: 1.312 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002714/0.6749, allocations: 71.97 kB / 498.3 MB, free: 1.242 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02572/0.7006, allocations: 5.83 MB / 0.4923 GB, free: 11.41 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.394e-06/0.7007, allocations: 0 / 0.4923 GB, free: 11.41 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.99e-05/0.7007, allocations: 4 kB / 0.4923 GB, free: 11.4 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006353/0.7014, allocations: 417.3 kB / 0.4927 GB, free: 10.95 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/0.7014, allocations: 8.031 kB / 0.4927 GB, free: 10.95 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.214e-05/0.7015, allocations: 38.56 kB / 0.4927 GB, free: 10.9 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.11e-05/0.7016, allocations: 11.81 kB / 0.4927 GB, free: 10.89 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004347/0.702, allocations: 230.5 kB / 0.493 GB, free: 10.62 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.702, allocations: 3.953 kB / 0.493 GB, free: 10.62 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.69e-05/0.7021, allocations: 4 kB / 0.493 GB, free: 10.61 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001471/0.7022, allocations: 57.61 kB / 0.493 GB, free: 10.55 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.7023, allocations: 4 kB / 0.493 GB, free: 10.55 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.7023, allocations: 3.938 kB / 0.493 GB, free: 10.54 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.808e-06/0.7023, allocations: 4 kB / 0.493 GB, free: 10.54 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.254e-05/0.7024, allocations: 19.92 kB / 0.4931 GB, free: 10.52 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005194/0.7029, allocations: 312.9 kB / 0.4934 GB, free: 10.16 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001686/0.7031, allocations: 50.67 kB / 0.4934 GB, free: 10.11 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.281e-05/0.7032, allocations: 24.98 kB / 0.4934 GB, free: 10.08 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.302e-05/0.7032, allocations: 0 / 0.4934 GB, free: 10.08 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000166/0.7034, allocations: 67.33 kB / 0.4935 GB, free: 10 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.084e-06/0.7034, allocations: 4 kB / 0.4935 GB, free: 9.996 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006523/0.7041, allocations: 157.1 kB / 0.4936 GB, free: 9.836 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.318e-05/0.7041, allocations: 55.39 kB / 0.4937 GB, free: 9.77 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004042/0.7046, allocations: 233.8 kB / 0.4939 GB, free: 9.527 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.423e-05/0.7046, allocations: 33.7 kB / 0.494 GB, free: 9.488 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.962e-05/0.7047, allocations: 166.6 kB / 0.4941 GB, free: 9.324 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.325e-05/0.7048, allocations: 31.58 kB / 0.4941 GB, free: 9.293 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.652e-06/0.7048, allocations: 0 / 0.4941 GB, free: 9.293 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.7049, allocations: 318.8 kB / 0.4944 GB, free: 8.973 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.891e-05/0.705, allocations: 23.98 kB / 0.4945 GB, free: 8.949 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.644e-05/0.7051, allocations: 33.72 kB / 0.4945 GB, free: 8.91 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.619e-05/0.7052, allocations: 23.98 kB / 0.4945 GB, free: 8.887 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.7052, allocations: 0 / 0.4945 GB, free: 8.887 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000234/0.7055, allocations: 85.62 kB / 0.4946 GB, free: 8.797 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.7055, allocations: 8 kB / 0.4946 GB, free: 8.789 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.7055, allocations: 0 / 0.4946 GB, free: 8.789 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.7055, allocations: 0 / 0.4946 GB, free: 8.789 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001571/0.7057, allocations: 15.98 kB / 0.4946 GB, free: 8.773 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.389e-05/0.7057, allocations: 8.141 kB / 0.4946 GB, free: 8.766 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.899e-05/0.7058, allocations: 4 kB / 0.4946 GB, free: 8.762 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.529e-05/0.7059, allocations: 4 kB / 0.4946 GB, free: 8.758 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 (10): * Single equations (assignments): 10 * 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 9.537e-05/0.706, allocations: 118.4 kB / 0.4948 GB, free: 8.637 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.258e-05/0.706, allocations: 16 kB / 0.4948 GB, free: 8.621 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003324/0.7064, allocations: 119.2 kB / 0.4949 GB, free: 8.496 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.7064, allocations: 0 / 0.4949 GB, free: 8.496 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.119e-05/0.7064, allocations: 11.98 kB / 0.4949 GB, free: 8.484 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.7064, allocations: 0 / 0.4949 GB, free: 8.484 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006927/0.7071, allocations: 439.2 kB / 0.4953 GB, free: 7.996 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.7071, allocations: 3.938 kB / 0.4953 GB, free: 7.992 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.712e-05/0.7072, allocations: 11.98 kB / 0.4953 GB, free: 7.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.7072, allocations: 0 / 0.4953 GB, free: 7.98 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/0.7073, allocations: 4 kB / 0.4953 GB, free: 7.977 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.7073, allocations: 3.938 kB / 0.4953 GB, free: 7.973 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.7073, allocations: 0 / 0.4953 GB, free: 7.973 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003217/0.7076, allocations: 225.9 kB / 0.4956 GB, free: 7.727 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000109/0.7077, allocations: 97 kB / 0.4956 GB, free: 7.613 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.083e-05/0.7078, allocations: 4 kB / 0.4957 GB, free: 7.609 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001288/0.7079, allocations: 3.938 kB / 0.4957 GB, free: 7.605 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.655e-05/0.708, allocations: 11.94 kB / 0.4957 GB, free: 7.594 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.751e-05/0.708, allocations: 8 kB / 0.4957 GB, free: 7.586 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002811/0.7083, allocations: 192.2 kB / 0.4959 GB, free: 7.398 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.7083, allocations: 0 / 0.4959 GB, free: 7.398 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003948/0.7087, allocations: 43.84 kB / 0.4959 GB, free: 7.355 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: 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 (9): * Single equations (assignments): 7 * 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.001867/0.7106, allocations: 1.174 MB / 0.497 GB, free: 6.297 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002131/0.7108, allocations: 51.94 kB / 0.4971 GB, free: 6.246 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.7109, allocations: 3.938 kB / 0.4971 GB, free: 6.242 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001006/0.711, allocations: 31.98 kB / 0.4971 GB, free: 6.211 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003925/0.7114, allocations: 42.5 kB / 0.4972 GB, free: 6.172 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008987/0.7123, allocations: 318.4 kB / 0.4975 GB, free: 5.816 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003567/0.7127, allocations: 0.724 MB / 0.4982 GB, free: 5.066 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001192/0.7128, allocations: 47.41 kB / 0.4982 GB, free: 5.02 MB / 426.7 MB Notification: Performance of SimCode: time 8.92e-07/0.7128, allocations: 0 / 0.4982 GB, free: 5.02 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_Test46CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test46CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test46CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test46Functions.cpp:241:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp5.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_Test46CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test46FMU.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_Test46CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test46CalcHelperMain.o] Error 1