Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test62,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.808/2.808, allocations: 270 MB / 282.6 MB, free: 1.953 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.299e-05/5.303e-05, allocations: 4 kB / 347.1 MB, free: 3.207 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4439/0.444, allocations: 61.86 MB / 408.9 MB, free: 10.82 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2054/0.6495, allocations: 89.1 MB / 498 MB, free: 1.605 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002699/0.6498, allocations: 75.95 kB / 498.1 MB, free: 1.531 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02706/0.6769, allocations: 5.668 MB / 0.492 GB, free: 11.86 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.6769, allocations: 0 / 0.492 GB, free: 11.86 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.023e-05/0.677, allocations: 4 kB / 0.492 GB, free: 11.86 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.0006114/0.6776, allocations: 402.2 kB / 0.4924 GB, free: 11.42 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.6777, allocations: 8.031 kB / 0.4924 GB, free: 11.41 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.57e-05/0.6777, allocations: 34.5 kB / 0.4924 GB, free: 11.37 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.802e-05/0.6778, allocations: 23.8 kB / 0.4924 GB, free: 11.35 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000443/0.6783, allocations: 226.5 kB / 0.4926 GB, free: 11.09 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.6783, allocations: 4 kB / 0.4926 GB, free: 11.08 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.949e-05/0.6783, allocations: 3.953 kB / 0.4926 GB, free: 11.08 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001818/0.6785, allocations: 53.61 kB / 0.4927 GB, free: 11.02 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.6785, allocations: 0 / 0.4927 GB, free: 11.02 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.6786, allocations: 0 / 0.4927 GB, free: 11.02 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.6786, allocations: 0 / 0.4927 GB, free: 11.02 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.346e-05/0.6787, allocations: 15.98 kB / 0.4927 GB, free: 11 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002796/0.6789, allocations: 193.7 kB / 0.4929 GB, free: 10.77 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001546/0.6791, allocations: 50.56 kB / 0.4929 GB, free: 10.71 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.696e-05/0.6792, allocations: 24.88 kB / 0.493 GB, free: 10.68 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.096e-05/0.6792, allocations: 3.953 kB / 0.493 GB, free: 10.68 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001619/0.6794, allocations: 59.41 kB / 0.493 GB, free: 10.61 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 2.315e-06/0.6794, allocations: 4 kB / 0.493 GB, free: 10.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002956/0.6797, allocations: 89.42 kB / 0.4931 GB, free: 10.51 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.573e-05/0.6798, allocations: 51.41 kB / 0.4932 GB, free: 10.45 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000418/0.6802, allocations: 237.8 kB / 0.4934 GB, free: 10.2 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.6803, allocations: 25.7 kB / 0.4934 GB, free: 10.17 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.563e-05/0.6804, allocations: 170.6 kB / 0.4936 GB, free: 10 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.82e-05/0.6804, allocations: 11.89 kB / 0.4936 GB, free: 9.988 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.37e-06/0.6804, allocations: 0 / 0.4936 GB, free: 9.988 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.6806, allocations: 314.8 kB / 0.4939 GB, free: 9.672 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.287e-05/0.6806, allocations: 16 kB / 0.4939 GB, free: 9.656 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.68e-05/0.6807, allocations: 25.72 kB / 0.4939 GB, free: 9.625 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.271e-05/0.6808, allocations: 15.98 kB / 0.4939 GB, free: 9.609 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.6808, allocations: 0 / 0.4939 GB, free: 9.609 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001926/0.681, allocations: 77.53 kB / 0.494 GB, free: 9.527 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.681, allocations: 7.953 kB / 0.494 GB, free: 9.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.6811, allocations: 0 / 0.494 GB, free: 9.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.6811, allocations: 8.031 kB / 0.494 GB, free: 9.512 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.6812, allocations: 11.98 kB / 0.494 GB, free: 9.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.6812, allocations: 0 / 0.494 GB, free: 9.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.886e-05/0.6814, allocations: 12.06 kB / 0.4941 GB, free: 9.488 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.6814, allocations: 0 / 0.4941 GB, free: 9.488 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 9.674e-05/0.6815, allocations: 110.4 kB / 0.4942 GB, free: 9.375 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.113e-05/0.6815, allocations: 15.81 kB / 0.4942 GB, free: 9.359 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002792/0.6818, allocations: 102.5 kB / 0.4943 GB, free: 9.246 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.6818, allocations: 0 / 0.4943 GB, free: 9.246 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.6819, allocations: 4 kB / 0.4943 GB, free: 9.242 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.6819, allocations: 0 / 0.4943 GB, free: 9.242 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002355/0.6821, allocations: 205.6 kB / 0.4945 GB, free: 8.992 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.6821, allocations: 0 / 0.4945 GB, free: 8.992 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.888e-05/0.6822, allocations: 4 kB / 0.4945 GB, free: 8.988 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.6822, allocations: 0 / 0.4945 GB, free: 8.988 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.685e-05/0.6822, allocations: 7.984 kB / 0.4945 GB, free: 8.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.533e-06/0.6822, allocations: 7.891 kB / 0.4945 GB, free: 8.973 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.6823, allocations: 3.938 kB / 0.4945 GB, free: 8.969 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002726/0.6825, allocations: 116.9 kB / 0.4946 GB, free: 8.836 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001101/0.6827, allocations: 104.9 kB / 0.4947 GB, free: 8.715 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.721e-05/0.6827, allocations: 3.984 kB / 0.4947 GB, free: 8.711 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.282e-05/0.6828, allocations: 7.984 kB / 0.4947 GB, free: 8.703 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.983e-05/0.6829, allocations: 3.953 kB / 0.4947 GB, free: 8.699 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-05/0.6829, allocations: 4 kB / 0.4947 GB, free: 8.695 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002962/0.6832, allocations: 196.2 kB / 0.4949 GB, free: 8.504 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6832, allocations: 0 / 0.4949 GB, free: 8.504 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003329/0.6835, allocations: 35.98 kB / 0.4949 GB, free: 8.469 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.001671/0.6852, allocations: 0.9418 MB / 0.4959 GB, free: 7.629 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001865/0.6854, allocations: 32 kB / 0.4959 GB, free: 7.598 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.6855, allocations: 0 / 0.4959 GB, free: 7.598 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.682e-05/0.6855, allocations: 20 kB / 0.4959 GB, free: 7.578 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003755/0.6859, allocations: 34.8 kB / 0.4959 GB, free: 7.547 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008628/0.6868, allocations: 293.8 kB / 0.4962 GB, free: 7.219 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003707/0.6872, allocations: 0.7238 MB / 0.4969 GB, free: 6.469 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001112/0.6873, allocations: 39.42 kB / 0.497 GB, free: 6.43 MB / 426.7 MB Notification: Performance of SimCode: time 1.382e-06/0.6874, allocations: 0 / 0.497 GB, free: 6.43 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_Test62CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test62CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test62CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test62Functions.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_Test62CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test62FMU.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_Test62CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test62CalcHelperMain.o] Error 1