Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test11,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.521/2.521, allocations: 270 MB / 282.6 MB, free: 1.953 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.04e-05/5.046e-05, allocations: 15.94 kB / 347.1 MB, free: 3.195 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4104/0.4105, allocations: 61.86 MB / 408.9 MB, free: 10.81 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1917/0.6022, allocations: 90.2 MB / 499.1 MB, free: 500 kB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002886/0.6026, allocations: 79.94 kB / 499.2 MB, free: 420 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0202/0.6228, allocations: 4.326 MB / 0.4917 GB, free: 12.08 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.6229, allocations: 0 / 0.4917 GB, free: 12.08 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.445e-05/0.6229, allocations: 4 kB / 0.4917 GB, free: 12.07 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007663/0.6237, allocations: 459.8 kB / 0.4922 GB, free: 11.57 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.305e-05/0.6238, allocations: 12.03 kB / 0.4922 GB, free: 11.56 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.405e-05/0.6238, allocations: 34.56 kB / 0.4922 GB, free: 11.52 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.617e-05/0.6239, allocations: 15.81 kB / 0.4922 GB, free: 11.5 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004654/0.6244, allocations: 232 kB / 0.4924 GB, free: 11.24 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/0.6244, allocations: 4 kB / 0.4925 GB, free: 11.23 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.387e-05/0.6245, allocations: 8 kB / 0.4925 GB, free: 11.23 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002637/0.6247, allocations: 104.2 kB / 0.4926 GB, free: 11.11 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.6248, allocations: 3.938 kB / 0.4926 GB, free: 11.11 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.758e-05/0.6248, allocations: 0 / 0.4926 GB, free: 11.11 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.6248, allocations: 4 kB / 0.4926 GB, free: 11.1 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000154/0.625, allocations: 32 kB / 0.4926 GB, free: 11.07 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008808/0.6259, allocations: 0.5243 MB / 0.4931 GB, free: 10.49 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003628/0.6263, allocations: 82.61 kB / 0.4932 GB, free: 10.4 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/0.6264, allocations: 32.86 kB / 0.4932 GB, free: 10.36 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/0.6264, allocations: 3.984 kB / 0.4932 GB, free: 10.36 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002111/0.6266, allocations: 79.33 kB / 0.4933 GB, free: 10.27 MB / 426.7 MB Notification: Performance of pre-optimization done (n=9): time 2.835e-06/0.6266, allocations: 0 / 0.4933 GB, free: 10.27 MB / 426.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003711/0.627, allocations: 105.4 kB / 0.4934 GB, free: 10.16 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.41e-05/0.6271, allocations: 63.34 kB / 0.4935 GB, free: 10.09 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002728/0.6274, allocations: 170.6 kB / 0.4936 GB, free: 9.902 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.484e-05/0.6274, allocations: 25.7 kB / 0.4936 GB, free: 9.871 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/0.6275, allocations: 174.5 kB / 0.4938 GB, free: 9.699 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.608e-05/0.6276, allocations: 35.55 kB / 0.4938 GB, free: 9.664 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.965e-06/0.6276, allocations: 0 / 0.4938 GB, free: 9.664 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.6278, allocations: 318.8 kB / 0.4942 GB, free: 9.344 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.219e-05/0.6279, allocations: 23.98 kB / 0.4942 GB, free: 9.32 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/0.628, allocations: 52.3 kB / 0.4942 GB, free: 9.254 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000104/0.6281, allocations: 35.92 kB / 0.4943 GB, free: 9.219 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.6281, allocations: 0 / 0.4943 GB, free: 9.219 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000332/0.6285, allocations: 121.6 kB / 0.4944 GB, free: 9.094 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.6285, allocations: 4 kB / 0.4944 GB, free: 9.09 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.6285, allocations: 0 / 0.4944 GB, free: 9.09 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/0.6286, allocations: 4 kB / 0.4944 GB, free: 9.086 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002161/0.6288, allocations: 24.11 kB / 0.4944 GB, free: 9.062 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/0.6288, allocations: 4 kB / 0.4944 GB, free: 9.059 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001753/0.629, allocations: 27.78 kB / 0.4944 GB, free: 9.031 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.648e-05/0.629, allocations: 4 kB / 0.4944 GB, free: 9.027 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * 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.0001126/0.6292, allocations: 114.6 kB / 0.4945 GB, free: 8.91 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.907e-05/0.6292, allocations: 11.81 kB / 0.4946 GB, free: 8.898 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000354/0.6296, allocations: 119.1 kB / 0.4947 GB, free: 8.773 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.273e-06/0.6296, allocations: 4 kB / 0.4947 GB, free: 8.77 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.6296, allocations: 4 kB / 0.4947 GB, free: 8.766 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.6296, allocations: 0 / 0.4947 GB, free: 8.766 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002773/0.6299, allocations: 217.7 kB / 0.4949 GB, free: 8.504 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.6299, allocations: 0 / 0.4949 GB, free: 8.504 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001579/0.6301, allocations: 12 kB / 0.4949 GB, free: 8.492 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.6301, allocations: 0 / 0.4949 GB, free: 8.492 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.777e-05/0.6302, allocations: 7.984 kB / 0.4949 GB, free: 8.484 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.6302, allocations: 0 / 0.4949 GB, free: 8.484 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.6302, allocations: 0 / 0.4949 GB, free: 8.484 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004289/0.6306, allocations: 180.8 kB / 0.4951 GB, free: 8.289 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.786e-05/0.6307, allocations: 100.9 kB / 0.4952 GB, free: 8.172 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.681e-05/0.6308, allocations: 4 kB / 0.4952 GB, free: 8.168 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001211/0.6309, allocations: 11.98 kB / 0.4952 GB, free: 8.156 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.764e-05/0.631, allocations: 288 / 0.4952 GB, free: 8.156 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.642e-05/0.631, allocations: 7.984 kB / 0.4952 GB, free: 8.148 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001962/0.6312, allocations: 141.2 kB / 0.4953 GB, free: 8.012 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6312, allocations: 3.938 kB / 0.4953 GB, free: 8.008 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003606/0.6316, allocations: 36.19 kB / 0.4954 GB, free: 7.973 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.001958/0.6336, allocations: 1.013 MB / 0.4964 GB, free: 7.066 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002851/0.6339, allocations: 67.92 kB / 0.4964 GB, free: 7 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.656e-06/0.6339, allocations: 0 / 0.4964 GB, free: 7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001187/0.634, allocations: 35.94 kB / 0.4965 GB, free: 6.965 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004278/0.6345, allocations: 39.19 kB / 0.4965 GB, free: 6.926 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008941/0.6354, allocations: 279.6 kB / 0.4968 GB, free: 6.613 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003645/0.6358, allocations: 0.7165 MB / 0.4975 GB, free: 5.871 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001204/0.6359, allocations: 39.42 kB / 0.4975 GB, free: 5.832 MB / 426.7 MB Notification: Performance of SimCode: time 1.432e-06/0.6359, allocations: 0 / 0.4975 GB, free: 5.832 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_Test11CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test11CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test11CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test11Functions.cpp:204:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp6.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_Test11CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test11FMU.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_Test11CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test11CalcHelperMain.o] Error 1