Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.571/2.571, allocations: 270 MB / 282.6 MB, free: 1.855 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.269e-05/4.279e-05, allocations: 7.984 kB / 347.1 MB, free: 3.086 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4065/0.4066, allocations: 61.87 MB / 408.9 MB, free: 10.63 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1774/0.584, allocations: 89.13 MB / 498.1 MB, free: 1.383 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002803/0.5844, allocations: 67.95 kB / 498.1 MB, free: 1.316 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02801/0.6124, allocations: 6.645 MB / 0.4929 GB, free: 10.66 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.113e-06/0.6125, allocations: 3.938 kB / 0.4929 GB, free: 10.66 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.379e-05/0.6125, allocations: 12 kB / 0.493 GB, free: 10.65 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001011/0.6135, allocations: 0.5909 MB / 0.4935 GB, free: 10.01 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.323e-05/0.6136, allocations: 12.03 kB / 0.4935 GB, free: 10 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.887e-05/0.6137, allocations: 38.55 kB / 0.4936 GB, free: 9.953 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001292/0.6138, allocations: 55.34 kB / 0.4936 GB, free: 9.898 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001227/0.6151, allocations: 487 kB / 0.4941 GB, free: 9.383 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.203e-05/0.6151, allocations: 4 kB / 0.4941 GB, free: 9.379 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.6151, allocations: 0 / 0.4941 GB, free: 9.379 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002227/0.6154, allocations: 83.31 kB / 0.4942 GB, free: 9.285 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.6154, allocations: 4 kB / 0.4942 GB, free: 9.281 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.6154, allocations: 4 kB / 0.4942 GB, free: 9.277 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.6154, allocations: 0 / 0.4942 GB, free: 9.277 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001186/0.6156, allocations: 31.98 kB / 0.4942 GB, free: 9.246 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006053/0.6162, allocations: 382.3 kB / 0.4946 GB, free: 8.82 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003008/0.6165, allocations: 105.2 kB / 0.4947 GB, free: 8.699 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001143/0.6166, allocations: 37.72 kB / 0.4947 GB, free: 8.656 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.6167, allocations: 0 / 0.4947 GB, free: 8.656 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002906/0.617, allocations: 109.1 kB / 0.4948 GB, free: 8.531 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 2.225e-06/0.617, allocations: 0 / 0.4948 GB, free: 8.531 MB / 426.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005248/0.6175, allocations: 169 kB / 0.495 GB, free: 8.359 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.032e-05/0.6176, allocations: 77.11 kB / 0.4951 GB, free: 8.266 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002091/0.6197, allocations: 0.9344 MB / 0.496 GB, free: 7.32 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.807e-05/0.6198, allocations: 29.7 kB / 0.496 GB, free: 7.285 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001999/0.62, allocations: 242.6 kB / 0.4962 GB, free: 7.047 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.451e-05/0.62, allocations: 31.64 kB / 0.4963 GB, free: 7.016 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.481e-05/0.6201, allocations: 4 kB / 0.4963 GB, free: 7.012 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.6202, allocations: 314.8 kB / 0.4966 GB, free: 6.695 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.386e-05/0.6203, allocations: 28 kB / 0.4966 GB, free: 6.668 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001171/0.6205, allocations: 63.41 kB / 0.4966 GB, free: 6.594 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001128/0.6206, allocations: 31.98 kB / 0.4967 GB, free: 6.562 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.6206, allocations: 0 / 0.4967 GB, free: 6.562 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003201/0.6209, allocations: 121.5 kB / 0.4968 GB, free: 6.438 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.621, allocations: 4 kB / 0.4968 GB, free: 6.434 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/0.621, allocations: 256 / 0.4968 GB, free: 6.434 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/0.621, allocations: 4 kB / 0.4968 GB, free: 6.43 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002189/0.6212, allocations: 31.98 kB / 0.4968 GB, free: 6.398 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.6213, allocations: 7.875 kB / 0.4968 GB, free: 6.391 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001985/0.6215, allocations: 15.98 kB / 0.4969 GB, free: 6.375 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.6215, allocations: 4 kB / 0.4969 GB, free: 6.371 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001008/0.6216, allocations: 109 kB / 0.497 GB, free: 6.258 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001494/0.6218, allocations: 59.3 kB / 0.497 GB, free: 6.199 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005151/0.6223, allocations: 193.6 kB / 0.4972 GB, free: 6 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.6223, allocations: 4 kB / 0.4972 GB, free: 5.996 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.6223, allocations: 4 kB / 0.4972 GB, free: 5.992 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.6223, allocations: 0 / 0.4972 GB, free: 5.992 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005339/0.6229, allocations: 393.2 kB / 0.4976 GB, free: 5.559 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.6229, allocations: 0 / 0.4976 GB, free: 5.559 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.363e-05/0.623, allocations: 11.98 kB / 0.4976 GB, free: 5.547 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.945e-06/0.623, allocations: 3.953 kB / 0.4976 GB, free: 5.543 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.874e-05/0.6231, allocations: 4 kB / 0.4976 GB, free: 5.539 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.55e-06/0.6231, allocations: 3.938 kB / 0.4976 GB, free: 5.535 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.6231, allocations: 0 / 0.4976 GB, free: 5.535 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004778/0.6236, allocations: 215.1 kB / 0.4978 GB, free: 5.297 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003851/0.624, allocations: 204.3 kB / 0.498 GB, free: 5.078 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.467e-05/0.6241, allocations: 4 kB / 0.498 GB, free: 5.074 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001793/0.6243, allocations: 7.984 kB / 0.498 GB, free: 5.066 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.726e-05/0.6243, allocations: 15.98 kB / 0.498 GB, free: 5.051 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-05/0.6244, allocations: 4 kB / 0.498 GB, free: 5.047 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00145/0.6258, allocations: 0.7474 MB / 0.4988 GB, free: 4.301 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.8e-07/0.6258, allocations: 0 / 0.4988 GB, free: 4.301 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004807/0.6263, allocations: 76 kB / 0.4988 GB, free: 4.227 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001921/0.6283, allocations: 1.137 MB / 0.5 GB, free: 3.188 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002783/0.6286, allocations: 75.92 kB / 0.5 GB, free: 3.113 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.6286, allocations: 4.125 kB / 0.5 GB, free: 3.109 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001304/0.6287, allocations: 48.17 kB / 0.5001 GB, free: 3.062 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005848/0.6293, allocations: 66.25 kB / 0.5001 GB, free: 2.996 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002257/0.6316, allocations: 0.9426 MB / 0.5011 GB, free: 2.008 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005844/0.6322, allocations: 0.8585 MB / 0.5019 GB, free: 1.125 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003676/0.6326, allocations: 159.4 kB / 0.5021 GB, free: 0.9688 MB / 426.7 MB Notification: Performance of SimCode: time 1.082e-06/0.6326, allocations: 0 / 0.5021 GB, free: 0.9688 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_Test71CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test71CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test71CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test71Functions.cpp:202:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp8.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_Test71CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test71FMU.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_Test71CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test71CalcHelperMain.o] Error 1