Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test59") Notification: Performance of loadModel(ModelicaTest): time 2.402/2.402, allocations: 270 MB / 282.7 MB, free: 1.781 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.126e-05/4.143e-05, allocations: 7.984 kB / 347 MB, free: 3.113 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3325/0.3325, allocations: 61.88 MB / 408.9 MB, free: 10.74 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1831/0.5157, allocations: 89.5 MB / 498.4 MB, free: 1.113 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000238/0.516, allocations: 75.95 kB / 498.4 MB, free: 1.039 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02454/0.5405, allocations: 5.904 MB / 0.4925 GB, free: 11.13 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.127e-06/0.5405, allocations: 0 / 0.4925 GB, free: 11.13 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.767e-05/0.5406, allocations: 8 kB / 0.4925 GB, free: 11.12 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.0005382/0.5411, allocations: 386.2 kB / 0.4929 GB, free: 10.7 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.5412, allocations: 12.03 kB / 0.4929 GB, free: 10.69 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.053e-05/0.5412, allocations: 11.91 kB / 0.4929 GB, free: 10.68 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003422/0.5416, allocations: 210.8 kB / 0.4931 GB, free: 10.43 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.195e-05/0.5416, allocations: 4 kB / 0.4931 GB, free: 10.43 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.831e-05/0.5417, allocations: 3.938 kB / 0.4931 GB, free: 10.42 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000169/0.5418, allocations: 67.39 kB / 0.4932 GB, free: 10.34 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.5419, allocations: 0 / 0.4932 GB, free: 10.34 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/0.5419, allocations: 3.984 kB / 0.4932 GB, free: 10.34 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.513e-06/0.5419, allocations: 4 kB / 0.4932 GB, free: 10.34 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.703e-05/0.542, allocations: 23.98 kB / 0.4932 GB, free: 10.31 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004478/0.5425, allocations: 292.8 kB / 0.4935 GB, free: 9.977 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001476/0.5426, allocations: 50.62 kB / 0.4935 GB, free: 9.918 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.7e-05/0.5427, allocations: 20.98 kB / 0.4936 GB, free: 9.895 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.413e-05/0.5427, allocations: 4 kB / 0.4936 GB, free: 9.891 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001533/0.5429, allocations: 63.39 kB / 0.4936 GB, free: 9.816 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.709e-06/0.5429, allocations: 0 / 0.4936 GB, free: 9.816 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005389/0.5435, allocations: 161.3 kB / 0.4938 GB, free: 9.652 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.27e-05/0.5435, allocations: 77.11 kB / 0.4939 GB, free: 9.559 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001895/0.5437, allocations: 144.7 kB / 0.494 GB, free: 9.41 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.9e-05/0.5438, allocations: 29.7 kB / 0.494 GB, free: 9.375 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.663e-05/0.5439, allocations: 170.4 kB / 0.4942 GB, free: 9.207 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.912e-05/0.5439, allocations: 23.7 kB / 0.4942 GB, free: 9.184 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.669e-06/0.544, allocations: 0 / 0.4942 GB, free: 9.184 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.5441, allocations: 314.8 kB / 0.4945 GB, free: 8.867 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.593e-05/0.5442, allocations: 16 kB / 0.4945 GB, free: 8.852 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.317e-05/0.5443, allocations: 42.56 kB / 0.4946 GB, free: 8.801 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.281e-05/0.5444, allocations: 23.94 kB / 0.4946 GB, free: 8.777 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.011e-06/0.5444, allocations: 4.031 kB / 0.4946 GB, free: 8.773 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003026/0.5447, allocations: 89.67 kB / 0.4947 GB, free: 8.68 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/0.5448, allocations: 4 kB / 0.4947 GB, free: 8.676 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.758e-06/0.5448, allocations: 0 / 0.4947 GB, free: 8.676 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.5448, allocations: 0 / 0.4947 GB, free: 8.676 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001826/0.545, allocations: 23.92 kB / 0.4947 GB, free: 8.652 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.108e-06/0.545, allocations: 0 / 0.4947 GB, free: 8.652 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.834e-05/0.5451, allocations: 7.953 kB / 0.4947 GB, free: 8.645 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/0.5452, allocations: 4 kB / 0.4947 GB, free: 8.641 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.0001003/0.5453, allocations: 113.7 kB / 0.4948 GB, free: 8.527 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.977e-05/0.5453, allocations: 7.906 kB / 0.4948 GB, free: 8.52 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002918/0.5456, allocations: 118.2 kB / 0.4949 GB, free: 8.398 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.983e-06/0.5456, allocations: 0 / 0.4949 GB, free: 8.398 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.5457, allocations: 0 / 0.4949 GB, free: 8.398 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.402e-06/0.5457, allocations: 288 / 0.4949 GB, free: 8.398 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006068/0.5463, allocations: 407.2 kB / 0.4953 GB, free: 7.941 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.694e-06/0.5463, allocations: 4.219 kB / 0.4953 GB, free: 7.938 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.854e-05/0.5464, allocations: 15.94 kB / 0.4954 GB, free: 7.922 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.472e-06/0.5464, allocations: 3.984 kB / 0.4954 GB, free: 7.918 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.5464, allocations: 7.938 kB / 0.4954 GB, free: 7.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.079e-06/0.5464, allocations: 3.953 kB / 0.4954 GB, free: 7.906 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.391e-06/0.5465, allocations: 0 / 0.4954 GB, free: 7.906 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003006/0.5468, allocations: 218 kB / 0.4956 GB, free: 7.668 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.122e-05/0.5469, allocations: 92.94 kB / 0.4957 GB, free: 7.559 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.568e-05/0.5469, allocations: 7.953 kB / 0.4957 GB, free: 7.551 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.547, allocations: 4 kB / 0.4957 GB, free: 7.547 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.004e-05/0.5471, allocations: 7.984 kB / 0.4957 GB, free: 7.539 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.608e-05/0.5471, allocations: 4 kB / 0.4957 GB, free: 7.535 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001381/0.5473, allocations: 119.3 kB / 0.4958 GB, free: 7.418 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.75e-07/0.5473, allocations: 0 / 0.4958 GB, free: 7.418 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003864/0.5477, allocations: 32 kB / 0.4958 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.00176/0.5494, allocations: 0.5129 MB / 0.4963 GB, free: 7.027 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001882/0.5496, allocations: 55.88 kB / 0.4964 GB, free: 6.973 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.073e-06/0.5497, allocations: 0 / 0.4964 GB, free: 6.973 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.466e-05/0.5498, allocations: 31.98 kB / 0.4964 GB, free: 6.941 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003129/0.5501, allocations: 22.23 kB / 0.4964 GB, free: 6.922 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004286/0.5505, allocations: 172.7 kB / 0.4966 GB, free: 6.719 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003925/0.5509, allocations: 0.7006 MB / 0.4973 GB, free: 5.992 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.447e-05/0.551, allocations: 15.44 kB / 0.4973 GB, free: 5.977 MB / 426.7 MB Notification: Performance of SimCode: time 1.475e-06/0.551, allocations: 0 / 0.4973 GB, free: 5.977 MB / 426.7 MB Notification: Performance of Templates: time 0.00487/0.5559, allocations: 2.059 MB / 0.4993 GB, free: 3.914 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test59.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.Test59CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test59CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test59CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test59Functions.cpp:255: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, ^ 1 error generated. : recipe for target 'OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test59CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test59CalcHelperMain.o] Error 1