Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke") Notification: Performance of loadModel(Modelica): time 1.972/1.972, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.98e-05/3.026e-05, allocations: 5.562 kB / 292.1 MB, free: 8.824 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.093/0.09306, allocations: 50.42 MB / 342.6 MB, free: 6.387 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3842/0.4773, allocations: 96 MB / 438.6 MB, free: 14.3 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002583/0.4776, allocations: 86.7 kB / 438.6 MB, free: 14.25 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.321/0.7986, allocations: 79.42 MB / 0.5059 GB, free: 2.547 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.758e-06/0.7987, allocations: 8 kB / 0.5059 GB, free: 2.539 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0008619/0.7995, allocations: 115.9 kB / 0.506 GB, free: 2.426 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 528 * Number of variables: 528 Notification: Performance of Generate backend data structure: time 0.01427/0.8138, allocations: 5.53 MB / 0.5114 GB, free: 12.82 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/0.8139, allocations: 8.031 kB / 0.5114 GB, free: 12.81 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002398/0.8163, allocations: 0.8641 MB / 0.5123 GB, free: 11.94 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01144/0.8278, allocations: 3.597 MB / 0.5158 GB, free: 8.273 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002266/0.828, allocations: 156.1 kB / 0.5159 GB, free: 8.117 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006401/0.8287, allocations: 207.9 kB / 0.5161 GB, free: 7.914 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005803/0.8345, allocations: 1.995 MB / 0.5181 GB, free: 5.859 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-05/0.8346, allocations: 8 kB / 0.5181 GB, free: 5.852 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002981/0.8349, allocations: 80 kB / 0.5182 GB, free: 5.773 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.094e-05/0.835, allocations: 59.92 kB / 0.5182 GB, free: 5.715 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005824/0.8409, allocations: 1.75 MB / 0.5199 GB, free: 3.961 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2747/1.116, allocations: 10.12 MB / 0.5298 GB, free: 105.7 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005064/1.121, allocations: 2.263 MB / 0.532 GB, free: 105.4 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003378/1.124, allocations: 1.318 MB / 0.5333 GB, free: 105.4 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001983/1.124, allocations: 39.92 kB / 0.5334 GB, free: 105.4 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002701/1.127, allocations: 1.098 MB / 0.5344 GB, free: 105.3 MB / 442.7 MB Notification: Performance of pre-optimization done (n=246): time 7.767e-06/1.127, allocations: 1.062 kB / 0.5344 GB, free: 105.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=382): time 0.06832/1.195, allocations: 19.11 MB / 0.5531 GB, free: 100.7 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.09489/1.29, allocations: 30.8 MB / 0.5832 GB, free: 83.98 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1798/1.47, allocations: 13.36 MB / 0.5962 GB, free: 77.76 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005884/1.471, allocations: 86.41 kB / 0.5963 GB, free: 77.67 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003538/1.474, allocations: 2.866 MB / 0.5991 GB, free: 74.93 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001412/1.476, allocations: 1.265 MB / 0.6003 GB, free: 73.96 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003129/1.476, allocations: 72 kB / 0.6004 GB, free: 73.89 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001772/1.476, allocations: 439.6 kB / 0.6008 GB, free: 73.49 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003045/1.479, allocations: 1.273 MB / 0.6021 GB, free: 72.23 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003491/1.483, allocations: 1.598 MB / 0.6036 GB, free: 70.64 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003649/1.487, allocations: 1.475 MB / 0.6051 GB, free: 69.28 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.257e-05/1.487, allocations: 0 / 0.6051 GB, free: 69.28 MB / 442.7 MB Notification: Performance of matching and sorting (n=445) (initialization): time 0.01387/1.501, allocations: 4.585 MB / 0.6095 GB, free: 65.13 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.163e-05/1.501, allocations: 11.19 kB / 0.6096 GB, free: 65.12 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.185e-05/1.501, allocations: 8 kB / 0.6096 GB, free: 65.11 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006945/1.508, allocations: 1.419 MB / 0.611 GB, free: 63.93 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00386/1.511, allocations: 0.5773 MB / 0.6115 GB, free: 63.45 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03243/1.544, allocations: 22.26 MB / 0.6333 GB, free: 41.38 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004264/1.548, allocations: 200.6 kB / 0.6334 GB, free: 41.21 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008159/1.549, allocations: 122.7 kB / 0.6336 GB, free: 41.11 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.comparisonWithFEA.nextTimeEvent,comparisonWithFEA.nextTimeEvent,$PRE.comparisonWithFEA.nextTimeEventScaled,comparisonWithFEA.nextTimeEventScaled,simpleSolenoid.armature.stopper_xMax.contact,simpleSolenoid.armature.stopper_xMin.contact,advancedSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (318): * Single equations (assignments): 307 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 3,(1,100.0%) 7,(1,100.0%) 4} * Non-linear torn systems: 2 {2 43,3 51} Notification: Performance of prepare postOptimizeDAE: time 0.0008561/1.55, allocations: 290.1 kB / 0.6338 GB, free: 40.83 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001775/1.552, allocations: 0.8526 MB / 0.6347 GB, free: 39.97 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01519/1.567, allocations: 5.474 MB / 0.64 GB, free: 35.2 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006627/1.574, allocations: 2.378 MB / 0.6423 GB, free: 33.05 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.057e-05/1.574, allocations: 8 kB / 0.6423 GB, free: 33.05 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.051e-05/1.574, allocations: 22.23 kB / 0.6424 GB, free: 33.04 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03406/1.608, allocations: 14.1 MB / 0.6561 GB, free: 21.71 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.079e-05/1.608, allocations: 7.188 kB / 0.6561 GB, free: 21.71 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003532/1.612, allocations: 499.2 kB / 0.6566 GB, free: 21.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007159/1.619, allocations: 1.434 MB / 0.658 GB, free: 20.12 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006146/1.619, allocations: 90.48 kB / 0.6581 GB, free: 20.05 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02838/1.648, allocations: 20.37 MB / 0.678 GB, free: 15.73 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.3437/1.991, allocations: 27.24 MB / 0.7046 GB, free: 105 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02113/2.013, allocations: 7.858 MB / 0.7123 GB, free: 103.9 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003957/2.017, allocations: 1.597 MB / 0.7138 GB, free: 103.4 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001828/2.018, allocations: 91.7 kB / 0.7139 GB, free: 103.4 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004082/2.023, allocations: 174.7 kB / 0.7141 GB, free: 103.4 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00109/2.024, allocations: 289.2 kB / 0.7144 GB, free: 103.4 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004465/2.024, allocations: 107.7 kB / 0.7145 GB, free: 103.4 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.02145/2.046, allocations: 10.76 MB / 0.725 GB, free: 103.1 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.614e-06/2.046, allocations: 0 / 0.725 GB, free: 103.1 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006687/2.052, allocations: 1.763 MB / 0.7267 GB, free: 103.1 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 9 ($STATESET2.x[2],$STATESET2.x[1],advancedSolenoid.x,advancedSolenoid.armature.stopper_xMin.v_rel,advancedSolenoid.c_par1.v,advancedSolenoid.c_par2.v,$STATESET1.x,simpleSolenoid.x,simpleSolenoid.armature.stopper_xMin.v_rel) * Number of discrete variables: 7 (advancedSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact,simpleSolenoid.armature.stopper_xMax.contact,simpleSolenoid.armature.stopper_xMin.contact,$whenCondition1,comparisonWithFEA.nextTimeEvent,comparisonWithFEA.nextTimeEventScaled) * Number of discrete states: 2 (comparisonWithFEA.nextTimeEvent,comparisonWithFEA.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (265): * Single equations (assignments): 254 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 4,(1,100.0%) 6,(1,100.0%) 3,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 2 {4 53,3 43} Notification: Performance of Backend phase and start with SimCode phase: time 0.002145/2.055, allocations: 0.5043 MB / 0.7272 GB, free: 103 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01024/2.065, allocations: 4.736 MB / 0.7318 GB, free: 100.8 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.419e-06/2.065, allocations: 0 / 0.7318 GB, free: 100.8 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006857/2.072, allocations: 3.292 MB / 0.735 GB, free: 98.93 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004295/2.076, allocations: 0.4892 MB / 0.7355 GB, free: 98.64 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03659/2.113, allocations: 17.81 MB / 0.7529 GB, free: 93.09 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007373/2.12, allocations: 4.209 MB / 0.757 GB, free: 91.97 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002742/2.123, allocations: 391.9 kB / 0.7574 GB, free: 91.92 MB / 458.7 MB Notification: Performance of SimCode: time 1.72e-06/2.123, allocations: 0 / 0.7574 GB, free: 91.92 MB / 458.7 MB Notification: Performance of Templates: time 2.215/4.338, allocations: 0.5434 GB / 1.301 GB, free: 101.8 MB / 0.4948 GB make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.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.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStrokeCalcHelperMain.o OMCppModelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStrokeCalcHelperMain.cpp In file included from OMCppModelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStrokeCalcHelperMain.cpp:28: ./OMCppModelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStrokeFunctions.cpp:204:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp48.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.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStrokeCalcHelperMain.o' failed make: *** [OMCppModelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStrokeCalcHelperMain.o] Error 1