Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test44,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test44",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.453/2.453, allocations: 270 MB / 282.6 MB, free: 1.824 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.33e-05/4.337e-05, allocations: 8 kB / 347.1 MB, free: 3.094 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4186/0.4187, allocations: 61.87 MB / 408.9 MB, free: 10.63 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1744/0.5932, allocations: 89.28 MB / 498.2 MB, free: 1.234 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002715/0.5935, allocations: 79.94 kB / 498.3 MB, free: 1.156 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02929/0.6228, allocations: 5.574 MB / 0.4921 GB, free: 11.57 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.6228, allocations: 0 / 0.4921 GB, free: 11.57 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.267e-05/0.6229, allocations: 4 kB / 0.4921 GB, free: 11.57 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.0007427/0.6236, allocations: 398.2 kB / 0.4924 GB, free: 11.13 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.206e-05/0.6237, allocations: 8.031 kB / 0.4924 GB, free: 11.12 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.008e-05/0.6238, allocations: 38.5 kB / 0.4925 GB, free: 11.08 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.295e-05/0.6239, allocations: 7.906 kB / 0.4925 GB, free: 11.07 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005381/0.6244, allocations: 221.6 kB / 0.4927 GB, free: 10.81 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.67e-05/0.6245, allocations: 7.953 kB / 0.4927 GB, free: 10.8 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.816e-05/0.6245, allocations: 0 / 0.4927 GB, free: 10.8 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001911/0.6247, allocations: 53.67 kB / 0.4928 GB, free: 10.75 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.6248, allocations: 0 / 0.4928 GB, free: 10.75 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.6248, allocations: 0 / 0.4928 GB, free: 10.75 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.6248, allocations: 7.938 kB / 0.4928 GB, free: 10.74 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001208/0.6249, allocations: 27.97 kB / 0.4928 GB, free: 10.71 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006165/0.6256, allocations: 296.8 kB / 0.4931 GB, free: 10.37 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002041/0.6258, allocations: 54.69 kB / 0.4931 GB, free: 10.31 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.44e-05/0.6259, allocations: 24.91 kB / 0.4932 GB, free: 10.28 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.76e-05/0.6259, allocations: 0 / 0.4932 GB, free: 10.28 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001991/0.6261, allocations: 67.34 kB / 0.4932 GB, free: 10.2 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.725e-06/0.6262, allocations: 4 kB / 0.4932 GB, free: 10.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007641/0.6269, allocations: 157.2 kB / 0.4934 GB, free: 10.04 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.606e-05/0.627, allocations: 51.41 kB / 0.4934 GB, free: 9.977 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003901/0.6274, allocations: 181.5 kB / 0.4936 GB, free: 9.789 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.412e-05/0.6275, allocations: 33.7 kB / 0.4936 GB, free: 9.75 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.6276, allocations: 162.5 kB / 0.4938 GB, free: 9.59 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.58e-05/0.6277, allocations: 19.75 kB / 0.4938 GB, free: 9.57 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.857e-06/0.6277, allocations: 0 / 0.4938 GB, free: 9.57 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001849/0.6279, allocations: 326.8 kB / 0.4941 GB, free: 9.242 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001032/0.628, allocations: 23.94 kB / 0.4941 GB, free: 9.219 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001103/0.6281, allocations: 33.72 kB / 0.4942 GB, free: 9.18 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001004/0.6283, allocations: 19.98 kB / 0.4942 GB, free: 9.16 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.6283, allocations: 0 / 0.4942 GB, free: 9.16 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003231/0.6286, allocations: 89.59 kB / 0.4943 GB, free: 9.066 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.6287, allocations: 7.938 kB / 0.4943 GB, free: 9.059 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.6287, allocations: 0 / 0.4943 GB, free: 9.059 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.6287, allocations: 32 / 0.4943 GB, free: 9.059 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001962/0.6289, allocations: 23.98 kB / 0.4943 GB, free: 9.035 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.657e-06/0.6289, allocations: 0 / 0.4943 GB, free: 9.035 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001185/0.6291, allocations: 8 kB / 0.4943 GB, free: 9.027 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.48e-05/0.6291, allocations: 0 / 0.4943 GB, free: 9.027 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.0001269/0.6292, allocations: 116.9 kB / 0.4944 GB, free: 8.906 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.644e-05/0.6293, allocations: 7.906 kB / 0.4944 GB, free: 8.898 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000431/0.6297, allocations: 115.2 kB / 0.4945 GB, free: 8.781 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-05/0.6298, allocations: 7.984 kB / 0.4945 GB, free: 8.773 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.298e-06/0.6298, allocations: 8 kB / 0.4946 GB, free: 8.766 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.6298, allocations: 0 / 0.4946 GB, free: 8.766 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009011/0.6307, allocations: 407.3 kB / 0.4949 GB, free: 8.309 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.762e-06/0.6308, allocations: 288 / 0.4949 GB, free: 8.309 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001133/0.6309, allocations: 19.94 kB / 0.495 GB, free: 8.289 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.6309, allocations: 0 / 0.495 GB, free: 8.289 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.988e-05/0.6309, allocations: 7.922 kB / 0.495 GB, free: 8.281 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.122e-06/0.631, allocations: 4 kB / 0.495 GB, free: 8.277 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.631, allocations: 7.969 kB / 0.495 GB, free: 8.27 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004391/0.6314, allocations: 214 kB / 0.4952 GB, free: 8.035 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001133/0.6316, allocations: 88.92 kB / 0.4953 GB, free: 7.93 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.802e-05/0.6316, allocations: 11.98 kB / 0.4953 GB, free: 7.918 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001905/0.6318, allocations: 0 / 0.4953 GB, free: 7.918 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.894e-05/0.6319, allocations: 15.89 kB / 0.4953 GB, free: 7.902 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-05/0.632, allocations: 7.984 kB / 0.4953 GB, free: 7.895 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002921/0.6323, allocations: 155.5 kB / 0.4955 GB, free: 7.746 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.12e-07/0.6323, allocations: 0 / 0.4955 GB, free: 7.746 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006736/0.633, allocations: 31.94 kB / 0.4955 GB, free: 7.715 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.002804/0.6358, allocations: 1.165 MB / 0.4966 GB, free: 6.668 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003315/0.6362, allocations: 63.91 kB / 0.4967 GB, free: 6.605 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/0.6362, allocations: 3.938 kB / 0.4967 GB, free: 6.602 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001289/0.6363, allocations: 27.94 kB / 0.4967 GB, free: 6.574 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005851/0.6369, allocations: 40.05 kB / 0.4968 GB, free: 6.535 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.6381, allocations: 265.5 kB / 0.497 GB, free: 6.234 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004639/0.6386, allocations: 0.7121 MB / 0.4977 GB, free: 5.496 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001393/0.6387, allocations: 39.41 kB / 0.4977 GB, free: 5.457 MB / 426.7 MB Notification: Performance of SimCode: time 1.162e-06/0.6388, allocations: 4 kB / 0.4977 GB, free: 5.453 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_Test44CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test44CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test44CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test44Functions.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_Test44CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test44FMU.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_Test44CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test44CalcHelperMain.o] Error 1