Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test6,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.64/2.64, allocations: 270 MB / 282.6 MB, free: 1.953 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.808e-05/3.821e-05, allocations: 4 kB / 347.1 MB, free: 3.227 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3996/0.3997, allocations: 61.87 MB / 408.9 MB, free: 10.86 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1655/0.5652, allocations: 89.29 MB / 498.2 MB, free: 1.449 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002932/0.5656, allocations: 79.95 kB / 498.3 MB, free: 1.371 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02627/0.5919, allocations: 5.854 MB / 0.4923 GB, free: 11.51 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.5919, allocations: 0 / 0.4923 GB, free: 11.51 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.134e-05/0.592, allocations: 4 kB / 0.4923 GB, free: 11.5 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.0006894/0.5927, allocations: 410.2 kB / 0.4927 GB, free: 11.06 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.275e-05/0.5927, allocations: 15.97 kB / 0.4927 GB, free: 11.04 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.998e-05/0.5928, allocations: 34.56 kB / 0.4928 GB, free: 11 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.224e-05/0.5929, allocations: 23.8 kB / 0.4928 GB, free: 10.98 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004846/0.5934, allocations: 227.7 kB / 0.493 GB, free: 10.71 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.027e-05/0.5934, allocations: 3.953 kB / 0.493 GB, free: 10.71 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.484e-05/0.5935, allocations: 4 kB / 0.493 GB, free: 10.7 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/0.5936, allocations: 53.67 kB / 0.4931 GB, free: 10.64 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.5937, allocations: 0 / 0.4931 GB, free: 10.64 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.5937, allocations: 0 / 0.4931 GB, free: 10.64 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.5937, allocations: 0 / 0.4931 GB, free: 10.64 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.003e-05/0.5938, allocations: 23.98 kB / 0.4931 GB, free: 10.62 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005773/0.5944, allocations: 320.7 kB / 0.4934 GB, free: 10.26 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001724/0.5946, allocations: 54.69 kB / 0.4935 GB, free: 10.2 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.281e-05/0.5947, allocations: 16.98 kB / 0.4935 GB, free: 10.18 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.372e-05/0.5947, allocations: 3.938 kB / 0.4935 GB, free: 10.17 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001856/0.5949, allocations: 71.39 kB / 0.4935 GB, free: 10.09 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.535e-06/0.5949, allocations: 0 / 0.4935 GB, free: 10.09 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.000657/0.5956, allocations: 161 kB / 0.4937 GB, free: 9.926 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.09e-05/0.5957, allocations: 59.39 kB / 0.4938 GB, free: 9.855 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004449/0.5961, allocations: 243.1 kB / 0.494 GB, free: 9.609 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.456e-05/0.5961, allocations: 29.7 kB / 0.494 GB, free: 9.574 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000132/0.5963, allocations: 170.6 kB / 0.4942 GB, free: 9.406 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.871e-05/0.5963, allocations: 23.7 kB / 0.4942 GB, free: 9.383 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.853e-06/0.5964, allocations: 0 / 0.4942 GB, free: 9.383 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.5965, allocations: 318.8 kB / 0.4945 GB, free: 9.062 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.537e-05/0.5966, allocations: 20 kB / 0.4945 GB, free: 9.043 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.848e-05/0.5967, allocations: 41.64 kB / 0.4946 GB, free: 8.996 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.027e-05/0.5968, allocations: 20 kB / 0.4946 GB, free: 8.977 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.5969, allocations: 0 / 0.4946 GB, free: 8.977 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002538/0.5971, allocations: 93.56 kB / 0.4947 GB, free: 8.879 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.5972, allocations: 8 kB / 0.4947 GB, free: 8.871 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.5972, allocations: 4.031 kB / 0.4947 GB, free: 8.867 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/0.5972, allocations: 0 / 0.4947 GB, free: 8.867 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001655/0.5974, allocations: 19.88 kB / 0.4947 GB, free: 8.848 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.5974, allocations: 4 kB / 0.4947 GB, free: 8.844 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001048/0.5975, allocations: 7.922 kB / 0.4947 GB, free: 8.836 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.478e-05/0.5975, allocations: 4.188 kB / 0.4947 GB, free: 8.832 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 0.0001093/0.5977, allocations: 112.9 kB / 0.4948 GB, free: 8.715 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.026e-05/0.5977, allocations: 15.81 kB / 0.4948 GB, free: 8.699 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003523/0.5981, allocations: 123.1 kB / 0.495 GB, free: 8.57 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/0.5981, allocations: 8 kB / 0.495 GB, free: 8.562 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.5981, allocations: 0 / 0.495 GB, free: 8.562 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.5981, allocations: 0 / 0.495 GB, free: 8.562 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007498/0.5989, allocations: 431.2 kB / 0.4954 GB, free: 8.082 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.5989, allocations: 0 / 0.4954 GB, free: 8.082 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.504e-05/0.599, allocations: 12.28 kB / 0.4954 GB, free: 8.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.599, allocations: 0 / 0.4954 GB, free: 8.07 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.873e-05/0.5991, allocations: 12.02 kB / 0.4954 GB, free: 8.059 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.5991, allocations: 3.938 kB / 0.4954 GB, free: 8.055 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.5991, allocations: 240 / 0.4954 GB, free: 8.055 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000341/0.5994, allocations: 225.8 kB / 0.4956 GB, free: 7.809 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000114/0.5996, allocations: 100.9 kB / 0.4957 GB, free: 7.691 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.318e-05/0.5996, allocations: 8 kB / 0.4957 GB, free: 7.684 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001258/0.5998, allocations: 4 kB / 0.4957 GB, free: 7.68 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.204e-05/0.5998, allocations: 11.94 kB / 0.4957 GB, free: 7.668 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.835e-05/0.5998, allocations: 7.984 kB / 0.4957 GB, free: 7.66 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003292/0.6002, allocations: 205.5 kB / 0.4959 GB, free: 7.461 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6002, allocations: 3.938 kB / 0.4959 GB, free: 7.457 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004483/0.6007, allocations: 39.98 kB / 0.496 GB, free: 7.418 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.002045/0.6027, allocations: 1.178 MB / 0.4971 GB, free: 6.359 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002734/0.603, allocations: 55.94 kB / 0.4972 GB, free: 6.305 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.6031, allocations: 0 / 0.4972 GB, free: 6.305 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001032/0.6032, allocations: 39.98 kB / 0.4972 GB, free: 6.266 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004604/0.6036, allocations: 34.56 kB / 0.4973 GB, free: 6.234 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001047/0.6047, allocations: 330.4 kB / 0.4976 GB, free: 5.867 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000427/0.6052, allocations: 0.7239 MB / 0.4983 GB, free: 5.117 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001362/0.6053, allocations: 43.42 kB / 0.4983 GB, free: 5.074 MB / 426.7 MB Notification: Performance of SimCode: time 1.513e-06/0.6053, allocations: 0 / 0.4983 GB, free: 5.074 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_Test6CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test6CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test6CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test6Functions.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_Test6CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test6FMU.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_Test6CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test6CalcHelperMain.o] Error 1