Running command: translateModel(Modelica.Thermal.HeatTransfer.Examples.Motor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1440000,variableFilter="time|core.T|winding.T",fileNamePrefix="Modelica_trunk_cpp_Modelica.Thermal.HeatTransfer.Examples.Motor") Notification: Performance of loadModel(Modelica): time 2.114/2.114, allocations: 224.7 MB / 241.1 MB, free: 1.684 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.589e-05/2.609e-05, allocations: 4 kB / 294.6 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1423, allocations: 50.41 MB / 345 MB, free: 8.949 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.Motor): time 0.004694/0.147, allocations: 1.768 MB / 346.7 MB, free: 7.168 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003255/0.1503, allocations: 0.9164 MB / 347.7 MB, free: 6.246 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003061/0.1507, allocations: 7.938 kB / 347.7 MB, free: 6.238 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004849/0.1512, allocations: 71.7 kB / 347.7 MB, free: 6.168 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005992/0.1519, allocations: 107.6 kB / 347.8 MB, free: 6.062 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007916/0.1527, allocations: 111.7 kB / 347.9 MB, free: 5.953 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006005/0.1533, allocations: 143.7 kB / 348.1 MB, free: 5.812 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000276/0.1536, allocations: 52.38 kB / 348.1 MB, free: 5.762 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002676/0.1539, allocations: 79.77 kB / 348.2 MB, free: 5.684 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003115/0.1542, allocations: 95.67 kB / 348.3 MB, free: 5.59 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002837/0.1545, allocations: 24 kB / 348.3 MB, free: 5.566 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.942e-05/0.1546, allocations: 8 kB / 348.3 MB, free: 5.559 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001153/0.1548, allocations: 51.81 kB / 348.4 MB, free: 5.508 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000114/0.1549, allocations: 20 kB / 348.4 MB, free: 5.488 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006236/0.1555, allocations: 199.8 kB / 348.6 MB, free: 5.293 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.1556, allocations: 0 / 348.6 MB, free: 5.293 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.985e-06/0.1556, allocations: 3.938 kB / 348.6 MB, free: 5.289 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.416e-05/0.1556, allocations: 4 kB / 348.6 MB, free: 5.285 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001243/0.1569, allocations: 487.4 kB / 349.1 MB, free: 4.758 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.85e-05/0.157, allocations: 8.031 kB / 349.1 MB, free: 4.75 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000326/0.1573, allocations: 35.58 kB / 349.1 MB, free: 4.715 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006046/0.1579, allocations: 251.6 kB / 349.4 MB, free: 4.426 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.079e-05/0.158, allocations: 16 kB / 349.4 MB, free: 4.41 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.763e-05/0.1581, allocations: 12 kB / 349.4 MB, free: 4.398 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006497/0.1588, allocations: 165.3 kB / 349.6 MB, free: 4.23 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.108e-05/0.1588, allocations: 7.891 kB / 349.6 MB, free: 4.223 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.111e-05/0.1589, allocations: 8 kB / 349.6 MB, free: 4.215 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/0.1589, allocations: 4 kB / 349.6 MB, free: 4.211 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005417/0.1595, allocations: 115.9 kB / 349.7 MB, free: 4.098 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001862/0.1614, allocations: 0.5625 MB / 350.3 MB, free: 3.484 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006585/0.1621, allocations: 166.4 kB / 350.4 MB, free: 3.312 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.946e-05/0.1622, allocations: 4 kB / 350.4 MB, free: 3.309 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004761/0.1627, allocations: 122.6 kB / 350.5 MB, free: 3.18 MB / 282.7 MB Notification: Performance of pre-optimization done (n=20): time 4.328e-06/0.1627, allocations: 0 / 350.5 MB, free: 3.18 MB / 282.7 MB Notification: Performance of matching and sorting (n=20): time 0.001032/0.1638, allocations: 229.3 kB / 350.8 MB, free: 2.949 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.232e-05/0.1639, allocations: 55.41 kB / 350.8 MB, free: 2.883 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004959/0.1644, allocations: 228.1 kB / 351 MB, free: 2.656 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.834e-05/0.1645, allocations: 29.7 kB / 351.1 MB, free: 2.621 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001923/0.1647, allocations: 194.9 kB / 351.3 MB, free: 2.426 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001361/0.1648, allocations: 67.02 kB / 351.3 MB, free: 2.359 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.962e-05/0.1649, allocations: 4 kB / 351.3 MB, free: 2.355 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000184/0.1651, allocations: 326.8 kB / 351.7 MB, free: 2.027 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003063/0.1654, allocations: 51.97 kB / 351.7 MB, free: 1.977 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000378/0.1658, allocations: 80.69 kB / 351.8 MB, free: 1.887 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002837/0.1661, allocations: 64.86 kB / 351.8 MB, free: 1.824 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.029e-05/0.1661, allocations: 7.953 kB / 351.9 MB, free: 1.816 MB / 282.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0007105/0.1669, allocations: 193.9 kB / 352 MB, free: 1.625 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.053e-05/0.1669, allocations: 4 kB / 352 MB, free: 1.621 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/0.1669, allocations: 0 / 352 MB, free: 1.621 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.189e-05/0.167, allocations: 4 kB / 352.1 MB, free: 1.617 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004691/0.1675, allocations: 43.92 kB / 352.1 MB, free: 1.574 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.516e-05/0.1675, allocations: 4 kB / 352.1 MB, free: 1.57 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003191/0.1678, allocations: 27.92 kB / 352.1 MB, free: 1.543 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.079e-05/0.1679, allocations: 4 kB / 352.1 MB, free: 1.539 MB / 282.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: 5 ($whenCondition1,$PRE.lossTable.nextTimeEvent,lossTable.nextTimeEvent,$PRE.lossTable.nextTimeEventScaled,lossTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0002902/0.1682, allocations: 149.5 kB / 352.3 MB, free: 1.383 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.865e-05/0.1683, allocations: 27.67 kB / 352.3 MB, free: 1.355 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001335/0.1684, allocations: 34.17 kB / 352.3 MB, free: 1.32 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/0.1684, allocations: 0 / 352.3 MB, free: 1.32 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.1685, allocations: 0 / 352.3 MB, free: 1.32 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.1685, allocations: 0 / 352.3 MB, free: 1.32 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005819/0.1691, allocations: 293.4 kB / 352.6 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/0.1691, allocations: 3.953 kB / 352.6 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004466/0.1696, allocations: 35.98 kB / 352.7 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.687e-06/0.1696, allocations: 0 / 352.7 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.32e-05/0.1697, allocations: 11.98 kB / 352.7 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.295e-06/0.1697, allocations: 0 / 352.7 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/0.1697, allocations: 3.938 kB / 352.7 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001093/0.1708, allocations: 283.4 kB / 353 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001685/0.1711, allocations: 100.8 kB / 353.1 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.404e-05/0.1712, allocations: 12.06 kB / 353.1 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002378/0.1714, allocations: 12 kB / 353.1 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.686e-05/0.1715, allocations: 7.984 kB / 353.1 MB, free: 500 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.412e-05/0.1716, allocations: 11.98 kB / 353.1 MB, free: 488 kB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000365/0.1719, allocations: 184.5 kB / 353.3 MB, free: 308 kB / 282.7 MB Notification: Performance of sort global known variables: time 6.31e-07/0.172, allocations: 0 / 353.3 MB, free: 308 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006983/0.1727, allocations: 55.91 kB / 353.3 MB, free: 252 kB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (winding.T,core.T) * Number of discrete variables: 3 ($whenCondition1,lossTable.nextTimeEvent,lossTable.nextTimeEventScaled) * Number of discrete states: 2 (lossTable.nextTimeEventScaled,lossTable.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 18 * 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.001842/0.1746, allocations: 407.5 kB / 353.7 MB, free: 15.95 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00079/0.1754, allocations: 139.8 kB / 353.9 MB, free: 15.82 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.1754, allocations: 0 / 353.9 MB, free: 15.82 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003327/0.1758, allocations: 71.91 kB / 353.9 MB, free: 15.75 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006704/0.1765, allocations: 44.83 kB / 354 MB, free: 15.7 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002124/0.1786, allocations: 0.6604 MB / 354.6 MB, free: 15 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005305/0.1792, allocations: 0.7521 MB / 355.4 MB, free: 14.23 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001672/0.1794, allocations: 27.42 kB / 355.4 MB, free: 14.2 MB / 298.7 MB Notification: Performance of SimCode: time 1.442e-06/0.1794, allocations: 0 / 355.4 MB, free: 14.2 MB / 298.7 MB Notification: Performance of Templates: time 0.01121/0.1907, allocations: 3.086 MB / 358.5 MB, free: 11.12 MB / 298.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Thermal.HeatTransfer.Examples.Motor.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 OMCppModelica_trunk_cpp_Modelica.Thermal.HeatTransfer.Examples.MotorCalcHelperMain.o OMCppModelica_trunk_cpp_Modelica.Thermal.HeatTransfer.Examples.MotorCalcHelperMain.cpp In file included from OMCppModelica_trunk_cpp_Modelica.Thermal.HeatTransfer.Examples.MotorCalcHelperMain.cpp:29: ./OMCppModelica_trunk_cpp_Modelica.Thermal.HeatTransfer.Examples.MotorFunctions.cpp:205:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp24.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 'OMCppModelica_trunk_cpp_Modelica.Thermal.HeatTransfer.Examples.MotorCalcHelperMain.o' failed make: *** [OMCppModelica_trunk_cpp_Modelica.Thermal.HeatTransfer.Examples.MotorCalcHelperMain.o] Error 1