Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test69") Notification: Performance of loadModel(ModelicaTest): time 2.481/2.481, allocations: 270 MB / 282.7 MB, free: 1.836 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.655e-05/3.673e-05, allocations: 11.98 kB / 347 MB, free: 3.203 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.3256, allocations: 61.88 MB / 408.9 MB, free: 10.76 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1405/0.4662, allocations: 89.12 MB / 498 MB, free: 1.52 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002449/0.4665, allocations: 71.95 kB / 498 MB, free: 1.449 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03276/0.4993, allocations: 6.588 MB / 0.4928 GB, free: 10.85 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.314e-06/0.4994, allocations: 0 / 0.4928 GB, free: 10.85 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.221e-05/0.4995, allocations: 8 kB / 0.4928 GB, free: 10.84 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.001546/0.501, allocations: 0.5909 MB / 0.4934 GB, free: 10.21 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.64e-05/0.5011, allocations: 15.97 kB / 0.4934 GB, free: 10.19 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002333/0.5014, allocations: 51.42 kB / 0.4935 GB, free: 10.14 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001906/0.5033, allocations: 475 kB / 0.4939 GB, free: 9.637 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.832e-05/0.5034, allocations: 7.953 kB / 0.4939 GB, free: 9.629 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.002e-05/0.5034, allocations: 4 kB / 0.4939 GB, free: 9.625 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003347/0.5038, allocations: 79.38 kB / 0.494 GB, free: 9.535 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.5038, allocations: 0 / 0.494 GB, free: 9.535 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.307e-05/0.5039, allocations: 0 / 0.494 GB, free: 9.535 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.5039, allocations: 8 kB / 0.494 GB, free: 9.527 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001924/0.5041, allocations: 31.92 kB / 0.494 GB, free: 9.496 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009832/0.5051, allocations: 374.4 kB / 0.4944 GB, free: 9.078 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004457/0.5056, allocations: 101.2 kB / 0.4945 GB, free: 8.961 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001805/0.5058, allocations: 41.8 kB / 0.4945 GB, free: 8.914 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.146e-05/0.5058, allocations: 0 / 0.4945 GB, free: 8.914 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004056/0.5063, allocations: 108.9 kB / 0.4946 GB, free: 8.789 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 8.642e-06/0.5063, allocations: 3.984 kB / 0.4946 GB, free: 8.785 MB / 426.7 MB Notification: Performance of matching and sorting (n=10): time 0.0008513/0.5072, allocations: 165 kB / 0.4948 GB, free: 8.617 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001116/0.5073, allocations: 89.09 kB / 0.4949 GB, free: 8.512 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003555/0.5109, allocations: 0.9031 MB / 0.4958 GB, free: 7.602 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.281e-05/0.511, allocations: 29.7 kB / 0.4958 GB, free: 7.566 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003568/0.5113, allocations: 242.6 kB / 0.496 GB, free: 7.328 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.646e-05/0.5115, allocations: 23.66 kB / 0.496 GB, free: 7.305 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.276e-05/0.5115, allocations: 4 kB / 0.496 GB, free: 7.301 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002431/0.5118, allocations: 318.8 kB / 0.4964 GB, free: 6.98 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001539/0.5119, allocations: 24 kB / 0.4964 GB, free: 6.957 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002086/0.5122, allocations: 67.36 kB / 0.4964 GB, free: 6.879 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001751/0.5124, allocations: 27.98 kB / 0.4965 GB, free: 6.852 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.904e-06/0.5124, allocations: 0 / 0.4965 GB, free: 6.852 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005723/0.513, allocations: 121.5 kB / 0.4966 GB, free: 6.727 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.834e-05/0.513, allocations: 4 kB / 0.4966 GB, free: 6.723 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.5131, allocations: 4.25 kB / 0.4966 GB, free: 6.719 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.179e-05/0.5131, allocations: 4.062 kB / 0.4966 GB, free: 6.715 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003209/0.5135, allocations: 27.98 kB / 0.4966 GB, free: 6.688 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.137e-05/0.5135, allocations: 0 / 0.4966 GB, free: 6.688 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003703/0.5139, allocations: 23.78 kB / 0.4966 GB, free: 6.664 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.352e-05/0.514, allocations: 7.984 kB / 0.4966 GB, free: 6.656 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.0001776/0.5141, allocations: 109 kB / 0.4968 GB, free: 6.543 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002435/0.5144, allocations: 51.39 kB / 0.4968 GB, free: 6.492 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008426/0.5153, allocations: 197.4 kB / 0.497 GB, free: 6.289 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-05/0.5153, allocations: 4 kB / 0.497 GB, free: 6.285 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.638e-06/0.5153, allocations: 0 / 0.497 GB, free: 6.285 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.934e-06/0.5154, allocations: 0 / 0.497 GB, free: 6.285 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009524/0.5163, allocations: 381.2 kB / 0.4974 GB, free: 5.863 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/0.5164, allocations: 0 / 0.4974 GB, free: 5.863 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000128/0.5165, allocations: 19.98 kB / 0.4974 GB, free: 5.844 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.315e-05/0.5165, allocations: 3.953 kB / 0.4974 GB, free: 5.84 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.932e-05/0.5166, allocations: 4 kB / 0.4974 GB, free: 5.836 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.368e-06/0.5166, allocations: 0 / 0.4974 GB, free: 5.836 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.5166, allocations: 0 / 0.4974 GB, free: 5.836 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008267/0.5175, allocations: 219 kB / 0.4976 GB, free: 5.594 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006022/0.5181, allocations: 192.4 kB / 0.4978 GB, free: 5.387 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001696/0.5183, allocations: 11.88 kB / 0.4978 GB, free: 5.375 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003178/0.5186, allocations: 11.98 kB / 0.4978 GB, free: 5.363 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.144e-05/0.5188, allocations: 11.98 kB / 0.4978 GB, free: 5.352 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.947e-05/0.5188, allocations: 4 kB / 0.4978 GB, free: 5.348 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00241/0.5212, allocations: 0.724 MB / 0.4985 GB, free: 4.625 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.156e-06/0.5213, allocations: 0 / 0.4985 GB, free: 4.625 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000978/0.5223, allocations: 83.94 kB / 0.4986 GB, free: 4.543 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.002569/0.5249, allocations: 414.6 kB / 0.499 GB, free: 4.262 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004608/0.5253, allocations: 75.92 kB / 0.4991 GB, free: 4.188 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.564e-06/0.5254, allocations: 0 / 0.4991 GB, free: 4.188 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002036/0.5256, allocations: 40 kB / 0.4991 GB, free: 4.148 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009146/0.5265, allocations: 62.48 kB / 0.4992 GB, free: 4.09 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003161/0.5297, allocations: 0.8083 MB / 0.5 GB, free: 3.25 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001099/0.5309, allocations: 0.8429 MB / 0.5008 GB, free: 2.383 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003117/0.5312, allocations: 43.42 kB / 0.5008 GB, free: 2.34 MB / 426.7 MB Notification: Performance of SimCode: time 2.385e-06/0.5312, allocations: 0 / 0.5008 GB, free: 2.34 MB / 426.7 MB Notification: Performance of Templates: time 0.02282/0.5541, allocations: 5.453 MB / 0.5061 GB, free: 12.88 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.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.Test69CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test69CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test69CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test69Functions.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.Test69CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test69CalcHelperMain.o] Error 1