Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test54,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test54",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.584/2.584, allocations: 270 MB / 282.6 MB, free: 1.824 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.217e-05/6.205e-05, allocations: 8 kB / 347.1 MB, free: 3.109 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4137/0.4138, allocations: 61.88 MB / 408.9 MB, free: 10.65 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1665/0.5804, allocations: 89.28 MB / 498.2 MB, free: 1.25 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002845/0.5807, allocations: 79.94 kB / 498.3 MB, free: 1.172 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0322/0.6129, allocations: 5.696 MB / 0.4922 GB, free: 11.47 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.926e-06/0.613, allocations: 0 / 0.4922 GB, free: 11.47 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.174e-05/0.613, allocations: 0 / 0.4922 GB, free: 11.47 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.0008388/0.6139, allocations: 402.2 kB / 0.4926 GB, free: 11.03 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.957e-05/0.614, allocations: 12.03 kB / 0.4926 GB, free: 11.02 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.889e-05/0.6141, allocations: 30.56 kB / 0.4926 GB, free: 10.98 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.927e-05/0.6142, allocations: 15.81 kB / 0.4926 GB, free: 10.96 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000627/0.6148, allocations: 222.8 kB / 0.4928 GB, free: 10.71 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.084e-05/0.6149, allocations: 3.953 kB / 0.4928 GB, free: 10.7 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.849e-05/0.6149, allocations: 4 kB / 0.4928 GB, free: 10.7 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002363/0.6152, allocations: 53.67 kB / 0.4929 GB, free: 10.64 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.088e-05/0.6153, allocations: 3.984 kB / 0.4929 GB, free: 10.64 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.197e-05/0.6153, allocations: 0 / 0.4929 GB, free: 10.64 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.6153, allocations: 3.938 kB / 0.4929 GB, free: 10.63 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001264/0.6155, allocations: 23.98 kB / 0.4929 GB, free: 10.61 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007645/0.6163, allocations: 300.8 kB / 0.4932 GB, free: 10.27 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002693/0.6166, allocations: 54.62 kB / 0.4933 GB, free: 10.2 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001055/0.6167, allocations: 24.97 kB / 0.4933 GB, free: 10.18 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.23e-05/0.6167, allocations: 4 kB / 0.4933 GB, free: 10.17 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002505/0.617, allocations: 63.41 kB / 0.4933 GB, free: 10.1 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 4.659e-06/0.617, allocations: 0 / 0.4933 GB, free: 10.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009582/0.618, allocations: 157.2 kB / 0.4935 GB, free: 9.938 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.131e-05/0.6181, allocations: 55.41 kB / 0.4935 GB, free: 9.871 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005017/0.6186, allocations: 195.2 kB / 0.4937 GB, free: 9.668 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.211e-05/0.6187, allocations: 33.7 kB / 0.4938 GB, free: 9.629 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/0.6188, allocations: 170.4 kB / 0.4939 GB, free: 9.461 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.647e-05/0.6189, allocations: 23.8 kB / 0.4939 GB, free: 9.438 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.013e-05/0.619, allocations: 0 / 0.4939 GB, free: 9.438 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001757/0.6192, allocations: 322.8 kB / 0.4943 GB, free: 9.113 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.262e-05/0.6193, allocations: 12 kB / 0.4943 GB, free: 9.102 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001364/0.6194, allocations: 41.64 kB / 0.4943 GB, free: 9.055 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001181/0.6196, allocations: 20 kB / 0.4943 GB, free: 9.035 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.6196, allocations: 0 / 0.4943 GB, free: 9.035 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003985/0.62, allocations: 101.6 kB / 0.4944 GB, free: 8.93 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.736e-05/0.6201, allocations: 4.188 kB / 0.4944 GB, free: 8.926 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.218e-06/0.6201, allocations: 0 / 0.4944 GB, free: 8.926 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.974e-05/0.6201, allocations: 3.938 kB / 0.4944 GB, free: 8.922 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002476/0.6204, allocations: 24.11 kB / 0.4945 GB, free: 8.898 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.459e-05/0.6204, allocations: 4.156 kB / 0.4945 GB, free: 8.895 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001602/0.6206, allocations: 4 kB / 0.4945 GB, free: 8.891 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.208e-05/0.6207, allocations: 4 kB / 0.4945 GB, free: 8.887 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.000148/0.6208, allocations: 108.9 kB / 0.4946 GB, free: 8.773 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.082e-05/0.6209, allocations: 19.84 kB / 0.4946 GB, free: 8.754 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005299/0.6215, allocations: 123.1 kB / 0.4947 GB, free: 8.625 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/0.6215, allocations: 0 / 0.4947 GB, free: 8.625 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.6215, allocations: 0 / 0.4947 GB, free: 8.625 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.6215, allocations: 0 / 0.4947 GB, free: 8.625 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001019/0.6226, allocations: 419.3 kB / 0.4951 GB, free: 8.156 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.578e-06/0.6226, allocations: 0 / 0.4951 GB, free: 8.156 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001279/0.6228, allocations: 15.92 kB / 0.4951 GB, free: 8.141 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.438e-06/0.6228, allocations: 4.031 kB / 0.4951 GB, free: 8.137 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.477e-05/0.6228, allocations: 4 kB / 0.4951 GB, free: 8.133 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.821e-06/0.6229, allocations: 0 / 0.4951 GB, free: 8.133 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.6229, allocations: 0 / 0.4951 GB, free: 8.133 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005102/0.6234, allocations: 225.8 kB / 0.4953 GB, free: 7.887 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001319/0.6236, allocations: 93 kB / 0.4954 GB, free: 7.777 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.135e-05/0.6236, allocations: 12 kB / 0.4954 GB, free: 7.766 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001968/0.6239, allocations: 0 / 0.4954 GB, free: 7.766 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.775e-05/0.6239, allocations: 11.94 kB / 0.4955 GB, free: 7.754 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.44e-05/0.624, allocations: 4 kB / 0.4955 GB, free: 7.75 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003586/0.6244, allocations: 167.5 kB / 0.4956 GB, free: 7.586 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.42e-07/0.6244, allocations: 0 / 0.4956 GB, free: 7.586 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006484/0.6251, allocations: 39.92 kB / 0.4957 GB, free: 7.547 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.003102/0.6282, allocations: 1.183 MB / 0.4968 GB, free: 6.48 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003858/0.6286, allocations: 59.92 kB / 0.4969 GB, free: 6.422 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.317e-05/0.6287, allocations: 4.062 kB / 0.4969 GB, free: 6.418 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000148/0.6288, allocations: 31.94 kB / 0.4969 GB, free: 6.387 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006199/0.6295, allocations: 24.12 kB / 0.4969 GB, free: 6.359 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001267/0.6308, allocations: 286.5 kB / 0.4972 GB, free: 6.035 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005223/0.6313, allocations: 0.716 MB / 0.4979 GB, free: 5.293 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001833/0.6316, allocations: 47.47 kB / 0.4979 GB, free: 5.246 MB / 426.7 MB Notification: Performance of SimCode: time 1.513e-06/0.6316, allocations: 0 / 0.4979 GB, free: 5.246 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_Test54CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test54CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test54CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test54Functions.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_Test54CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test54FMU.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_Test54CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test54CalcHelperMain.o] Error 1