Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test83,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test83") Notification: Performance of loadModel(ModelicaTest): time 2.537/2.537, allocations: 269 MB / 284.1 MB, free: 3.629 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.355e-05/3.347e-05, allocations: 8 kB / 349 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1294, allocations: 61.9 MB / 410.9 MB, free: 12.85 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.002877/0.1323, allocations: 1.6 MB / 412.5 MB, free: 11.24 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002183/0.1346, allocations: 0.8856 MB / 413.4 MB, free: 10.35 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001534/0.1348, allocations: 3.938 kB / 413.4 MB, free: 10.34 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008156/0.1356, allocations: 199.5 kB / 413.6 MB, free: 10.15 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003861/0.136, allocations: 115.7 kB / 413.7 MB, free: 10.04 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007716/0.1368, allocations: 179.6 kB / 413.9 MB, free: 9.859 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003015/0.1371, allocations: 115.7 kB / 414 MB, free: 9.746 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.039e-05/0.1372, allocations: 11.98 kB / 414 MB, free: 9.734 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001699/0.1374, allocations: 79.75 kB / 414.1 MB, free: 9.656 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001768/0.1376, allocations: 79.75 kB / 414.2 MB, free: 9.578 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000178/0.1378, allocations: 35.98 kB / 414.2 MB, free: 9.543 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.057e-05/0.1378, allocations: 7.938 kB / 414.2 MB, free: 9.535 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.564e-05/0.1379, allocations: 47.88 kB / 414.3 MB, free: 9.488 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.892e-05/0.138, allocations: 8 kB / 414.3 MB, free: 9.48 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003271/0.1383, allocations: 167.9 kB / 414.5 MB, free: 9.316 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1383, allocations: 3.938 kB / 414.5 MB, free: 9.312 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.829e-06/0.1384, allocations: 0 / 414.5 MB, free: 9.312 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.183e-05/0.1384, allocations: 3.938 kB / 414.5 MB, free: 9.309 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0008704/0.1393, allocations: 484.4 kB / 414.9 MB, free: 8.781 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.1393, allocations: 8.031 kB / 414.9 MB, free: 8.773 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.942e-05/0.1394, allocations: 23.72 kB / 415 MB, free: 8.75 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005341/0.14, allocations: 270.6 kB / 415.2 MB, free: 8.449 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.684e-05/0.14, allocations: 8 kB / 415.2 MB, free: 8.441 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.095e-05/0.14, allocations: 8 kB / 415.2 MB, free: 8.434 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003547/0.1404, allocations: 120 kB / 415.4 MB, free: 8.301 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.1404, allocations: 0 / 415.4 MB, free: 8.301 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.096e-05/0.1405, allocations: 7.938 kB / 415.4 MB, free: 8.293 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.1405, allocations: 0 / 415.4 MB, free: 8.293 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001887/0.1407, allocations: 35.97 kB / 415.4 MB, free: 8.258 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007226/0.1414, allocations: 381.5 kB / 415.8 MB, free: 7.832 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004352/0.1419, allocations: 117.4 kB / 415.9 MB, free: 7.699 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.112e-05/0.1419, allocations: 8.062 kB / 415.9 MB, free: 7.691 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003326/0.1423, allocations: 117.2 kB / 416 MB, free: 7.559 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 2.815e-06/0.1423, allocations: 0 / 416 MB, free: 7.559 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007036/0.143, allocations: 177.3 kB / 416.2 MB, free: 7.379 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.498e-05/0.1431, allocations: 102.8 kB / 416.3 MB, free: 7.254 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005553/0.1437, allocations: 314.1 kB / 416.6 MB, free: 6.941 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.925e-05/0.1437, allocations: 29.7 kB / 416.6 MB, free: 6.906 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001304/0.1439, allocations: 194.5 kB / 416.8 MB, free: 6.715 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.094e-05/0.1439, allocations: 23.62 kB / 416.8 MB, free: 6.691 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.224e-05/0.1439, allocations: 7.938 kB / 416.8 MB, free: 6.684 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.1441, allocations: 318.8 kB / 417.2 MB, free: 6.363 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001513/0.1443, allocations: 31.98 kB / 417.2 MB, free: 6.332 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000189/0.1445, allocations: 77.06 kB / 417.3 MB, free: 6.238 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001619/0.1446, allocations: 40.03 kB / 417.3 MB, free: 6.199 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.1447, allocations: 0 / 417.3 MB, free: 6.199 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004312/0.1451, allocations: 129.5 kB / 417.4 MB, free: 6.066 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.1451, allocations: 8 kB / 417.4 MB, free: 6.059 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.1452, allocations: 3.938 kB / 417.4 MB, free: 6.055 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.1452, allocations: 4 kB / 417.4 MB, free: 6.051 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001957/0.1454, allocations: 24.67 kB / 417.5 MB, free: 6.027 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/0.1454, allocations: 0 / 417.5 MB, free: 6.027 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001934/0.1456, allocations: 15.91 kB / 417.5 MB, free: 6.012 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.9e-05/0.1456, allocations: 11.98 kB / 417.5 MB, free: 6 MB / 346.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: 11 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0002019/0.1459, allocations: 149.8 kB / 417.6 MB, free: 5.844 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.595e-05/0.1459, allocations: 23.67 kB / 417.7 MB, free: 5.82 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.13e-05/0.146, allocations: 29.73 kB / 417.7 MB, free: 5.793 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.146, allocations: 0 / 417.7 MB, free: 5.793 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.1461, allocations: 8 kB / 417.7 MB, free: 5.785 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.1461, allocations: 0 / 417.7 MB, free: 5.785 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003041/0.1464, allocations: 253.4 kB / 417.9 MB, free: 5.488 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.1464, allocations: 0 / 417.9 MB, free: 5.488 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.617e-05/0.1465, allocations: 11.98 kB / 418 MB, free: 5.477 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.1465, allocations: 3.953 kB / 418 MB, free: 5.473 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.745e-05/0.1465, allocations: 4 kB / 418 MB, free: 5.469 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.1465, allocations: 0 / 418 MB, free: 5.469 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.1465, allocations: 0 / 418 MB, free: 5.469 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004916/0.147, allocations: 199.2 kB / 418.2 MB, free: 5.246 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/0.1472, allocations: 108.7 kB / 418.3 MB, free: 5.121 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.784e-05/0.1472, allocations: 7.984 kB / 418.3 MB, free: 5.113 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001357/0.1474, allocations: 11.98 kB / 418.3 MB, free: 5.102 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.323e-05/0.1474, allocations: 7.984 kB / 418.3 MB, free: 5.094 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.483e-05/0.1475, allocations: 4 kB / 418.3 MB, free: 5.09 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003838/0.1479, allocations: 249.9 kB / 418.5 MB, free: 4.848 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.1479, allocations: 0 / 418.5 MB, free: 4.848 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003907/0.1483, allocations: 40 kB / 418.6 MB, free: 4.809 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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * 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.001195/0.1495, allocations: 401.7 kB / 419 MB, free: 4.523 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004521/0.15, allocations: 95.84 kB / 419.1 MB, free: 4.43 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.15, allocations: 3.938 kB / 419.1 MB, free: 4.426 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001871/0.1502, allocations: 47.97 kB / 419.1 MB, free: 4.379 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005308/0.1507, allocations: 49.34 kB / 419.2 MB, free: 4.328 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009871/0.1517, allocations: 449.3 kB / 419.6 MB, free: 3.855 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004153/0.1522, allocations: 0.7479 MB / 420.4 MB, free: 3.082 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.351e-05/0.1523, allocations: 23.44 kB / 420.4 MB, free: 3.059 MB / 346.7 MB Notification: Performance of SimCode: time 1.112e-06/0.1523, allocations: 0 / 420.4 MB, free: 3.059 MB / 346.7 MB Notification: Performance of Templates: time 0.3183/0.4706, allocations: 3.182 MB / 423.6 MB, free: 12.58 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test83.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.Test83CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test83CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test83CalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test83Functions.cpp:208:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp37.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.Test83CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test83CalcHelperMain.o] Error 1