Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test79") Notification: Performance of loadModel(ModelicaTest): time 2.354/2.354, allocations: 270 MB / 282.7 MB, free: 1.746 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.478e-05/3.543e-05, allocations: 8 kB / 347 MB, free: 3.125 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3245/0.3245, allocations: 61.88 MB / 408.8 MB, free: 10.63 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1385/0.4631, allocations: 89.53 MB / 498.4 MB, free: 0.9727 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002434/0.4634, allocations: 75.95 kB / 498.5 MB, free: 0.8984 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03347/0.4969, allocations: 8.174 MB / 0.4948 GB, free: 8.711 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.811e-06/0.4969, allocations: 0 / 0.4948 GB, free: 8.711 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.796e-05/0.497, allocations: 19.88 kB / 0.4948 GB, free: 8.691 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007834/0.4978, allocations: 0.4937 MB / 0.4953 GB, free: 8.152 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.4978, allocations: 8.031 kB / 0.4953 GB, free: 8.145 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.454e-05/0.4979, allocations: 23.72 kB / 0.4953 GB, free: 8.121 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005831/0.4985, allocations: 299.9 kB / 0.4956 GB, free: 7.789 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.4985, allocations: 4 kB / 0.4956 GB, free: 7.785 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.679e-05/0.4986, allocations: 8 kB / 0.4956 GB, free: 7.777 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000248/0.4989, allocations: 119.2 kB / 0.4957 GB, free: 7.648 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.4989, allocations: 0 / 0.4957 GB, free: 7.648 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.4989, allocations: 0 / 0.4957 GB, free: 7.648 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.972e-06/0.4989, allocations: 4 kB / 0.4957 GB, free: 7.645 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001326/0.4991, allocations: 43.92 kB / 0.4957 GB, free: 7.602 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00084/0.4999, allocations: 496.7 kB / 0.4962 GB, free: 7.062 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003913/0.5003, allocations: 113.2 kB / 0.4963 GB, free: 6.934 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001114/0.5005, allocations: 45.84 kB / 0.4964 GB, free: 6.883 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.401e-05/0.5005, allocations: 3.938 kB / 0.4964 GB, free: 6.879 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002575/0.5008, allocations: 117.2 kB / 0.4965 GB, free: 6.746 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 2.882e-06/0.5008, allocations: 0 / 0.4965 GB, free: 6.746 MB / 426.7 MB Notification: Performance of matching and sorting (n=22): time 0.001272/0.5021, allocations: 447.9 kB / 0.4969 GB, free: 6.301 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.255e-05/0.5022, allocations: 81.11 kB / 0.497 GB, free: 6.203 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006491/0.5028, allocations: 386.6 kB / 0.4974 GB, free: 5.816 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.572e-05/0.5029, allocations: 37.64 kB / 0.4974 GB, free: 5.773 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001512/0.503, allocations: 202.9 kB / 0.4976 GB, free: 5.574 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.02e-05/0.5031, allocations: 67.11 kB / 0.4977 GB, free: 5.508 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.157e-05/0.5032, allocations: 0 / 0.4977 GB, free: 5.508 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001671/0.5033, allocations: 322.8 kB / 0.498 GB, free: 5.184 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001592/0.5035, allocations: 52 kB / 0.498 GB, free: 5.133 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001722/0.5037, allocations: 90.05 kB / 0.4981 GB, free: 5.035 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001687/0.5039, allocations: 72.06 kB / 0.4982 GB, free: 4.965 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.267e-06/0.5039, allocations: 0 / 0.4982 GB, free: 4.965 MB / 426.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004685/0.5044, allocations: 197.4 kB / 0.4984 GB, free: 4.766 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.5044, allocations: 7.953 kB / 0.4984 GB, free: 4.758 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.886e-06/0.5044, allocations: 4 kB / 0.4984 GB, free: 4.754 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.5045, allocations: 4.062 kB / 0.4984 GB, free: 4.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002433/0.5047, allocations: 51.91 kB / 0.4984 GB, free: 4.699 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.043e-06/0.5047, allocations: 0 / 0.4984 GB, free: 4.699 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001606/0.5049, allocations: 11.91 kB / 0.4984 GB, free: 4.688 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.88e-05/0.5049, allocations: 8 kB / 0.4984 GB, free: 4.68 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001261/0.5051, allocations: 121 kB / 0.4986 GB, free: 4.555 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.453e-05/0.5052, allocations: 31.62 kB / 0.4986 GB, free: 4.523 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006604/0.5058, allocations: 264.9 kB / 0.4988 GB, free: 4.258 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.349e-05/0.5059, allocations: 7.984 kB / 0.4988 GB, free: 4.25 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.465e-06/0.5059, allocations: 3.938 kB / 0.4988 GB, free: 4.246 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.904e-06/0.5059, allocations: 0 / 0.4988 GB, free: 4.246 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001706/0.5076, allocations: 0.7935 MB / 0.4996 GB, free: 3.383 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.846e-06/0.5077, allocations: 0 / 0.4996 GB, free: 3.383 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002001/0.5079, allocations: 31.98 kB / 0.4997 GB, free: 3.352 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.909e-06/0.5079, allocations: 0 / 0.4997 GB, free: 3.352 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.295e-05/0.5079, allocations: 11.98 kB / 0.4997 GB, free: 3.34 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.742e-06/0.508, allocations: 7.938 kB / 0.4997 GB, free: 3.332 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.963e-06/0.508, allocations: 0 / 0.4997 GB, free: 3.332 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007258/0.5087, allocations: 486.7 kB / 0.5001 GB, free: 2.793 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002182/0.509, allocations: 128.6 kB / 0.5003 GB, free: 2.648 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/0.5091, allocations: 8 kB / 0.5003 GB, free: 2.641 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002436/0.5093, allocations: 12 kB / 0.5003 GB, free: 2.629 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.417e-05/0.5094, allocations: 19.91 kB / 0.5003 GB, free: 2.609 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.958e-05/0.5095, allocations: 12 kB / 0.5003 GB, free: 2.598 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004983/0.51, allocations: 318.1 kB / 0.5006 GB, free: 2.289 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.1e-07/0.51, allocations: 0 / 0.5006 GB, free: 2.289 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006153/0.5106, allocations: 68 kB / 0.5007 GB, free: 2.223 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001895/0.5125, allocations: 0.5167 MB / 0.5012 GB, free: 1.863 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004304/0.513, allocations: 158.4 kB / 0.5013 GB, free: 1.711 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/0.513, allocations: 0 / 0.5013 GB, free: 1.711 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001859/0.5132, allocations: 71.94 kB / 0.5014 GB, free: 1.641 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005613/0.5138, allocations: 57.56 kB / 0.5015 GB, free: 1.582 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001111/0.5149, allocations: 494.5 kB / 0.5019 GB, free: 1.055 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005355/0.5155, allocations: 0.7795 MB / 0.5027 GB, free: 256 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001268/0.5156, allocations: 39.42 kB / 0.5027 GB, free: 220 kB / 426.7 MB Notification: Performance of SimCode: time 1.723e-06/0.5156, allocations: 0 / 0.5027 GB, free: 220 kB / 426.7 MB Notification: Performance of Templates: time 0.008639/0.5243, allocations: 3.82 MB / 0.5065 GB, free: 12.41 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test79.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.Test79CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test79CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test79CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test79Functions.cpp:282:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp12.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.Test79CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test79CalcHelperMain.o] Error 1