Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test50") Notification: Performance of loadModel(ModelicaTest): time 2.395/2.395, allocations: 270 MB / 282.7 MB, free: 1.906 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.612e-05/3.628e-05, allocations: 4 kB / 347 MB, free: 3.273 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3295/0.3296, allocations: 61.88 MB / 408.9 MB, free: 10.81 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1753/0.505, allocations: 89.51 MB / 498.4 MB, free: 1.176 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004627/0.5055, allocations: 75.95 kB / 498.4 MB, free: 1.102 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04412/0.5497, allocations: 6.162 MB / 0.4928 GB, free: 10.93 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.231e-06/0.5497, allocations: 4 kB / 0.4928 GB, free: 10.92 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.405e-05/0.5498, allocations: 0 / 0.4928 GB, free: 10.92 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005955/0.5504, allocations: 398.2 kB / 0.4932 GB, free: 10.49 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.5504, allocations: 8.031 kB / 0.4932 GB, free: 10.48 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.458e-05/0.5505, allocations: 7.906 kB / 0.4932 GB, free: 10.47 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003685/0.5509, allocations: 212.6 kB / 0.4934 GB, free: 10.22 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.064e-05/0.5509, allocations: 3.953 kB / 0.4934 GB, free: 10.22 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.753e-05/0.5509, allocations: 4 kB / 0.4934 GB, free: 10.21 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001891/0.5511, allocations: 79.31 kB / 0.4935 GB, free: 10.12 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.5512, allocations: 0 / 0.4935 GB, free: 10.12 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.02e-05/0.5512, allocations: 4 kB / 0.4935 GB, free: 10.12 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.5512, allocations: 0 / 0.4935 GB, free: 10.12 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001153/0.5513, allocations: 27.98 kB / 0.4935 GB, free: 10.09 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005574/0.5519, allocations: 312.7 kB / 0.4938 GB, free: 9.738 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00021/0.5521, allocations: 66.69 kB / 0.4939 GB, free: 9.664 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.288e-05/0.5522, allocations: 24.92 kB / 0.4939 GB, free: 9.637 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.599e-05/0.5523, allocations: 0 / 0.4939 GB, free: 9.637 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001937/0.5525, allocations: 83.38 kB / 0.494 GB, free: 9.543 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 2.79e-06/0.5525, allocations: 0 / 0.494 GB, free: 9.543 MB / 426.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006588/0.5532, allocations: 181.1 kB / 0.4941 GB, free: 9.359 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.689e-05/0.5533, allocations: 77.11 kB / 0.4942 GB, free: 9.266 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002284/0.5535, allocations: 157 kB / 0.4944 GB, free: 9.102 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.065e-05/0.5536, allocations: 29.7 kB / 0.4944 GB, free: 9.066 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.625e-05/0.5537, allocations: 158.6 kB / 0.4945 GB, free: 8.91 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.734e-05/0.5537, allocations: 27.69 kB / 0.4946 GB, free: 8.883 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.662e-06/0.5538, allocations: 8 kB / 0.4946 GB, free: 8.875 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.5539, allocations: 318.8 kB / 0.4949 GB, free: 8.555 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.633e-05/0.554, allocations: 24 kB / 0.4949 GB, free: 8.531 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.888e-05/0.5541, allocations: 50.5 kB / 0.4949 GB, free: 8.473 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.366e-05/0.5542, allocations: 31.92 kB / 0.495 GB, free: 8.441 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.122e-06/0.5542, allocations: 0 / 0.495 GB, free: 8.441 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002608/0.5545, allocations: 101.7 kB / 0.4951 GB, free: 8.336 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.5546, allocations: 9.562 kB / 0.4951 GB, free: 8.328 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.818e-06/0.5546, allocations: 0 / 0.4951 GB, free: 8.328 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.5546, allocations: 4 kB / 0.4951 GB, free: 8.324 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001409/0.5548, allocations: 15.98 kB / 0.4951 GB, free: 8.309 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.5548, allocations: 4 kB / 0.4951 GB, free: 8.305 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.878e-05/0.5549, allocations: 4 kB / 0.4951 GB, free: 8.301 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.901e-05/0.5549, allocations: 7.984 kB / 0.4951 GB, free: 8.293 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 (11): * Single equations (assignments): 11 * 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.0001156/0.555, allocations: 120.8 kB / 0.4952 GB, free: 8.168 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.316e-05/0.5551, allocations: 11.91 kB / 0.4952 GB, free: 8.156 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003617/0.5554, allocations: 130.2 kB / 0.4954 GB, free: 8.027 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.01e-06/0.5555, allocations: 0 / 0.4954 GB, free: 8.027 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/0.5555, allocations: 4.172 kB / 0.4954 GB, free: 8.023 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/0.5555, allocations: 0 / 0.4954 GB, free: 8.023 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007258/0.5563, allocations: 439.1 kB / 0.4958 GB, free: 7.535 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.591e-06/0.5563, allocations: 0 / 0.4958 GB, free: 7.535 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.297e-05/0.5564, allocations: 23.92 kB / 0.4958 GB, free: 7.512 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.285e-06/0.5564, allocations: 4.031 kB / 0.4958 GB, free: 7.508 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.66e-05/0.5564, allocations: 4 kB / 0.4958 GB, free: 7.504 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.412e-06/0.5565, allocations: 0 / 0.4958 GB, free: 7.504 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.159e-06/0.5565, allocations: 0 / 0.4958 GB, free: 7.504 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000363/0.5568, allocations: 230 kB / 0.496 GB, free: 7.254 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.22e-05/0.5569, allocations: 92.92 kB / 0.4961 GB, free: 7.145 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.75e-05/0.557, allocations: 8 kB / 0.4961 GB, free: 7.137 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001387/0.5571, allocations: 7.984 kB / 0.4961 GB, free: 7.129 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.323e-05/0.5572, allocations: 7.953 kB / 0.4961 GB, free: 7.121 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.658e-05/0.5572, allocations: 11.98 kB / 0.4962 GB, free: 7.109 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001651/0.5574, allocations: 131.1 kB / 0.4963 GB, free: 6.984 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.42e-07/0.5574, allocations: 0 / 0.4963 GB, free: 6.984 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004182/0.5579, allocations: 43.88 kB / 0.4963 GB, free: 6.941 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 (11): * Single equations (assignments): 9 * 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.001793/0.5597, allocations: 0.4989 MB / 0.4968 GB, free: 6.594 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002533/0.5599, allocations: 75.86 kB / 0.4969 GB, free: 6.52 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.482e-06/0.56, allocations: 8 kB / 0.4969 GB, free: 6.512 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001125/0.5601, allocations: 39.94 kB / 0.4969 GB, free: 6.473 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000327/0.5604, allocations: 22.83 kB / 0.497 GB, free: 6.453 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004839/0.5609, allocations: 181.2 kB / 0.4971 GB, free: 6.238 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004134/0.5614, allocations: 0.7005 MB / 0.4978 GB, free: 5.512 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.647e-05/0.5615, allocations: 27.42 kB / 0.4978 GB, free: 5.484 MB / 426.7 MB Notification: Performance of SimCode: time 1.96e-06/0.5615, allocations: 0 / 0.4978 GB, free: 5.484 MB / 426.7 MB Notification: Performance of Templates: time 0.005243/0.5667, allocations: 2.178 MB / 0.5 GB, free: 3.309 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test50CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test50CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test50Functions.cpp:255: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, ^ 1 error generated. : recipe for target 'OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test50CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test50CalcHelperMain.o] Error 1