Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test53,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test53",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.639/2.639, allocations: 270 MB / 282.6 MB, free: 1.863 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.901e-05/3.913e-05, allocations: 7.938 kB / 347.1 MB, free: 3.109 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3986/0.3986, allocations: 61.87 MB / 408.9 MB, free: 10.76 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1659/0.5646, allocations: 89.28 MB / 498.2 MB, free: 1.355 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002756/0.5649, allocations: 79.95 kB / 498.3 MB, free: 1.277 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02629/0.5913, allocations: 5.688 MB / 0.4922 GB, free: 11.58 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.5913, allocations: 0 / 0.4922 GB, free: 11.58 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.919e-05/0.5913, allocations: 4 kB / 0.4922 GB, free: 11.58 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.0006555/0.592, allocations: 406.2 kB / 0.4926 GB, free: 11.14 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.193e-05/0.5921, allocations: 12.03 kB / 0.4926 GB, free: 11.12 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.918e-05/0.5921, allocations: 30.56 kB / 0.4926 GB, free: 11.09 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.387e-05/0.5922, allocations: 15.8 kB / 0.4926 GB, free: 11.07 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004009/0.5926, allocations: 214.8 kB / 0.4928 GB, free: 10.82 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.273e-05/0.5927, allocations: 11.94 kB / 0.4928 GB, free: 10.81 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.43e-05/0.5927, allocations: 0 / 0.4928 GB, free: 10.81 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/0.5929, allocations: 53.62 kB / 0.4929 GB, free: 10.75 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.5929, allocations: 0 / 0.4929 GB, free: 10.75 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.5929, allocations: 11.94 kB / 0.4929 GB, free: 10.74 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.5929, allocations: 4 kB / 0.4929 GB, free: 10.73 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.599e-05/0.593, allocations: 23.98 kB / 0.4929 GB, free: 10.71 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005044/0.5935, allocations: 300.8 kB / 0.4932 GB, free: 10.37 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001721/0.5937, allocations: 58.62 kB / 0.4933 GB, free: 10.3 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.536e-05/0.5938, allocations: 20.98 kB / 0.4933 GB, free: 10.28 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.756e-05/0.5938, allocations: 0 / 0.4933 GB, free: 10.28 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002116/0.5941, allocations: 67.39 kB / 0.4933 GB, free: 10.2 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.194e-06/0.5941, allocations: 0 / 0.4933 GB, free: 10.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.000666/0.5948, allocations: 153.2 kB / 0.4935 GB, free: 10.04 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/0.5948, allocations: 51.41 kB / 0.4935 GB, free: 9.98 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003433/0.5952, allocations: 207.2 kB / 0.4937 GB, free: 9.766 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.5952, allocations: 25.7 kB / 0.4938 GB, free: 9.734 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.035e-05/0.5953, allocations: 178.4 kB / 0.4939 GB, free: 9.559 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.951e-05/0.5954, allocations: 19.8 kB / 0.4939 GB, free: 9.539 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.334e-06/0.5954, allocations: 0 / 0.4939 GB, free: 9.539 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.5955, allocations: 322.8 kB / 0.4943 GB, free: 9.215 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.508e-05/0.5956, allocations: 20 kB / 0.4943 GB, free: 9.195 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.011e-05/0.5957, allocations: 29.72 kB / 0.4943 GB, free: 9.16 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.732e-05/0.5958, allocations: 19.98 kB / 0.4943 GB, free: 9.141 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.5958, allocations: 4 kB / 0.4943 GB, free: 9.137 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002363/0.5961, allocations: 93.53 kB / 0.4944 GB, free: 9.039 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.5961, allocations: 4 kB / 0.4944 GB, free: 9.035 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.5961, allocations: 4 kB / 0.4944 GB, free: 9.031 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.5961, allocations: 0 / 0.4944 GB, free: 9.031 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001676/0.5963, allocations: 15.98 kB / 0.4944 GB, free: 9.016 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.5963, allocations: 0 / 0.4944 GB, free: 9.016 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.553e-05/0.5964, allocations: 8 kB / 0.4944 GB, free: 9.008 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.46e-05/0.5965, allocations: 4 kB / 0.4944 GB, free: 9.004 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.536e-05/0.5966, allocations: 120.9 kB / 0.4946 GB, free: 8.879 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.838e-05/0.5966, allocations: 15.81 kB / 0.4946 GB, free: 8.863 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003348/0.597, allocations: 119.2 kB / 0.4947 GB, free: 8.738 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.597, allocations: 0 / 0.4947 GB, free: 8.738 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.597, allocations: 4 kB / 0.4947 GB, free: 8.734 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.597, allocations: 3.984 kB / 0.4947 GB, free: 8.73 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006674/0.5977, allocations: 419.2 kB / 0.4951 GB, free: 8.262 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.5977, allocations: 7.969 kB / 0.4951 GB, free: 8.254 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.149e-05/0.5978, allocations: 12 kB / 0.4951 GB, free: 8.242 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.5978, allocations: 0 / 0.4951 GB, free: 8.242 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/0.5979, allocations: 0 / 0.4951 GB, free: 8.242 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/0.5979, allocations: 4 kB / 0.4951 GB, free: 8.238 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.5979, allocations: 0 / 0.4951 GB, free: 8.238 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003554/0.5982, allocations: 226 kB / 0.4953 GB, free: 7.992 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.409e-05/0.5984, allocations: 97 kB / 0.4954 GB, free: 7.879 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.8e-05/0.5984, allocations: 4 kB / 0.4954 GB, free: 7.875 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00013/0.5985, allocations: 4 kB / 0.4954 GB, free: 7.871 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.342e-05/0.5986, allocations: 15.94 kB / 0.4955 GB, free: 7.855 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.574e-05/0.5986, allocations: 4 kB / 0.4955 GB, free: 7.852 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002407/0.5989, allocations: 167.5 kB / 0.4956 GB, free: 7.688 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5989, allocations: 0 / 0.4956 GB, free: 7.688 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003984/0.5993, allocations: 31.94 kB / 0.4956 GB, free: 7.656 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.002008/0.6013, allocations: 1.189 MB / 0.4968 GB, free: 6.586 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002694/0.6016, allocations: 55.98 kB / 0.4969 GB, free: 6.531 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.6017, allocations: 3.938 kB / 0.4969 GB, free: 6.527 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001002/0.6018, allocations: 27.94 kB / 0.4969 GB, free: 6.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004845/0.6023, allocations: 32.42 kB / 0.4969 GB, free: 6.465 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009071/0.6032, allocations: 274.6 kB / 0.4972 GB, free: 6.152 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003907/0.6036, allocations: 0.72 MB / 0.4979 GB, free: 5.406 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001171/0.6038, allocations: 39.42 kB / 0.4979 GB, free: 5.367 MB / 426.7 MB Notification: Performance of SimCode: time 1.362e-06/0.6038, allocations: 4 kB / 0.4979 GB, free: 5.363 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_Test53CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test53CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test53CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test53Functions.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_Test53CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test53FMU.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_Test53CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test53CalcHelperMain.o] Error 1