Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test72") Notification: Performance of loadModel(ModelicaTest): time 2.382/2.382, allocations: 270 MB / 282.7 MB, free: 1.871 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.816e-05/3.823e-05, allocations: 11.94 kB / 347 MB, free: 3.238 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3703/0.3703, allocations: 61.88 MB / 408.9 MB, free: 10.66 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1421/0.5125, allocations: 89.11 MB / 498 MB, free: 1.426 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002537/0.5128, allocations: 71.97 kB / 498 MB, free: 1.355 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02632/0.5391, allocations: 6.628 MB / 0.4928 GB, free: 10.72 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.955e-06/0.5392, allocations: 3.938 kB / 0.4928 GB, free: 10.71 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.54e-05/0.5392, allocations: 12 kB / 0.4929 GB, free: 10.7 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000914/0.5401, allocations: 0.5987 MB / 0.4934 GB, free: 10.06 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.5402, allocations: 8.031 kB / 0.4934 GB, free: 10.05 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000129/0.5403, allocations: 55.34 kB / 0.4935 GB, free: 9.996 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001048/0.5414, allocations: 491 kB / 0.494 GB, free: 9.477 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.277e-05/0.5414, allocations: 3.953 kB / 0.494 GB, free: 9.473 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.818e-05/0.5415, allocations: 4 kB / 0.494 GB, free: 9.469 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001971/0.5417, allocations: 83.38 kB / 0.4941 GB, free: 9.375 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.5417, allocations: 0 / 0.4941 GB, free: 9.375 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.676e-05/0.5417, allocations: 7.922 kB / 0.4941 GB, free: 9.367 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.5e-06/0.5418, allocations: 4 kB / 0.4941 GB, free: 9.363 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001038/0.5419, allocations: 35.91 kB / 0.4941 GB, free: 9.328 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005571/0.5424, allocations: 378.3 kB / 0.4945 GB, free: 8.906 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002386/0.5427, allocations: 105.3 kB / 0.4946 GB, free: 8.785 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.792e-05/0.5428, allocations: 37.66 kB / 0.4946 GB, free: 8.742 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.5428, allocations: 4.078 kB / 0.4946 GB, free: 8.738 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002276/0.5431, allocations: 105.1 kB / 0.4947 GB, free: 8.617 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 2.661e-06/0.5431, allocations: 0 / 0.4947 GB, free: 8.617 MB / 426.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004543/0.5436, allocations: 164.9 kB / 0.4949 GB, free: 8.449 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.532e-05/0.5436, allocations: 81.11 kB / 0.4949 GB, free: 8.352 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001856/0.5455, allocations: 0.9344 MB / 0.4958 GB, free: 7.406 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.128e-05/0.5456, allocations: 25.7 kB / 0.4959 GB, free: 7.375 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002112/0.5458, allocations: 246.6 kB / 0.4961 GB, free: 7.133 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.578e-05/0.5458, allocations: 31.64 kB / 0.4961 GB, free: 7.102 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.227e-05/0.5459, allocations: 4 kB / 0.4961 GB, free: 7.098 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.546, allocations: 314.8 kB / 0.4964 GB, free: 6.781 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.13e-05/0.5461, allocations: 27.98 kB / 0.4965 GB, free: 6.754 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001058/0.5463, allocations: 55.44 kB / 0.4965 GB, free: 6.688 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.507e-05/0.5464, allocations: 31.92 kB / 0.4966 GB, free: 6.656 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.185e-06/0.5464, allocations: 4 kB / 0.4966 GB, free: 6.652 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003013/0.5467, allocations: 125.5 kB / 0.4967 GB, free: 6.523 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.5467, allocations: 8 kB / 0.4967 GB, free: 6.516 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.283e-06/0.5467, allocations: 0 / 0.4967 GB, free: 6.516 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.5468, allocations: 0 / 0.4967 GB, free: 6.516 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000177/0.5469, allocations: 24.23 kB / 0.4967 GB, free: 6.492 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.547, allocations: 0 / 0.4967 GB, free: 6.492 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001939/0.5472, allocations: 19.94 kB / 0.4967 GB, free: 6.473 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.708e-05/0.5472, allocations: 8.062 kB / 0.4967 GB, free: 6.465 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.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.000111/0.5473, allocations: 112.9 kB / 0.4968 GB, free: 6.348 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001391/0.5475, allocations: 63.28 kB / 0.4969 GB, free: 6.285 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004564/0.5479, allocations: 185.6 kB / 0.4971 GB, free: 6.094 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.837e-06/0.548, allocations: 0 / 0.4971 GB, free: 6.094 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.591e-06/0.548, allocations: 0 / 0.4971 GB, free: 6.094 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.864e-06/0.548, allocations: 0 / 0.4971 GB, free: 6.094 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005423/0.5486, allocations: 393.3 kB / 0.4975 GB, free: 5.66 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.75e-06/0.5486, allocations: 0 / 0.4975 GB, free: 5.66 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.218e-05/0.5487, allocations: 23.92 kB / 0.4975 GB, free: 5.637 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.031e-06/0.5487, allocations: 3.953 kB / 0.4975 GB, free: 5.633 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.7e-05/0.5487, allocations: 4 kB / 0.4975 GB, free: 5.629 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.902e-06/0.5487, allocations: 0 / 0.4975 GB, free: 5.629 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.097e-06/0.5487, allocations: 0 / 0.4975 GB, free: 5.629 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004607/0.5492, allocations: 219 kB / 0.4977 GB, free: 5.387 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003256/0.5495, allocations: 200.4 kB / 0.4979 GB, free: 5.172 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.131e-05/0.5496, allocations: 15.92 kB / 0.4979 GB, free: 5.156 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001597/0.5498, allocations: 4 kB / 0.4979 GB, free: 5.152 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.012e-05/0.5499, allocations: 7.984 kB / 0.4979 GB, free: 5.145 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.08e-05/0.5499, allocations: 8 kB / 0.4979 GB, free: 5.137 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001277/0.5512, allocations: 0.7435 MB / 0.4986 GB, free: 4.395 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.38e-07/0.5512, allocations: 0 / 0.4986 GB, free: 4.395 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004733/0.5517, allocations: 80 kB / 0.4987 GB, free: 4.316 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.001462/0.5532, allocations: 419.3 kB / 0.4991 GB, free: 4.031 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002551/0.5535, allocations: 75.98 kB / 0.4992 GB, free: 3.957 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.313e-06/0.5535, allocations: 4.125 kB / 0.4992 GB, free: 3.953 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001112/0.5536, allocations: 43.92 kB / 0.4992 GB, free: 3.91 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004949/0.5541, allocations: 58.56 kB / 0.4993 GB, free: 3.852 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001702/0.5558, allocations: 0.8238 MB / 0.5001 GB, free: 2.996 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006491/0.5565, allocations: 0.8624 MB / 0.5009 GB, free: 2.109 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001632/0.5567, allocations: 39.44 kB / 0.501 GB, free: 2.07 MB / 426.7 MB Notification: Performance of SimCode: time 1.593e-06/0.5567, allocations: 0 / 0.501 GB, free: 2.07 MB / 426.7 MB Notification: Performance of Templates: time 0.01191/0.5686, allocations: 5.585 MB / 0.5064 GB, free: 12.48 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test72.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.Test72CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test72CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test72CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test72Functions.cpp:202: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.Test72CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test72CalcHelperMain.o] Error 1