Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test48,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test48",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.739/2.739, allocations: 270 MB / 282.6 MB, free: 1.848 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.758e-05/3.778e-05, allocations: 8 kB / 347.1 MB, free: 3.117 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4101/0.4101, allocations: 61.88 MB / 408.9 MB, free: 10.75 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1732/0.5835, allocations: 89.28 MB / 498.2 MB, free: 1.348 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002855/0.5838, allocations: 71.95 kB / 498.3 MB, free: 1.277 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02587/0.6097, allocations: 5.826 MB / 0.4923 GB, free: 11.45 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.6097, allocations: 0 / 0.4923 GB, free: 11.45 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.011e-05/0.6098, allocations: 4 kB / 0.4923 GB, free: 11.45 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.0006509/0.6104, allocations: 410.2 kB / 0.4927 GB, free: 11 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/0.6105, allocations: 8.031 kB / 0.4927 GB, free: 10.99 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.041e-05/0.6106, allocations: 38.55 kB / 0.4927 GB, free: 10.95 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.625e-05/0.6106, allocations: 15.81 kB / 0.4928 GB, free: 10.93 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004441/0.6111, allocations: 238.3 kB / 0.493 GB, free: 10.66 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/0.6111, allocations: 3.953 kB / 0.493 GB, free: 10.65 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.141e-05/0.6112, allocations: 4 kB / 0.493 GB, free: 10.65 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001614/0.6113, allocations: 61.61 kB / 0.493 GB, free: 10.58 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.6114, allocations: 0 / 0.493 GB, free: 10.58 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.6114, allocations: 0 / 0.493 GB, free: 10.58 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.6114, allocations: 4 kB / 0.493 GB, free: 10.58 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.68e-05/0.6115, allocations: 16 kB / 0.4931 GB, free: 10.56 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005422/0.6121, allocations: 320.8 kB / 0.4934 GB, free: 10.2 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001651/0.6122, allocations: 42.7 kB / 0.4934 GB, free: 10.15 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.551e-05/0.6123, allocations: 28.97 kB / 0.4934 GB, free: 10.12 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.332e-05/0.6124, allocations: 3.984 kB / 0.4934 GB, free: 10.11 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001789/0.6125, allocations: 63.41 kB / 0.4935 GB, free: 10.04 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.795e-06/0.6126, allocations: 4 kB / 0.4935 GB, free: 10.04 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006555/0.6132, allocations: 165 kB / 0.4937 GB, free: 9.867 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.343e-05/0.6133, allocations: 51.41 kB / 0.4937 GB, free: 9.805 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004093/0.6137, allocations: 237.8 kB / 0.4939 GB, free: 9.559 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.6138, allocations: 25.7 kB / 0.494 GB, free: 9.527 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.608e-05/0.6139, allocations: 170.6 kB / 0.4941 GB, free: 9.359 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.632e-05/0.6139, allocations: 23.64 kB / 0.4941 GB, free: 9.336 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.062e-05/0.6139, allocations: 4 kB / 0.4942 GB, free: 9.332 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.6141, allocations: 318.8 kB / 0.4945 GB, free: 9.012 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.909e-05/0.6142, allocations: 20 kB / 0.4945 GB, free: 8.992 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.905e-05/0.6143, allocations: 41.64 kB / 0.4945 GB, free: 8.945 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.478e-05/0.6144, allocations: 20 kB / 0.4945 GB, free: 8.926 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.6144, allocations: 0 / 0.4945 GB, free: 8.926 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002492/0.6147, allocations: 89.66 kB / 0.4946 GB, free: 8.832 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/0.6147, allocations: 8 kB / 0.4946 GB, free: 8.824 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.353e-06/0.6147, allocations: 4.031 kB / 0.4946 GB, free: 8.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.6147, allocations: 0 / 0.4946 GB, free: 8.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001688/0.6149, allocations: 19.92 kB / 0.4946 GB, free: 8.801 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.6149, allocations: 4 kB / 0.4947 GB, free: 8.797 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.537e-05/0.6151, allocations: 0 / 0.4947 GB, free: 8.797 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.641e-05/0.6151, allocations: 4 kB / 0.4947 GB, free: 8.793 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 0.0001014/0.6152, allocations: 124.1 kB / 0.4948 GB, free: 8.668 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.777e-05/0.6152, allocations: 15.81 kB / 0.4948 GB, free: 8.652 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003594/0.6156, allocations: 127.2 kB / 0.4949 GB, free: 8.52 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.6156, allocations: 0 / 0.4949 GB, free: 8.52 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.305e-06/0.6157, allocations: 4 kB / 0.4949 GB, free: 8.516 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.6157, allocations: 3.984 kB / 0.4949 GB, free: 8.512 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007115/0.6164, allocations: 431.2 kB / 0.4953 GB, free: 8.031 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.6164, allocations: 0 / 0.4953 GB, free: 8.031 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.037e-05/0.6165, allocations: 8 kB / 0.4953 GB, free: 8.023 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.115e-06/0.6165, allocations: 4 kB / 0.4953 GB, free: 8.02 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.581e-05/0.6165, allocations: 8.016 kB / 0.4954 GB, free: 8.012 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.908e-06/0.6166, allocations: 192 / 0.4954 GB, free: 8.012 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.6166, allocations: 4 kB / 0.4954 GB, free: 8.008 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003248/0.6169, allocations: 225.8 kB / 0.4956 GB, free: 7.762 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001019/0.617, allocations: 97 kB / 0.4957 GB, free: 7.648 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.055e-05/0.6171, allocations: 4 kB / 0.4957 GB, free: 7.645 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001293/0.6172, allocations: 8 kB / 0.4957 GB, free: 7.637 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.73e-05/0.6173, allocations: 11.94 kB / 0.4957 GB, free: 7.625 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-05/0.6173, allocations: 4 kB / 0.4957 GB, free: 7.621 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002996/0.6176, allocations: 196.2 kB / 0.4959 GB, free: 7.43 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.517e-06/0.6176, allocations: 0 / 0.4959 GB, free: 7.43 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003927/0.618, allocations: 43.78 kB / 0.4959 GB, free: 7.387 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.001937/0.62, allocations: 1.175 MB / 0.4971 GB, free: 6.328 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000241/0.6202, allocations: 55.94 kB / 0.4971 GB, free: 6.273 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/0.6203, allocations: 0 / 0.4971 GB, free: 6.273 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.535e-05/0.6204, allocations: 32.06 kB / 0.4971 GB, free: 6.242 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004363/0.6208, allocations: 31.7 kB / 0.4972 GB, free: 6.211 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009508/0.6218, allocations: 318.3 kB / 0.4975 GB, free: 5.855 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003717/0.6222, allocations: 0.7199 MB / 0.4982 GB, free: 5.109 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001258/0.6223, allocations: 47.42 kB / 0.4982 GB, free: 5.062 MB / 426.7 MB Notification: Performance of SimCode: time 1.202e-06/0.6223, allocations: 4.062 kB / 0.4982 GB, free: 5.059 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_Test48CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test48CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test48CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test48Functions.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_Test48CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test48FMU.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_Test48CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test48CalcHelperMain.o] Error 1