Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test38,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.574/2.574, allocations: 270 MB / 282.6 MB, free: 1.906 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.057e-05/4.064e-05, allocations: 11.98 kB / 347.1 MB, free: 3.188 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4087/0.4087, allocations: 61.87 MB / 408.9 MB, free: 10.71 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1689/0.5777, allocations: 89.09 MB / 498 MB, free: 1.5 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002768/0.578, allocations: 71.97 kB / 498.1 MB, free: 1.43 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03012/0.6082, allocations: 5.353 MB / 0.4916 GB, free: 12.07 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.6082, allocations: 4 kB / 0.4916 GB, free: 12.07 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.671e-05/0.6083, allocations: 4 kB / 0.4917 GB, free: 12.06 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000533/0.6088, allocations: 386.2 kB / 0.492 GB, free: 11.64 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.6089, allocations: 8.031 kB / 0.492 GB, free: 11.63 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.124e-05/0.6089, allocations: 42.48 kB / 0.4921 GB, free: 11.58 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.335e-05/0.609, allocations: 7.906 kB / 0.4921 GB, free: 11.57 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003674/0.6094, allocations: 207.8 kB / 0.4923 GB, free: 11.33 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/0.6094, allocations: 3.984 kB / 0.4923 GB, free: 11.33 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.806e-05/0.6094, allocations: 7.953 kB / 0.4923 GB, free: 11.32 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001333/0.6096, allocations: 45.69 kB / 0.4923 GB, free: 11.27 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.467e-06/0.6096, allocations: 0 / 0.4923 GB, free: 11.27 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.6096, allocations: 0 / 0.4923 GB, free: 11.27 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.6096, allocations: 0 / 0.4923 GB, free: 11.27 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.083e-05/0.6097, allocations: 15.98 kB / 0.4923 GB, free: 11.25 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002457/0.61, allocations: 185.6 kB / 0.4925 GB, free: 11.02 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001544/0.6101, allocations: 54.56 kB / 0.4926 GB, free: 10.96 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.844e-05/0.6102, allocations: 24.8 kB / 0.4926 GB, free: 10.93 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.882e-05/0.6102, allocations: 3.953 kB / 0.4926 GB, free: 10.93 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001595/0.6104, allocations: 63.48 kB / 0.4927 GB, free: 10.86 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 2.063e-06/0.6104, allocations: 0 / 0.4927 GB, free: 10.86 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002627/0.6107, allocations: 77.58 kB / 0.4927 GB, free: 10.77 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.31e-05/0.6107, allocations: 51.41 kB / 0.4928 GB, free: 10.71 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002671/0.611, allocations: 177.3 kB / 0.493 GB, free: 10.54 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.214e-05/0.6111, allocations: 25.7 kB / 0.493 GB, free: 10.5 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.601e-05/0.6112, allocations: 166.5 kB / 0.4931 GB, free: 10.34 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.862e-05/0.6112, allocations: 15.75 kB / 0.4932 GB, free: 10.32 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.35e-06/0.6112, allocations: 4 kB / 0.4932 GB, free: 10.32 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.6113, allocations: 314.8 kB / 0.4935 GB, free: 10 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.849e-05/0.6114, allocations: 12 kB / 0.4935 GB, free: 9.992 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.094e-05/0.6115, allocations: 25.72 kB / 0.4935 GB, free: 9.961 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.531e-05/0.6115, allocations: 19.98 kB / 0.4935 GB, free: 9.941 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.6116, allocations: 4 kB / 0.4935 GB, free: 9.938 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001674/0.6117, allocations: 65.69 kB / 0.4936 GB, free: 9.867 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.6118, allocations: 7.953 kB / 0.4936 GB, free: 9.859 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.6118, allocations: 7.938 kB / 0.4936 GB, free: 9.852 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.6118, allocations: 0 / 0.4936 GB, free: 9.852 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.6119, allocations: 8.125 kB / 0.4936 GB, free: 9.844 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/0.612, allocations: 3.984 kB / 0.4936 GB, free: 9.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.041e-05/0.6121, allocations: 12.03 kB / 0.4936 GB, free: 9.828 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.192e-05/0.6121, allocations: 4 kB / 0.4936 GB, free: 9.824 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 (7): * Single equations (assignments): 7 * 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.412e-05/0.6122, allocations: 105 kB / 0.4937 GB, free: 9.715 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.881e-05/0.6122, allocations: 7.906 kB / 0.4937 GB, free: 9.707 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000247/0.6125, allocations: 101.6 kB / 0.4938 GB, free: 9.598 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.6125, allocations: 0 / 0.4938 GB, free: 9.598 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.6125, allocations: 0 / 0.4938 GB, free: 9.598 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.6125, allocations: 3.984 kB / 0.4938 GB, free: 9.594 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001991/0.6127, allocations: 197.5 kB / 0.494 GB, free: 9.352 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.6127, allocations: 4 kB / 0.494 GB, free: 9.348 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.582e-05/0.6128, allocations: 8 kB / 0.494 GB, free: 9.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.6128, allocations: 0 / 0.494 GB, free: 9.34 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.6128, allocations: 0 / 0.494 GB, free: 9.34 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/0.6129, allocations: 3.953 kB / 0.494 GB, free: 9.336 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.6129, allocations: 4.094 kB / 0.494 GB, free: 9.332 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002333/0.6131, allocations: 109 kB / 0.4941 GB, free: 9.207 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.864e-05/0.6132, allocations: 92.95 kB / 0.4942 GB, free: 9.098 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.395e-05/0.6132, allocations: 11.98 kB / 0.4942 GB, free: 9.086 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.65e-05/0.6133, allocations: 0 / 0.4942 GB, free: 9.086 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.168e-05/0.6134, allocations: 7.953 kB / 0.4942 GB, free: 9.078 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.484e-05/0.6134, allocations: 4 kB / 0.4943 GB, free: 9.074 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001761/0.6136, allocations: 144.5 kB / 0.4944 GB, free: 8.934 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6136, allocations: 0 / 0.4944 GB, free: 8.934 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003099/0.6139, allocations: 20 kB / 0.4944 GB, free: 8.914 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001618/0.6156, allocations: 0.9429 MB / 0.4953 GB, free: 8.078 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001838/0.6158, allocations: 43.92 kB / 0.4954 GB, free: 8.035 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.6158, allocations: 0 / 0.4954 GB, free: 8.035 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.068e-05/0.6159, allocations: 24.12 kB / 0.4954 GB, free: 8.012 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003356/0.6162, allocations: 26.91 kB / 0.4954 GB, free: 7.988 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006661/0.6169, allocations: 245.1 kB / 0.4957 GB, free: 7.707 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003139/0.6172, allocations: 0.7004 MB / 0.4963 GB, free: 6.98 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.836e-05/0.6173, allocations: 39.48 kB / 0.4964 GB, free: 6.941 MB / 426.7 MB Notification: Performance of SimCode: time 1.022e-06/0.6173, allocations: 0 / 0.4964 GB, free: 6.941 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_Test38CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test38CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test38CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test38Functions.cpp:202:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp4.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_Test38CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test38FMU.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_Test38CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test38CalcHelperMain.o] Error 1