Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|advancedSolenoid.armature.stopper_xMax.v_rel|advancedSolenoid.c_par1.v|advancedSolenoid.c_par2.v|advancedSolenoid.coil1.Phi|advancedSolenoid.coil2.Phi|advancedSolenoid.x|simpleSolenoid.armature.stopper_xMax.v_rel|simpleSolenoid.coil.Phi|simpleSolenoid.x",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke") Notification: Performance of loadModel(Modelica): time 2.293/2.293, allocations: 224.7 MB / 241.1 MB, free: 1.645 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.225e-05/3.216e-05, allocations: 4 kB / 294.6 MB, free: 11.38 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1109, allocations: 50.42 MB / 345 MB, free: 8.914 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke): time 0.01474/0.1257, allocations: 8.604 MB / 353.6 MB, free: 288 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0092/0.135, allocations: 3.238 MB / 356.8 MB, free: 13.03 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003193/0.1382, allocations: 55.88 kB / 356.9 MB, free: 12.98 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01754/0.1559, allocations: 7.931 MB / 364.8 MB, free: 5.031 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009018/0.1649, allocations: 4.542 MB / 369.4 MB, free: 492 kB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002874/0.1679, allocations: 0.5614 MB / 369.9 MB, free: 15.92 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.006199/0.1741, allocations: 2.063 MB / 372 MB, free: 13.86 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001212/0.1754, allocations: 453.9 kB / 372.4 MB, free: 13.41 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003514/0.1789, allocations: 1.79 MB / 374.2 MB, free: 11.61 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008056/0.187, allocations: 3.63 MB / 377.8 MB, free: 7.977 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001541/0.1886, allocations: 132 kB / 378 MB, free: 7.848 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001721/0.1904, allocations: 111.9 kB / 378.1 MB, free: 7.738 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002636/0.1931, allocations: 1.689 MB / 379.8 MB, free: 6.043 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001532/0.1947, allocations: 352 kB / 380.1 MB, free: 5.699 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0083/0.203, allocations: 5.39 MB / 385.5 MB, free: 304 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.2031, allocations: 0 / 385.5 MB, free: 304 kB / 314.7 MB Notification: Performance of FrontEnd: time 3.336e-06/0.2031, allocations: 0 / 385.5 MB, free: 304 kB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002804/0.2034, allocations: 4 kB / 385.5 MB, free: 300 kB / 314.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.01611/0.2195, allocations: 5.3 MB / 390.8 MB, free: 10.92 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.041e-05/0.2196, allocations: 8.031 kB / 390.8 MB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00285/0.2225, allocations: 0.8446 MB / 391.7 MB, free: 10.05 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01122/0.2337, allocations: 2.901 MB / 394.6 MB, free: 7.086 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003717/0.2342, allocations: 156.1 kB / 394.7 MB, free: 6.93 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009729/0.2352, allocations: 204 kB / 394.9 MB, free: 6.73 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01037/0.2456, allocations: 2.073 MB / 397 MB, free: 4.59 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001133/0.2457, allocations: 3.906 kB / 397 MB, free: 4.586 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004686/0.2462, allocations: 91.95 kB / 397.1 MB, free: 4.496 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.95e-05/0.2463, allocations: 48 kB / 397.1 MB, free: 4.449 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01844/0.2648, allocations: 1.872 MB / 399 MB, free: 2.57 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3406/0.6054, allocations: 8.749 MB / 407.7 MB, free: 43.46 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006571/0.612, allocations: 2.26 MB / 410 MB, free: 42.34 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003553/0.6124, allocations: 38.5 kB / 410 MB, free: 42.34 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004026/0.6165, allocations: 1.131 MB / 411.2 MB, free: 41.84 MB / 330.7 MB Notification: Performance of pre-optimization done (n=242): time 9.137e-06/0.6165, allocations: 1.156 kB / 411.2 MB, free: 41.84 MB / 330.7 MB Notification: Performance of matching and sorting (n=375): time 0.1047/0.7213, allocations: 21.44 MB / 432.6 MB, free: 27.28 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1361/0.8574, allocations: 29.89 MB / 462.5 MB, free: 12.72 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02683/0.8843, allocations: 13.76 MB / 476.3 MB, free: 15.02 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006965/0.885, allocations: 86.88 kB / 476.4 MB, free: 14.93 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004597/0.8896, allocations: 2.871 MB / 479.2 MB, free: 12.05 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00214/0.8918, allocations: 1.243 MB / 480.5 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006891/0.8926, allocations: 71.09 kB / 480.5 MB, free: 10.75 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003479/0.8929, allocations: 442.1 kB / 481 MB, free: 10.31 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004806/0.8978, allocations: 1.209 MB / 482.2 MB, free: 9.102 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005372/0.9032, allocations: 1.559 MB / 483.7 MB, free: 7.465 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005481/0.9087, allocations: 1.411 MB / 485.1 MB, free: 6.055 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.942e-05/0.9088, allocations: 4 kB / 485.2 MB, free: 6.051 MB / 362.7 MB Notification: Performance of matching and sorting (n=441) (initialization): time 0.01973/0.9285, allocations: 4.398 MB / 489.6 MB, free: 1.621 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.022e-05/0.9286, allocations: 11.98 kB / 489.6 MB, free: 1.609 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.327e-05/0.9287, allocations: 7.953 kB / 489.6 MB, free: 1.602 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009226/0.9379, allocations: 1.355 MB / 490.9 MB, free: 224 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005332/0.9433, allocations: 0.5578 MB / 491.5 MB, free: 15.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04133/0.9847, allocations: 21.24 MB / 0.5007 GB, free: 9.234 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005395/0.9901, allocations: 181.5 kB / 0.5009 GB, free: 9.059 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008427/0.991, allocations: 116 kB / 0.501 GB, free: 8.945 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (313): * Single equations (assignments): 302 * 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%) 5,(1,100.0%) 4} * Non-linear torn systems: 2 {2 43,3 54} Notification: Performance of prepare postOptimizeDAE: time 0.005839/0.9969, allocations: 2.184 MB / 0.5031 GB, free: 6.75 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001835/0.9987, allocations: 0.8214 MB / 0.5039 GB, free: 5.918 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02115/1.02, allocations: 5.158 MB / 0.509 GB, free: 0.7148 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009867/1.03, allocations: 2.291 MB / 0.5112 GB, free: 14.41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.469e-05/1.03, allocations: 4 kB / 0.5112 GB, free: 14.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.768e-05/1.03, allocations: 19.94 kB / 0.5112 GB, free: 14.38 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0372/1.067, allocations: 10.79 MB / 0.5218 GB, free: 3.547 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-05/1.067, allocations: 8.062 kB / 0.5218 GB, free: 3.539 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004885/1.072, allocations: 467.3 kB / 0.5222 GB, free: 3.082 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009666/1.082, allocations: 1.391 MB / 0.5236 GB, free: 1.668 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007625/1.083, allocations: 75.97 kB / 0.5236 GB, free: 1.594 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03897/1.122, allocations: 19.71 MB / 0.5429 GB, free: 12.69 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.4261/1.548, allocations: 26.52 MB / 0.5688 GB, free: 134.9 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02424/1.572, allocations: 6.985 MB / 0.5756 GB, free: 132.4 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001686/1.574, allocations: 0.7531 MB / 0.5763 GB, free: 132 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001727/1.576, allocations: 64.16 kB / 0.5764 GB, free: 131.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004642/1.58, allocations: 141.3 kB / 0.5765 GB, free: 131.9 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001254/1.582, allocations: 281.7 kB / 0.5768 GB, free: 131.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004478/1.582, allocations: 96.98 kB / 0.5769 GB, free: 131.8 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.01806/1.6, allocations: 11.1 MB / 0.5877 GB, free: 127 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.11e-07/1.6, allocations: 3.25 kB / 0.5877 GB, free: 127 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005672/1.606, allocations: 1.101 MB / 0.5888 GB, free: 125.9 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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.nextTimeEventScaled,comparisonWithFEA.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (253): * Single equations (assignments): 242 * 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%) 4,(1,100.0%) 2,(1,100.0%) 5,(1,100.0%) 2,(1,100.0%) 3,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 2 {5 55,4 42} Notification: Performance of Backend phase and start with SimCode phase: time 0.001866/1.608, allocations: 0.4903 MB / 0.5893 GB, free: 125.6 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01286/1.621, allocations: 4.747 MB / 0.5939 GB, free: 121.1 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.308e-06/1.621, allocations: 7.5 kB / 0.5939 GB, free: 121.1 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00826/1.629, allocations: 3.319 MB / 0.5972 GB, free: 117.7 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004409/1.634, allocations: 476.6 kB / 0.5976 GB, free: 117.3 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04048/1.674, allocations: 20.57 MB / 0.6177 GB, free: 96.73 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0075/1.682, allocations: 4.201 MB / 0.6218 GB, free: 92.49 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001956/1.684, allocations: 203.3 kB / 0.622 GB, free: 92.29 MB / 442.7 MB Notification: Performance of SimCode: time 2.505e-06/1.684, allocations: 0 / 0.622 GB, free: 92.29 MB / 442.7 MB Notification: Performance of Templates: time 2.308/3.992, allocations: 0.5291 GB / 1.151 GB, free: 82.24 MB / 474.7 MB 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 -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.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:29: ./OMCppModelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStrokeFunctions.cpp:205:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp170.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