Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test23") Notification: Performance of loadModel(ModelicaTest): time 2.372/2.372, allocations: 269 MB / 284.1 MB, free: 3.648 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.494e-05/3.486e-05, allocations: 4 kB / 349 MB, free: 10.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1289, allocations: 61.9 MB / 410.9 MB, free: 12.87 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.002471/0.1314, allocations: 1.388 MB / 412.3 MB, free: 11.47 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001663/0.1332, allocations: 0.7258 MB / 413.1 MB, free: 10.74 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.539e-05/0.1333, allocations: 0 / 413.1 MB, free: 10.74 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002471/0.1335, allocations: 31.78 kB / 413.1 MB, free: 10.71 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001824/0.1337, allocations: 31.88 kB / 413.1 MB, free: 10.68 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003461/0.1341, allocations: 83.75 kB / 413.2 MB, free: 10.6 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001589/0.1343, allocations: 51.88 kB / 413.2 MB, free: 10.55 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.888e-05/0.1344, allocations: 7.984 kB / 413.3 MB, free: 10.54 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.1345, allocations: 35.91 kB / 413.3 MB, free: 10.5 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.892e-05/0.1346, allocations: 23.86 kB / 413.3 MB, free: 10.48 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001168/0.1347, allocations: 24 kB / 413.3 MB, free: 10.46 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.32e-05/0.1347, allocations: 4 kB / 413.3 MB, free: 10.45 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.432e-05/0.1348, allocations: 23.91 kB / 413.4 MB, free: 10.43 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.685e-05/0.1348, allocations: 7.938 kB / 413.4 MB, free: 10.42 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002076/0.1351, allocations: 88.09 kB / 413.5 MB, free: 10.34 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.1351, allocations: 0 / 413.5 MB, free: 10.34 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1351, allocations: 0 / 413.5 MB, free: 10.34 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.457e-06/0.1351, allocations: 0 / 413.5 MB, free: 10.34 MB / 346.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.0005642/0.1357, allocations: 379.1 kB / 413.8 MB, free: 9.918 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.1357, allocations: 12.03 kB / 413.8 MB, free: 9.906 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.898e-05/0.1358, allocations: 7.906 kB / 413.8 MB, free: 9.898 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003035/0.1361, allocations: 207.6 kB / 414 MB, free: 9.652 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.996e-05/0.1361, allocations: 3.938 kB / 414.1 MB, free: 9.648 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.778e-05/0.1362, allocations: 4 kB / 414.1 MB, free: 9.645 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001881/0.1364, allocations: 57.62 kB / 414.1 MB, free: 9.582 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.1364, allocations: 3.906 kB / 414.1 MB, free: 9.578 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.1364, allocations: 4 kB / 414.1 MB, free: 9.574 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.1364, allocations: 3.938 kB / 414.1 MB, free: 9.57 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000107/0.1366, allocations: 23.98 kB / 414.1 MB, free: 9.547 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004387/0.137, allocations: 280.9 kB / 414.4 MB, free: 9.223 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002471/0.1373, allocations: 66.55 kB / 414.5 MB, free: 9.148 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.829e-05/0.1373, allocations: 4 kB / 414.5 MB, free: 9.145 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002227/0.1375, allocations: 67.52 kB / 414.6 MB, free: 9.066 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 2.264e-06/0.1376, allocations: 0 / 414.6 MB, free: 9.066 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007413/0.1383, allocations: 173.1 kB / 414.7 MB, free: 8.891 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.549e-05/0.1384, allocations: 55.39 kB / 414.8 MB, free: 8.824 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002558/0.1386, allocations: 181.8 kB / 415 MB, free: 8.637 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.226e-05/0.1387, allocations: 25.7 kB / 415 MB, free: 8.605 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.256e-05/0.1388, allocations: 174.5 kB / 415.2 MB, free: 8.434 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.062e-05/0.1388, allocations: 19.72 kB / 415.2 MB, free: 8.414 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.151e-06/0.1389, allocations: 0 / 415.2 MB, free: 8.414 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.139, allocations: 314.8 kB / 415.5 MB, free: 8.098 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.237e-05/0.1391, allocations: 23.92 kB / 415.5 MB, free: 8.074 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001019/0.1392, allocations: 33.7 kB / 415.5 MB, free: 8.035 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.635e-05/0.1393, allocations: 24 kB / 415.6 MB, free: 8.012 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.818e-06/0.1393, allocations: 7.953 kB / 415.6 MB, free: 8.004 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002871/0.1396, allocations: 97.52 kB / 415.7 MB, free: 7.902 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.1397, allocations: 4 kB / 415.7 MB, free: 7.898 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.1397, allocations: 0 / 415.7 MB, free: 7.898 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.1397, allocations: 0 / 415.7 MB, free: 7.898 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001672/0.1399, allocations: 19.98 kB / 415.7 MB, free: 7.879 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.1399, allocations: 160 / 415.7 MB, free: 7.879 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.138e-05/0.14, allocations: 8 kB / 415.7 MB, free: 7.871 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.14, allocations: 0 / 415.7 MB, free: 7.871 MB / 346.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.0001429/0.1402, allocations: 137.8 kB / 415.8 MB, free: 7.727 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.884e-05/0.1402, allocations: 11.86 kB / 415.8 MB, free: 7.715 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.679e-05/0.1403, allocations: 21.38 kB / 415.9 MB, free: 7.688 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.725e-06/0.1403, allocations: 4 kB / 415.9 MB, free: 7.684 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.1403, allocations: 3.938 kB / 415.9 MB, free: 7.68 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.1403, allocations: 0 / 415.9 MB, free: 7.68 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006372/0.141, allocations: 395.3 kB / 416.3 MB, free: 7.234 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.141, allocations: 4.031 kB / 416.3 MB, free: 7.23 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.026e-05/0.1411, allocations: 11.94 kB / 416.3 MB, free: 7.219 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.1411, allocations: 3.938 kB / 416.3 MB, free: 7.215 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.1411, allocations: 0 / 416.3 MB, free: 7.215 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.139e-06/0.1411, allocations: 4 kB / 416.3 MB, free: 7.211 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.1411, allocations: 0.5625 kB / 416.3 MB, free: 7.211 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003325/0.1415, allocations: 221.9 kB / 416.5 MB, free: 6.969 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.301e-05/0.1416, allocations: 92.94 kB / 416.6 MB, free: 6.859 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.777e-05/0.1416, allocations: 8 kB / 416.6 MB, free: 6.852 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.1417, allocations: 4 kB / 416.6 MB, free: 6.848 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.487e-05/0.1418, allocations: 11.92 kB / 416.6 MB, free: 6.836 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.975e-05/0.1418, allocations: 0 / 416.6 MB, free: 6.836 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001876/0.142, allocations: 154.3 kB / 416.8 MB, free: 6.688 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.142, allocations: 0 / 416.8 MB, free: 6.688 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003375/0.1424, allocations: 23.98 kB / 416.8 MB, free: 6.664 MB / 346.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 (8): * Single equations (assignments): 6 * 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.001275/0.1437, allocations: 442.3 kB / 417.2 MB, free: 6.359 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002842/0.144, allocations: 63.91 kB / 417.3 MB, free: 6.297 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.144, allocations: 3.938 kB / 417.3 MB, free: 6.293 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001095/0.1441, allocations: 23.98 kB / 417.3 MB, free: 6.27 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003584/0.1445, allocations: 23.98 kB / 417.3 MB, free: 6.246 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006493/0.1451, allocations: 280.1 kB / 417.6 MB, free: 5.938 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003417/0.1455, allocations: 0.716 MB / 418.3 MB, free: 5.195 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.326e-05/0.1456, allocations: 15.44 kB / 418.3 MB, free: 5.18 MB / 346.7 MB Notification: Performance of SimCode: time 1.273e-06/0.1456, allocations: 0 / 418.3 MB, free: 5.18 MB / 346.7 MB Notification: Performance of Templates: time 0.005548/0.1512, allocations: 1.91 MB / 420.2 MB, free: 3.27 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test23.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 -DENABLE_OMSI -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsi/" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsi/base" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsi/solver" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/" -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.Test23CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test23CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test23CalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test23Functions.cpp:244:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp18.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.Test23CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test23CalcHelperMain.o] Error 1