Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test17,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test17",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.936/2.936, allocations: 270 MB / 282.6 MB, free: 1.945 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.597e-05/4.606e-05, allocations: 15.88 kB / 347.1 MB, free: 3.184 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4311/0.4312, allocations: 61.86 MB / 408.9 MB, free: 10.7 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1684/0.5997, allocations: 89.29 MB / 498.2 MB, free: 1.293 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002771/0.6, allocations: 75.95 kB / 498.3 MB, free: 1.219 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02571/0.6257, allocations: 5.468 MB / 0.492 GB, free: 11.74 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.6258, allocations: 0 / 0.492 GB, free: 11.74 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.016e-05/0.6258, allocations: 3.938 kB / 0.492 GB, free: 11.73 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.0006477/0.6265, allocations: 394.2 kB / 0.4923 GB, free: 11.3 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.172e-05/0.6265, allocations: 8.031 kB / 0.4923 GB, free: 11.3 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.851e-05/0.6266, allocations: 30.56 kB / 0.4924 GB, free: 11.26 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.809e-05/0.6267, allocations: 11.91 kB / 0.4924 GB, free: 11.25 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00041/0.6271, allocations: 218.8 kB / 0.4926 GB, free: 10.99 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.172e-05/0.6271, allocations: 7.953 kB / 0.4926 GB, free: 10.98 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.486e-05/0.6272, allocations: 4 kB / 0.4926 GB, free: 10.98 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001607/0.6273, allocations: 53.67 kB / 0.4927 GB, free: 10.92 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.6274, allocations: 7.922 kB / 0.4927 GB, free: 10.91 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.6274, allocations: 0 / 0.4927 GB, free: 10.91 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.6274, allocations: 4 kB / 0.4927 GB, free: 10.91 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.126e-05/0.6275, allocations: 16 kB / 0.4927 GB, free: 10.89 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004929/0.628, allocations: 296.8 kB / 0.493 GB, free: 10.55 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001688/0.6282, allocations: 58.62 kB / 0.493 GB, free: 10.49 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.219e-05/0.6283, allocations: 16.98 kB / 0.493 GB, free: 10.47 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.024e-05/0.6283, allocations: 4 kB / 0.493 GB, free: 10.46 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001743/0.6285, allocations: 67.39 kB / 0.4931 GB, free: 10.39 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.204e-06/0.6285, allocations: 0 / 0.4931 GB, free: 10.39 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006253/0.6291, allocations: 145.3 kB / 0.4932 GB, free: 10.24 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.783e-05/0.6292, allocations: 51.41 kB / 0.4933 GB, free: 10.18 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002494/0.6295, allocations: 160 kB / 0.4934 GB, free: 10.02 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.28e-05/0.6295, allocations: 25.7 kB / 0.4935 GB, free: 9.984 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.506e-05/0.6296, allocations: 166.5 kB / 0.4936 GB, free: 9.82 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.523e-05/0.6297, allocations: 31.62 kB / 0.4937 GB, free: 9.789 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.546e-06/0.6297, allocations: 8 kB / 0.4937 GB, free: 9.781 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.6298, allocations: 314.8 kB / 0.494 GB, free: 9.465 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.243e-05/0.6299, allocations: 20 kB / 0.494 GB, free: 9.445 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.376e-05/0.63, allocations: 41.64 kB / 0.494 GB, free: 9.398 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.513e-05/0.6301, allocations: 23.98 kB / 0.494 GB, free: 9.375 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.6301, allocations: 0 / 0.494 GB, free: 9.375 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002285/0.6303, allocations: 81.69 kB / 0.4941 GB, free: 9.289 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/0.6304, allocations: 12.22 kB / 0.4941 GB, free: 9.277 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.6304, allocations: 0 / 0.4941 GB, free: 9.277 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.6304, allocations: 3.938 kB / 0.4941 GB, free: 9.273 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001671/0.6306, allocations: 19.92 kB / 0.4942 GB, free: 9.254 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/0.6306, allocations: 4 kB / 0.4942 GB, free: 9.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.901e-05/0.6307, allocations: 0 / 0.4942 GB, free: 9.25 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.547e-05/0.6307, allocations: 4 kB / 0.4942 GB, free: 9.246 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 9.664e-05/0.6308, allocations: 112.9 kB / 0.4943 GB, free: 9.129 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.319e-05/0.6309, allocations: 7.906 kB / 0.4943 GB, free: 9.121 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003295/0.6312, allocations: 118.2 kB / 0.4944 GB, free: 9.004 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.6313, allocations: 0 / 0.4944 GB, free: 9.004 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.6313, allocations: 0 / 0.4944 GB, free: 9.004 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.6313, allocations: 0 / 0.4944 GB, free: 9.004 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006419/0.6319, allocations: 411.1 kB / 0.4948 GB, free: 8.543 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.632, allocations: 0 / 0.4948 GB, free: 8.543 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.03e-05/0.632, allocations: 12.19 kB / 0.4948 GB, free: 8.531 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.879e-06/0.6321, allocations: 3.984 kB / 0.4948 GB, free: 8.527 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.345e-05/0.6321, allocations: 12.03 kB / 0.4948 GB, free: 8.516 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.961e-06/0.6321, allocations: 4 kB / 0.4948 GB, free: 8.512 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.6321, allocations: 0 / 0.4948 GB, free: 8.512 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003087/0.6325, allocations: 213.9 kB / 0.495 GB, free: 8.277 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.383e-05/0.6325, allocations: 89.02 kB / 0.4951 GB, free: 8.172 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.656e-05/0.6326, allocations: 3.984 kB / 0.4951 GB, free: 8.168 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001225/0.6327, allocations: 12 kB / 0.4951 GB, free: 8.156 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.924e-05/0.6328, allocations: 11.94 kB / 0.4951 GB, free: 8.145 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.561e-05/0.6328, allocations: 4 kB / 0.4951 GB, free: 8.141 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001662/0.633, allocations: 129.9 kB / 0.4953 GB, free: 8.016 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.6e-07/0.633, allocations: 0 / 0.4953 GB, free: 8.016 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004206/0.6334, allocations: 35.92 kB / 0.4953 GB, free: 7.98 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.001909/0.6354, allocations: 1.18 MB / 0.4964 GB, free: 6.918 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000249/0.6356, allocations: 51.94 kB / 0.4965 GB, free: 6.867 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.6357, allocations: 7.938 kB / 0.4965 GB, free: 6.859 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.195e-05/0.6358, allocations: 32.05 kB / 0.4965 GB, free: 6.828 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004174/0.6362, allocations: 27.88 kB / 0.4966 GB, free: 6.801 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007517/0.637, allocations: 238.5 kB / 0.4968 GB, free: 6.516 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003483/0.6373, allocations: 0.7082 MB / 0.4975 GB, free: 5.781 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001037/0.6375, allocations: 35.42 kB / 0.4975 GB, free: 5.746 MB / 426.7 MB Notification: Performance of SimCode: time 1.393e-06/0.6375, allocations: 4.062 kB / 0.4975 GB, free: 5.742 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_Test17CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test17CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test17CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test17Functions.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_Test17CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test17FMU.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_Test17CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test17CalcHelperMain.o] Error 1