Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test36,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.685/2.685, allocations: 270 MB / 282.6 MB, free: 1.812 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.053e-05/4.063e-05, allocations: 8 kB / 347.1 MB, free: 3.098 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4023/0.4024, allocations: 61.88 MB / 408.9 MB, free: 10.62 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.165/0.5674, allocations: 89.33 MB / 498.3 MB, free: 1.176 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002856/0.5678, allocations: 71.97 kB / 498.3 MB, free: 1.105 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02601/0.5938, allocations: 5.941 MB / 0.4925 GB, free: 11.16 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.5939, allocations: 0 / 0.4925 GB, free: 11.16 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.852e-05/0.5939, allocations: 8 kB / 0.4925 GB, free: 11.15 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.0006272/0.5945, allocations: 418.1 kB / 0.4929 GB, free: 10.7 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.5946, allocations: 8.031 kB / 0.4929 GB, free: 10.69 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.31e-05/0.5947, allocations: 34.55 kB / 0.4929 GB, free: 10.64 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.039e-05/0.5947, allocations: 15.81 kB / 0.4929 GB, free: 10.63 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003879/0.5951, allocations: 218.8 kB / 0.4931 GB, free: 10.38 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.977e-05/0.5952, allocations: 7.953 kB / 0.4931 GB, free: 10.37 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.394e-05/0.5952, allocations: 4 kB / 0.4931 GB, free: 10.36 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001598/0.5954, allocations: 61.67 kB / 0.4932 GB, free: 10.3 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.5954, allocations: 3.906 kB / 0.4932 GB, free: 10.29 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.991e-05/0.5954, allocations: 3.984 kB / 0.4932 GB, free: 10.29 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.5954, allocations: 3.938 kB / 0.4932 GB, free: 10.29 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.767e-05/0.5956, allocations: 27.98 kB / 0.4932 GB, free: 10.26 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005028/0.5961, allocations: 300.8 kB / 0.4935 GB, free: 9.914 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002679/0.5964, allocations: 62.56 kB / 0.4936 GB, free: 9.844 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.447e-05/0.5964, allocations: 20.98 kB / 0.4936 GB, free: 9.82 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.755e-05/0.5965, allocations: 0 / 0.4936 GB, free: 9.82 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001682/0.5967, allocations: 71.33 kB / 0.4937 GB, free: 9.738 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 2.044e-06/0.5967, allocations: 3.938 kB / 0.4937 GB, free: 9.734 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007712/0.5975, allocations: 205.2 kB / 0.4939 GB, free: 9.527 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.139e-05/0.5975, allocations: 51.41 kB / 0.4939 GB, free: 9.465 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003279/0.5979, allocations: 211.1 kB / 0.4941 GB, free: 9.246 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.663e-05/0.5979, allocations: 29.7 kB / 0.4942 GB, free: 9.211 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.598, allocations: 174.5 kB / 0.4943 GB, free: 9.039 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.344e-05/0.5981, allocations: 27.56 kB / 0.4943 GB, free: 9.012 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.959e-06/0.5981, allocations: 7.938 kB / 0.4944 GB, free: 9.004 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.5982, allocations: 318.8 kB / 0.4947 GB, free: 8.684 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.56e-05/0.5983, allocations: 28 kB / 0.4947 GB, free: 8.656 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001029/0.5984, allocations: 49.7 kB / 0.4947 GB, free: 8.602 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.175e-05/0.5985, allocations: 24 kB / 0.4948 GB, free: 8.578 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.5986, allocations: 0 / 0.4948 GB, free: 8.578 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002757/0.5988, allocations: 117.6 kB / 0.4949 GB, free: 8.457 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.5989, allocations: 4 kB / 0.4949 GB, free: 8.453 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.5989, allocations: 0 / 0.4949 GB, free: 8.453 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.5989, allocations: 0 / 0.4949 GB, free: 8.453 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001704/0.5991, allocations: 23.98 kB / 0.4949 GB, free: 8.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.5991, allocations: 0 / 0.4949 GB, free: 8.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.873e-05/0.5992, allocations: 15.97 kB / 0.4949 GB, free: 8.414 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.732e-05/0.5992, allocations: 7.953 kB / 0.4949 GB, free: 8.406 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 (13): * Single equations (assignments): 13 * 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.516e-05/0.5993, allocations: 116.1 kB / 0.495 GB, free: 8.289 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.085e-05/0.5994, allocations: 15.81 kB / 0.495 GB, free: 8.273 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004127/0.5998, allocations: 139.2 kB / 0.4952 GB, free: 8.129 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.5998, allocations: 0 / 0.4952 GB, free: 8.129 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.5999, allocations: 4 kB / 0.4952 GB, free: 8.125 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/0.5999, allocations: 3.984 kB / 0.4952 GB, free: 8.121 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007773/0.6007, allocations: 471.9 kB / 0.4956 GB, free: 7.598 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.6007, allocations: 4 kB / 0.4956 GB, free: 7.594 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001021/0.6008, allocations: 15.98 kB / 0.4956 GB, free: 7.578 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.6008, allocations: 0 / 0.4956 GB, free: 7.578 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.979e-05/0.6008, allocations: 8 kB / 0.4957 GB, free: 7.57 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5e-06/0.6008, allocations: 4.422 kB / 0.4957 GB, free: 7.566 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/0.6009, allocations: 7.938 kB / 0.4957 GB, free: 7.559 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003674/0.6012, allocations: 260.8 kB / 0.4959 GB, free: 7.27 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.264e-05/0.6014, allocations: 108.8 kB / 0.496 GB, free: 7.145 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.301e-05/0.6014, allocations: 8 kB / 0.496 GB, free: 7.137 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001244/0.6015, allocations: 4 kB / 0.496 GB, free: 7.133 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.283e-05/0.6016, allocations: 11.98 kB / 0.496 GB, free: 7.121 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.68e-05/0.6016, allocations: 4 kB / 0.496 GB, free: 7.117 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00023/0.6019, allocations: 167.5 kB / 0.4962 GB, free: 6.953 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6019, allocations: 0 / 0.4962 GB, free: 6.953 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004249/0.6023, allocations: 43.92 kB / 0.4962 GB, free: 6.91 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.002213/0.6045, allocations: 1.331 MB / 0.4975 GB, free: 5.707 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002924/0.6049, allocations: 75.94 kB / 0.4976 GB, free: 5.633 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/0.6049, allocations: 0 / 0.4976 GB, free: 5.633 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001137/0.605, allocations: 39.92 kB / 0.4977 GB, free: 5.594 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004316/0.6055, allocations: 28.48 kB / 0.4977 GB, free: 5.562 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000978/0.6065, allocations: 315.7 kB / 0.498 GB, free: 5.207 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003495/0.6068, allocations: 0.716 MB / 0.4987 GB, free: 4.465 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001265/0.607, allocations: 51.41 kB / 0.4987 GB, free: 4.414 MB / 426.7 MB Notification: Performance of SimCode: time 1.212e-06/0.607, allocations: 0 / 0.4987 GB, free: 4.414 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_Test36CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test36CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test36CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test36Functions.cpp:282: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_Test36CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test36FMU.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_Test36CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test36CalcHelperMain.o] Error 1