Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|t_new.nextTimeEvent",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test12") Notification: Performance of loadModel(ModelicaTest): time 2.361/2.361, allocations: 269 MB / 284.1 MB, free: 3.551 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.148e-05/3.139e-05, allocations: 4 kB / 349 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1488/0.1489, allocations: 61.9 MB / 410.9 MB, free: 12.84 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.002782/0.1517, allocations: 1.581 MB / 412.5 MB, free: 11.25 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001758/0.1535, allocations: 0.7451 MB / 413.3 MB, free: 10.5 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001199/0.1536, allocations: 7.938 kB / 413.3 MB, free: 10.49 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002371/0.1539, allocations: 27.83 kB / 413.3 MB, free: 10.46 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001983/0.1541, allocations: 47.8 kB / 413.3 MB, free: 10.41 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003883/0.1545, allocations: 87.75 kB / 413.4 MB, free: 10.33 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002171/0.1547, allocations: 87.77 kB / 413.5 MB, free: 10.24 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.485e-05/0.1549, allocations: 15.98 kB / 413.5 MB, free: 10.23 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.155, allocations: 47.83 kB / 413.6 MB, free: 10.18 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.32e-05/0.1551, allocations: 27.86 kB / 413.6 MB, free: 10.15 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001297/0.1552, allocations: 27.98 kB / 413.6 MB, free: 10.12 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.685e-05/0.1553, allocations: 11.94 kB / 413.6 MB, free: 10.11 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.466e-05/0.1553, allocations: 19.91 kB / 413.7 MB, free: 10.09 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.477e-05/0.1554, allocations: 8 kB / 413.7 MB, free: 10.09 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002284/0.1556, allocations: 96.06 kB / 413.8 MB, free: 9.992 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.1556, allocations: 0 / 413.8 MB, free: 9.992 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.1557, allocations: 0 / 413.8 MB, free: 9.992 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.307e-06/0.1557, allocations: 4 kB / 413.8 MB, free: 9.988 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007336/0.1564, allocations: 444.7 kB / 414.2 MB, free: 9.5 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.1565, allocations: 16.02 kB / 414.2 MB, free: 9.484 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.207e-05/0.1565, allocations: 11.81 kB / 414.2 MB, free: 9.473 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003379/0.1569, allocations: 218.3 kB / 414.4 MB, free: 9.223 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.189e-05/0.1569, allocations: 4 kB / 414.4 MB, free: 9.219 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.671e-05/0.157, allocations: 16 kB / 414.5 MB, free: 9.203 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003212/0.1573, allocations: 108.1 kB / 414.6 MB, free: 9.082 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.1573, allocations: 3.938 kB / 414.6 MB, free: 9.078 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.578e-05/0.1574, allocations: 11.98 kB / 414.6 MB, free: 9.066 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.1574, allocations: 0 / 414.6 MB, free: 9.066 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002473/0.1576, allocations: 63.95 kB / 414.6 MB, free: 9.004 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007097/0.1584, allocations: 0.5086 MB / 415.2 MB, free: 8.438 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004577/0.1588, allocations: 94.59 kB / 415.2 MB, free: 8.336 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.017e-05/0.1589, allocations: 4 kB / 415.2 MB, free: 8.332 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002713/0.1592, allocations: 79.38 kB / 415.3 MB, free: 8.242 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 2.464e-06/0.1592, allocations: 4 kB / 415.3 MB, free: 8.238 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005864/0.1598, allocations: 149.4 kB / 415.5 MB, free: 8.086 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.949e-05/0.1598, allocations: 51.41 kB / 415.5 MB, free: 8.023 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002382/0.1601, allocations: 167.8 kB / 415.7 MB, free: 7.848 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.156e-05/0.1601, allocations: 25.7 kB / 415.7 MB, free: 7.816 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001449/0.1603, allocations: 178.4 kB / 415.9 MB, free: 7.641 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.881e-05/0.1603, allocations: 31.56 kB / 415.9 MB, free: 7.609 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.699e-06/0.1604, allocations: 4 kB / 415.9 MB, free: 7.605 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.1605, allocations: 318.8 kB / 416.2 MB, free: 7.285 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000149/0.1606, allocations: 31.98 kB / 416.3 MB, free: 7.254 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001679/0.1608, allocations: 64.27 kB / 416.3 MB, free: 7.176 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001608/0.161, allocations: 39.98 kB / 416.4 MB, free: 7.137 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.161, allocations: 0 / 416.4 MB, free: 7.137 MB / 346.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004267/0.1615, allocations: 126 kB / 416.5 MB, free: 7.008 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.1615, allocations: 8 kB / 416.5 MB, free: 7 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/0.1615, allocations: 3.984 kB / 416.5 MB, free: 6.996 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.1615, allocations: 96 / 416.5 MB, free: 6.996 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001783/0.1617, allocations: 27.88 kB / 416.5 MB, free: 6.969 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.326e-05/0.1618, allocations: 7.984 kB / 416.5 MB, free: 6.961 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001192/0.1619, allocations: 15.84 kB / 416.6 MB, free: 6.945 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.5e-05/0.1619, allocations: 4 kB / 416.6 MB, free: 6.941 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * 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.0001395/0.1621, allocations: 140.3 kB / 416.7 MB, free: 6.797 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.425e-05/0.1621, allocations: 15.8 kB / 416.7 MB, free: 6.781 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.156e-05/0.1622, allocations: 13.41 kB / 416.7 MB, free: 6.762 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.1622, allocations: 4 kB / 416.7 MB, free: 6.758 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.1622, allocations: 0 / 416.7 MB, free: 6.758 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.1622, allocations: 0 / 416.7 MB, free: 6.758 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002335/0.1625, allocations: 213.7 kB / 416.9 MB, free: 6.5 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.1625, allocations: 3.938 kB / 416.9 MB, free: 6.496 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001352/0.1626, allocations: 15.98 kB / 417 MB, free: 6.48 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.1626, allocations: 0 / 417 MB, free: 6.48 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.465e-05/0.1627, allocations: 4 kB / 417 MB, free: 6.477 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.1627, allocations: 0 / 417 MB, free: 6.477 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.1627, allocations: 0 / 417 MB, free: 6.477 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005856/0.1633, allocations: 196.8 kB / 417.1 MB, free: 6.266 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.963e-05/0.1634, allocations: 88.95 kB / 417.2 MB, free: 6.16 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.437e-05/0.1634, allocations: 4.062 kB / 417.2 MB, free: 6.156 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.1635, allocations: 15.98 kB / 417.3 MB, free: 6.141 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.954e-05/0.1636, allocations: 7.984 kB / 417.3 MB, free: 6.133 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.186e-05/0.1636, allocations: 4 kB / 417.3 MB, free: 6.129 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001661/0.1638, allocations: 142 kB / 417.4 MB, free: 5.992 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.1638, allocations: 0 / 417.4 MB, free: 5.992 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003089/0.1641, allocations: 27.91 kB / 417.4 MB, free: 5.965 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.001173/0.1653, allocations: 412.1 kB / 417.8 MB, free: 5.672 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003848/0.1657, allocations: 83.89 kB / 417.9 MB, free: 5.59 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.1657, allocations: 4.25 kB / 417.9 MB, free: 5.586 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001664/0.1659, allocations: 43.86 kB / 418 MB, free: 5.543 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003409/0.1663, allocations: 24.16 kB / 418 MB, free: 5.52 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007049/0.167, allocations: 327.8 kB / 418.3 MB, free: 5.172 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000306/0.1673, allocations: 0.7165 MB / 419 MB, free: 4.43 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.119e-05/0.1674, allocations: 19.44 kB / 419 MB, free: 4.41 MB / 346.7 MB Notification: Performance of SimCode: time 8.41e-07/0.1674, allocations: 0 / 419 MB, free: 4.41 MB / 346.7 MB Notification: Performance of Templates: time 0.005851/0.1733, allocations: 2.125 MB / 421.2 MB, free: 2.277 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test12CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test12CalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test12Functions.cpp:205:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp21.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.Test12CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test12CalcHelperMain.o] Error 1