Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test76") Notification: Performance of loadModel(ModelicaTest): time 2.458/2.458, allocations: 270 MB / 282.7 MB, free: 1.773 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.503e-05/3.517e-05, allocations: 4 kB / 347 MB, free: 3.156 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3266/0.3266, allocations: 61.88 MB / 408.8 MB, free: 10.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1396/0.4663, allocations: 89.34 MB / 498.2 MB, free: 1.309 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002361/0.4665, allocations: 71.97 kB / 498.3 MB, free: 1.238 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02592/0.4925, allocations: 6.17 MB / 0.4926 GB, free: 11.06 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.039e-06/0.4925, allocations: 0 / 0.4926 GB, free: 11.06 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.422e-05/0.4926, allocations: 0 / 0.4926 GB, free: 11.06 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005681/0.4931, allocations: 406.1 kB / 0.493 GB, free: 10.62 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.4932, allocations: 12.03 kB / 0.493 GB, free: 10.61 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.696e-05/0.4933, allocations: 15.8 kB / 0.493 GB, free: 10.59 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003749/0.4937, allocations: 215.6 kB / 0.4932 GB, free: 10.34 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.142e-05/0.4937, allocations: 11.95 kB / 0.4932 GB, free: 10.32 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.849e-05/0.4937, allocations: 4 kB / 0.4932 GB, free: 10.32 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001849/0.4939, allocations: 81.53 kB / 0.4933 GB, free: 10.23 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.494, allocations: 0 / 0.4933 GB, free: 10.23 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.494, allocations: 0 / 0.4933 GB, free: 10.23 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.061e-06/0.494, allocations: 0 / 0.4933 GB, free: 10.23 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001391/0.4941, allocations: 47.97 kB / 0.4934 GB, free: 10.19 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005583/0.4947, allocations: 328.7 kB / 0.4937 GB, free: 9.816 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004212/0.4952, allocations: 98.56 kB / 0.4938 GB, free: 9.711 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.38e-05/0.4953, allocations: 32.84 kB / 0.4938 GB, free: 9.676 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.198e-05/0.4953, allocations: 0 / 0.4938 GB, free: 9.676 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001944/0.4955, allocations: 83.38 kB / 0.4939 GB, free: 9.582 MB / 426.7 MB Notification: Performance of pre-optimization done (n=9): time 2.665e-06/0.4955, allocations: 0 / 0.4939 GB, free: 9.582 MB / 426.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008695/0.4964, allocations: 265.1 kB / 0.4941 GB, free: 9.316 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.77e-05/0.4965, allocations: 63.34 kB / 0.4942 GB, free: 9.242 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002627/0.4967, allocations: 182.2 kB / 0.4944 GB, free: 9.055 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.942e-05/0.4968, allocations: 29.7 kB / 0.4944 GB, free: 9.02 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.4969, allocations: 166.8 kB / 0.4946 GB, free: 8.855 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.622e-05/0.497, allocations: 35.45 kB / 0.4946 GB, free: 8.82 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.122e-05/0.497, allocations: 4 kB / 0.4946 GB, free: 8.816 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.4972, allocations: 318.8 kB / 0.4949 GB, free: 8.496 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001006/0.4973, allocations: 36 kB / 0.4949 GB, free: 8.461 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001154/0.4974, allocations: 57.7 kB / 0.495 GB, free: 8.398 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001182/0.4975, allocations: 44.67 kB / 0.495 GB, free: 8.355 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.897e-06/0.4975, allocations: 0 / 0.495 GB, free: 8.355 MB / 426.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000338/0.4979, allocations: 153.5 kB / 0.4952 GB, free: 8.199 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.4979, allocations: 4 kB / 0.4952 GB, free: 8.195 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.918e-06/0.4979, allocations: 0 / 0.4952 GB, free: 8.195 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.498, allocations: 4 kB / 0.4952 GB, free: 8.191 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001468/0.4981, allocations: 27.92 kB / 0.4952 GB, free: 8.164 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.818e-06/0.4982, allocations: 4.031 kB / 0.4952 GB, free: 8.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.18e-05/0.4982, allocations: 12 kB / 0.4952 GB, free: 8.148 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.99e-05/0.4983, allocations: 7.953 kB / 0.4952 GB, free: 8.141 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 (15): * Single equations (assignments): 15 * 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.0001042/0.4984, allocations: 108.9 kB / 0.4953 GB, free: 8.027 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.643e-05/0.4984, allocations: 15.81 kB / 0.4954 GB, free: 8.012 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004564/0.4989, allocations: 183.2 kB / 0.4955 GB, free: 7.824 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.76e-06/0.4989, allocations: 0 / 0.4955 GB, free: 7.824 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.508e-06/0.499, allocations: 8 kB / 0.4955 GB, free: 7.816 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/0.499, allocations: 3.984 kB / 0.4955 GB, free: 7.812 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008854/0.4999, allocations: 0.5116 MB / 0.496 GB, free: 7.238 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.4999, allocations: 0 / 0.496 GB, free: 7.238 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000109/0.5, allocations: 19.98 kB / 0.4961 GB, free: 7.219 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.497e-06/0.5, allocations: 4 kB / 0.4961 GB, free: 7.215 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.794e-05/0.5, allocations: 4 kB / 0.4961 GB, free: 7.211 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.799e-06/0.5001, allocations: 8.016 kB / 0.4961 GB, free: 7.203 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.54e-06/0.5001, allocations: 0 / 0.4961 GB, free: 7.203 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004419/0.5005, allocations: 291.5 kB / 0.4963 GB, free: 6.887 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.371e-05/0.5006, allocations: 100.9 kB / 0.4964 GB, free: 6.77 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.329e-05/0.5007, allocations: 8 kB / 0.4965 GB, free: 6.762 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000131/0.5008, allocations: 15.92 kB / 0.4965 GB, free: 6.746 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.887e-05/0.5009, allocations: 11.98 kB / 0.4965 GB, free: 6.734 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.096e-05/0.5009, allocations: 4 kB / 0.4965 GB, free: 6.73 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001834/0.5011, allocations: 147.5 kB / 0.4966 GB, free: 6.59 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.88e-07/0.5011, allocations: 0 / 0.4966 GB, free: 6.59 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004101/0.5016, allocations: 47.94 kB / 0.4967 GB, free: 6.543 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 (16): * Single equations (assignments): 14 * 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.001862/0.5034, allocations: 0.5072 MB / 0.4972 GB, free: 6.191 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002911/0.5038, allocations: 111.9 kB / 0.4973 GB, free: 6.082 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.061e-06/0.5038, allocations: 0 / 0.4973 GB, free: 6.082 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001368/0.5039, allocations: 55.94 kB / 0.4973 GB, free: 6.027 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003374/0.5043, allocations: 27.97 kB / 0.4974 GB, free: 6 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005984/0.5049, allocations: 242 kB / 0.4976 GB, free: 5.734 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004267/0.5053, allocations: 0.7204 MB / 0.4983 GB, free: 4.988 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.175e-05/0.5054, allocations: 27.42 kB / 0.4983 GB, free: 4.961 MB / 426.7 MB Notification: Performance of SimCode: time 1.555e-06/0.5054, allocations: 0 / 0.4983 GB, free: 4.961 MB / 426.7 MB Notification: Performance of Templates: time 0.00547/0.5109, allocations: 2.393 MB / 0.5007 GB, free: 2.57 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.makefile clang++ -fopenmp=libomp -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=2 -DSUNDIALS_MINOR_VERSION=6 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test76CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test76CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test76CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test76Functions.cpp:282:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp8.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, ^ 1 error generated. : recipe for target 'OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test76CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test76CalcHelperMain.o] Error 1