Running command: translateModel(Modelica.Thermal.HeatTransfer.Examples.Motor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1440000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Thermal.HeatTransfer.Examples.Motor") Notification: Performance of loadModel(Modelica): time 1.97/1.97, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.908e-05/2.927e-05, allocations: 4 kB / 292.1 MB, free: 8.832 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09196/0.09201, allocations: 50.42 MB / 342.5 MB, free: 6.391 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3649/0.457, allocations: 81.06 MB / 423.6 MB, free: 13.07 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002344/0.4573, allocations: 78.64 kB / 423.7 MB, free: 13.03 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03753/0.4948, allocations: 5.784 MB / 429.5 MB, free: 8.133 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.596e-06/0.4949, allocations: 0 / 429.5 MB, free: 8.133 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.226e-05/0.495, allocations: 4 kB / 429.5 MB, free: 8.129 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001283/0.4963, allocations: 0.4886 MB / 430 MB, free: 7.609 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.679e-05/0.4963, allocations: 12.03 kB / 430 MB, free: 7.598 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003059/0.4967, allocations: 31.62 kB / 430 MB, free: 7.566 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007501/0.4975, allocations: 261.8 kB / 430.3 MB, free: 7.285 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.607e-05/0.4975, allocations: 15.88 kB / 430.3 MB, free: 7.273 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.851e-05/0.4976, allocations: 19.67 kB / 430.3 MB, free: 7.258 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006131/0.4983, allocations: 155.4 kB / 430.5 MB, free: 7.145 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.452e-05/0.4983, allocations: 0 / 430.5 MB, free: 7.145 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.871e-05/0.4984, allocations: 3.75 kB / 430.5 MB, free: 7.145 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.908e-05/0.4984, allocations: 7.953 kB / 430.5 MB, free: 7.137 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005614/0.499, allocations: 124.6 kB / 430.6 MB, free: 7.051 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001929/0.501, allocations: 0.5757 MB / 431.2 MB, free: 6.52 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006735/0.5017, allocations: 157.7 kB / 431.3 MB, free: 6.402 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003329/0.502, allocations: 84.19 kB / 431.4 MB, free: 6.344 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.011e-05/0.5021, allocations: 3.953 kB / 431.4 MB, free: 6.34 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004288/0.5025, allocations: 117.6 kB / 431.5 MB, free: 6.238 MB / 346.7 MB Notification: Performance of pre-optimization done (n=20): time 5.747e-06/0.5026, allocations: 0 / 431.5 MB, free: 6.238 MB / 346.7 MB Notification: Performance of matching and sorting (n=20): time 0.0008342/0.5034, allocations: 180.4 kB / 431.7 MB, free: 6.09 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.118e-05/0.5035, allocations: 55.41 kB / 431.7 MB, free: 6.023 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005666/0.5041, allocations: 228.3 kB / 432 MB, free: 5.828 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.564e-05/0.5042, allocations: 33.14 kB / 432 MB, free: 5.793 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001959/0.5044, allocations: 195.2 kB / 432.2 MB, free: 5.621 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001402/0.5046, allocations: 77.06 kB / 432.3 MB, free: 5.555 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.227e-05/0.5046, allocations: 3.812 kB / 432.3 MB, free: 5.555 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002139/0.5049, allocations: 317.9 kB / 432.6 MB, free: 5.238 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002434/0.5051, allocations: 48.12 kB / 432.6 MB, free: 5.207 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002964/0.5055, allocations: 90.92 kB / 432.7 MB, free: 5.129 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002877/0.5058, allocations: 58.41 kB / 432.8 MB, free: 5.09 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.644e-06/0.5058, allocations: 0 / 432.8 MB, free: 5.09 MB / 346.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0007994/0.5066, allocations: 194.8 kB / 433 MB, free: 4.941 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.096e-05/0.5067, allocations: 12.09 kB / 433 MB, free: 4.93 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.5067, allocations: 0 / 433 MB, free: 4.93 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/0.5067, allocations: 0 / 433 MB, free: 4.93 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005333/0.5073, allocations: 51.91 kB / 433 MB, free: 4.879 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.414e-05/0.5073, allocations: 3.938 kB / 433 MB, free: 4.875 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003446/0.5077, allocations: 23.14 kB / 433.1 MB, free: 4.855 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.341e-05/0.5078, allocations: 11.38 kB / 433.1 MB, free: 4.848 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: 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.0001812/0.508, allocations: 112.2 kB / 433.2 MB, free: 4.734 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/0.5081, allocations: 35.09 kB / 433.2 MB, free: 4.703 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008768/0.509, allocations: 208.3 kB / 433.4 MB, free: 4.543 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.093e-06/0.5091, allocations: 0 / 433.4 MB, free: 4.543 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.771e-06/0.5091, allocations: 0 / 433.4 MB, free: 4.543 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.426e-05/0.5091, allocations: 4 kB / 433.4 MB, free: 4.539 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007038/0.5098, allocations: 300.2 kB / 433.7 MB, free: 4.242 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.5099, allocations: 0 / 433.7 MB, free: 4.242 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005096/0.5104, allocations: 35.92 kB / 433.7 MB, free: 4.207 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.9e-05/0.5104, allocations: 7.953 kB / 433.7 MB, free: 4.199 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.694e-05/0.5105, allocations: 3.438 kB / 433.8 MB, free: 4.199 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.119e-06/0.5105, allocations: 4 kB / 433.8 MB, free: 4.195 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.319e-06/0.5106, allocations: 4 kB / 433.8 MB, free: 4.191 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001131/0.5117, allocations: 291.5 kB / 434 MB, free: 3.961 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000198/0.5119, allocations: 100.9 kB / 434.1 MB, free: 3.844 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.888e-05/0.512, allocations: 11.25 kB / 434.2 MB, free: 3.836 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002547/0.5123, allocations: 11.56 kB / 434.2 MB, free: 3.828 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.885e-05/0.5124, allocations: 23.61 kB / 434.2 MB, free: 3.809 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.93e-05/0.5125, allocations: 4 kB / 434.2 MB, free: 3.805 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004338/0.513, allocations: 188.3 kB / 434.4 MB, free: 3.652 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.815e-06/0.513, allocations: 0 / 434.4 MB, free: 3.652 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007721/0.5138, allocations: 74.95 kB / 434.5 MB, free: 3.586 MB / 346.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.nextTimeEvent,lossTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * 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.002319/0.5161, allocations: 413.1 kB / 434.9 MB, free: 3.293 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006982/0.5169, allocations: 137 kB / 435 MB, free: 3.199 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.004e-06/0.5169, allocations: 4 kB / 435 MB, free: 3.195 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003436/0.5173, allocations: 82.55 kB / 435.1 MB, free: 3.137 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007281/0.518, allocations: 54.33 kB / 435.1 MB, free: 3.094 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001798/0.5199, allocations: 448.3 kB / 435.6 MB, free: 2.664 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006425/0.5205, allocations: 0.7632 MB / 436.3 MB, free: 1.879 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000171/0.5207, allocations: 23.42 kB / 436.3 MB, free: 1.855 MB / 346.7 MB Notification: Performance of SimCode: time 2.847e-06/0.5208, allocations: 0 / 436.3 MB, free: 1.855 MB / 346.7 MB Notification: Performance of Templates: time 0.01256/0.5333, allocations: 3.158 MB / 439.5 MB, free: 14.73 MB / 362.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 -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 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:28: ./OMCppModelica_trunk_cpp_Modelica.Thermal.HeatTransfer.Examples.MotorFunctions.cpp:204:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp5.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