Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic") Notification: Performance of loadModel(Modelica): time 1.963/1.963, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.52e-05/3.531e-05, allocations: 0 / 292.1 MB, free: 8.848 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09488/0.09495, allocations: 50.42 MB / 342.6 MB, free: 6.414 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3832/0.4782, allocations: 95.58 MB / 438.1 MB, free: 14.72 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002711/0.4785, allocations: 83.14 kB / 438.2 MB, free: 14.68 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2085/0.687, allocations: 51.32 MB / 489.5 MB, free: 15.98 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.923e-06/0.687, allocations: 0 / 489.5 MB, free: 15.98 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001975/0.6872, allocations: 48 kB / 489.6 MB, free: 15.93 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 527 * Number of variables: 527 Notification: Performance of Generate backend data structure: time 0.007686/0.6949, allocations: 2.307 MB / 491.9 MB, free: 13.57 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.695, allocations: 8.031 kB / 491.9 MB, free: 13.56 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001175/0.6962, allocations: 292.4 kB / 492.2 MB, free: 13.27 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004276/0.7005, allocations: 1.337 MB / 493.5 MB, free: 11.88 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002285/0.7008, allocations: 152.1 kB / 493.7 MB, free: 11.73 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000715/0.7015, allocations: 211.9 kB / 493.9 MB, free: 11.52 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005972/0.7075, allocations: 1.756 MB / 495.6 MB, free: 9.715 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.418e-05/0.7076, allocations: 3.938 kB / 495.6 MB, free: 9.711 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003125/0.7079, allocations: 84 kB / 495.7 MB, free: 9.629 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.593e-05/0.708, allocations: 52 kB / 495.8 MB, free: 9.578 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006047/0.7141, allocations: 1.75 MB / 497.5 MB, free: 7.82 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02222/0.7363, allocations: 7.594 MB / 0.4933 GB, free: 15.95 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005511/0.7419, allocations: 2.218 MB / 0.4954 GB, free: 13.7 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003552/0.7455, allocations: 1.28 MB / 0.4967 GB, free: 12.42 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000221/0.7457, allocations: 41.95 kB / 0.4967 GB, free: 12.38 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.451e-05/0.7458, allocations: 60.56 kB / 0.4968 GB, free: 12.31 MB / 426.7 MB Notification: Performance of pre-optimization done (n=240): time 6.718e-06/0.7458, allocations: 0 / 0.4968 GB, free: 12.31 MB / 426.7 MB Notification: Performance of matching and sorting (n=372): time 0.06725/0.8131, allocations: 15.28 MB / 0.5117 GB, free: 12.91 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.3432/1.156, allocations: 30.9 MB / 0.5419 GB, free: 113.7 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003697/1.16, allocations: 1.618 MB / 0.5435 GB, free: 113.5 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005605/1.161, allocations: 87.73 kB / 0.5436 GB, free: 113.5 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006343/1.161, allocations: 0.8916 MB / 0.5444 GB, free: 113.2 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001324/1.163, allocations: 1.229 MB / 0.5456 GB, free: 112.5 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003132/1.163, allocations: 72.16 kB / 0.5457 GB, free: 112.4 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002093/1.163, allocations: 439.4 kB / 0.5461 GB, free: 112 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003512/1.167, allocations: 1.251 MB / 0.5473 GB, free: 111.5 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004199/1.171, allocations: 1.525 MB / 0.5488 GB, free: 110.7 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004163/1.175, allocations: 1.433 MB / 0.5502 GB, free: 110.1 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.091e-05/1.175, allocations: 3.969 kB / 0.5502 GB, free: 110.1 MB / 442.7 MB Notification: Performance of matching and sorting (n=433) (initialization): time 0.01364/1.189, allocations: 4.425 MB / 0.5545 GB, free: 108.4 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.073e-05/1.189, allocations: 10.75 kB / 0.5546 GB, free: 108.4 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.146e-05/1.189, allocations: 3.094 kB / 0.5546 GB, free: 108.4 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007608/1.197, allocations: 1.366 MB / 0.5559 GB, free: 108.1 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003964/1.201, allocations: 0.5777 MB / 0.5565 GB, free: 108.1 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03428/1.235, allocations: 19.24 MB / 0.5752 GB, free: 93.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003511/1.238, allocations: 169.2 kB / 0.5754 GB, free: 93.74 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006518/1.239, allocations: 114.8 kB / 0.5755 GB, free: 93.72 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 4 (advancedSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact,simpleSolenoid.armature.stopper_xMax.contact,simpleSolenoid.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (314): * Single equations (assignments): 305 * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 4,(1,100.0%) 7} * Non-linear torn systems: 2 {3 51,2 43} Notification: Performance of prepare postOptimizeDAE: time 0.0007716/1.24, allocations: 277.7 kB / 0.5758 GB, free: 93.51 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007041/1.241, allocations: 259.6 kB / 0.576 GB, free: 93.38 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01365/1.254, allocations: 4.604 MB / 0.5805 GB, free: 91.5 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01341/1.268, allocations: 4.017 MB / 0.5844 GB, free: 89.96 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.76e-05/1.268, allocations: 7.031 kB / 0.5845 GB, free: 89.96 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-05/1.268, allocations: 18.84 kB / 0.5845 GB, free: 89.96 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02649/1.294, allocations: 9.754 MB / 0.594 GB, free: 85.46 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.926e-05/1.295, allocations: 3.656 kB / 0.594 GB, free: 85.46 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003847/1.298, allocations: 0.4978 MB / 0.5945 GB, free: 85.39 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00702/1.305, allocations: 1.396 MB / 0.5959 GB, free: 84.27 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00061/1.306, allocations: 78.73 kB / 0.5959 GB, free: 84.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02684/1.333, allocations: 17.69 MB / 0.6132 GB, free: 66.77 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.07236/1.405, allocations: 27.3 MB / 0.6399 GB, free: 41.94 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0173/1.423, allocations: 6.676 MB / 0.6464 GB, free: 35.52 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002218/1.425, allocations: 0.6953 MB / 0.6471 GB, free: 34.91 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008026/1.426, allocations: 67.94 kB / 0.6471 GB, free: 34.84 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002818/1.429, allocations: 158.2 kB / 0.6473 GB, free: 34.71 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008889/1.43, allocations: 281 kB / 0.6475 GB, free: 34.54 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004/1.43, allocations: 102.9 kB / 0.6476 GB, free: 34.45 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002552/1.433, allocations: 1.258 MB / 0.6489 GB, free: 33.3 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.013e-06/1.433, allocations: 1.969 kB / 0.6489 GB, free: 33.3 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005004/1.438, allocations: 1.076 MB / 0.6499 GB, free: 32.22 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 9 ($STATESET2.x[2],$STATESET2.x[1],$STATESET1.x,advancedSolenoid.c_par1.v,advancedSolenoid.c_par2.v,advancedFeed_x.s,advancedFeed_x.v,simpleFeed_x.s,simpleFeed_x.v) * Number of discrete variables: 4 (advancedSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact,simpleSolenoid.armature.stopper_xMax.contact,simpleSolenoid.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (256): * Single equations (assignments): 249 * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 3,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 4,(1,100.0%) 6} * Non-linear torn systems: 2 {3 43,4 53} Notification: Performance of Backend phase and start with SimCode phase: time 0.001802/1.439, allocations: 465.5 kB / 0.6504 GB, free: 31.93 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01014/1.45, allocations: 4.42 MB / 0.6547 GB, free: 27.61 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.255e-06/1.45, allocations: 0 / 0.6547 GB, free: 27.61 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006387/1.456, allocations: 3.022 MB / 0.6576 GB, free: 24.69 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002243/1.458, allocations: 305.7 kB / 0.6579 GB, free: 24.43 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01356/1.472, allocations: 6.015 MB / 0.6638 GB, free: 18.84 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001804/1.474, allocations: 1.846 MB / 0.6656 GB, free: 17.37 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001715/1.475, allocations: 215.3 kB / 0.6658 GB, free: 17.19 MB / 442.7 MB Notification: Performance of SimCode: time 1.778e-06/1.475, allocations: 0 / 0.6658 GB, free: 17.19 MB / 442.7 MB Notification: Performance of Templates: time 0.3864/1.862, allocations: 126.9 MB / 0.7897 GB, free: 36.07 MB / 442.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.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.ComparisonQuasiStaticCalcHelperMain.o OMCppModelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStaticCalcHelperMain.cpp In file included from OMCppModelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStaticCalcHelperMain.cpp:28: ./OMCppModelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStaticFunctions.cpp:161:31: error: no matching function for call to 'ModelicaStandardTables_CombiTable1D_init2' externalCombiTable1D__ext = ModelicaStandardTables_CombiTable1D_init2(fileName_.c_str(), tableName_.c_str(), tmp49.getData(), table_.getDim(1), table_.getDim(2), ConstArray(columns_).getData(), columns_.getDim(1), smoothness__ext, extrapolation__ext, verboseRead__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources/ModelicaStandardTables.h:269:23: note: candidate function not viable: 6th argument ('const int *') would lose const qualifier MODELICA_EXPORT void* ModelicaStandardTables_CombiTable1D_init2(_In_z_ const char* fileName, ^ 1 error generated. : recipe for target 'OMCppModelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStaticCalcHelperMain.o' failed make: *** [OMCppModelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStaticCalcHelperMain.o] Error 1