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 2.143/2.143, allocations: 224.8 MB / 241.1 MB, free: 1.645 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.892e-05/2.889e-05, allocations: 4 kB / 294.6 MB, free: 11.38 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1131, allocations: 50.42 MB / 345 MB, free: 8.914 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic): time 0.01516/0.1283, allocations: 8.612 MB / 353.6 MB, free: 280 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.008404/0.1368, allocations: 2.907 MB / 356.5 MB, free: 13.35 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002281/0.1391, allocations: 55.88 kB / 356.6 MB, free: 13.3 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002033/0.1412, allocations: 0.5443 MB / 357.1 MB, free: 12.75 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00381/0.1451, allocations: 0.8373 MB / 357.9 MB, free: 11.91 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002852/0.148, allocations: 0.5537 MB / 358.5 MB, free: 11.36 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004875/0.1529, allocations: 1.607 MB / 360.1 MB, free: 9.754 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001358/0.1543, allocations: 457.9 kB / 360.5 MB, free: 9.301 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002332/0.1567, allocations: 0.861 MB / 361.4 MB, free: 8.438 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002775/0.1595, allocations: 1.086 MB / 362.5 MB, free: 7.348 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001208/0.1608, allocations: 135.9 kB / 362.6 MB, free: 7.215 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009388/0.1618, allocations: 104 kB / 362.7 MB, free: 7.113 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009498/0.1627, allocations: 454.1 kB / 363.2 MB, free: 6.668 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001087/0.1639, allocations: 224 kB / 363.4 MB, free: 6.449 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005603/0.1695, allocations: 3.279 MB / 366.7 MB, free: 3.16 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1696, allocations: 0 / 366.7 MB, free: 3.16 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.306e-06/0.1696, allocations: 0 / 366.7 MB, free: 3.16 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001637/0.1697, allocations: 0 / 366.7 MB, free: 3.16 MB / 298.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.009949/0.1797, allocations: 2.44 MB / 369.1 MB, free: 0.6562 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.353e-05/0.1798, allocations: 8.031 kB / 369.1 MB, free: 0.6484 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001151/0.1809, allocations: 292.4 kB / 369.4 MB, free: 368 kB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005408/0.1864, allocations: 1.434 MB / 370.8 MB, free: 14.87 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002835/0.1867, allocations: 156.1 kB / 371 MB, free: 14.71 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008402/0.1876, allocations: 211.9 kB / 371.2 MB, free: 14.5 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007493/0.1951, allocations: 1.85 MB / 373 MB, free: 12.6 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.594e-05/0.1953, allocations: 4 kB / 373 MB, free: 12.59 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000318/0.1956, allocations: 87.95 kB / 373.1 MB, free: 12.51 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.157e-05/0.1957, allocations: 52 kB / 373.2 MB, free: 12.46 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009757/0.2054, allocations: 1.89 MB / 375.1 MB, free: 10.55 MB / 314.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03192/0.2374, allocations: 7.277 MB / 382.4 MB, free: 2.988 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009083/0.2466, allocations: 2.219 MB / 384.6 MB, free: 0.7305 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004122/0.247, allocations: 45.94 kB / 384.6 MB, free: 0.6875 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000108/0.2471, allocations: 56.56 kB / 384.7 MB, free: 0.625 MB / 314.7 MB Notification: Performance of pre-optimization done (n=234): time 8.486e-06/0.2472, allocations: 0 / 384.7 MB, free: 0.625 MB / 314.7 MB Notification: Performance of matching and sorting (n=361): time 0.4231/0.6703, allocations: 17.19 MB / 401.9 MB, free: 46.9 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1428/0.8131, allocations: 30.02 MB / 431.9 MB, free: 29.92 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003018/0.8162, allocations: 1.581 MB / 433.5 MB, free: 28.89 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006569/0.8169, allocations: 82.41 kB / 433.5 MB, free: 28.81 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000729/0.8177, allocations: 0.9142 MB / 434.5 MB, free: 27.96 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00143/0.8191, allocations: 1.194 MB / 435.7 MB, free: 26.78 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003379/0.8195, allocations: 64 kB / 435.7 MB, free: 26.71 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001966/0.8197, allocations: 444.6 kB / 436.2 MB, free: 26.27 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004056/0.8238, allocations: 1.186 MB / 437.3 MB, free: 25.09 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004586/0.8284, allocations: 1.49 MB / 438.8 MB, free: 23.54 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00477/0.8332, allocations: 1.378 MB / 440.2 MB, free: 22.15 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.819e-05/0.8333, allocations: 0 / 440.2 MB, free: 22.15 MB / 330.7 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.01682/0.8501, allocations: 4.267 MB / 444.5 MB, free: 17.84 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.419e-05/0.8502, allocations: 12 kB / 444.5 MB, free: 17.83 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.794e-05/0.8502, allocations: 4 kB / 444.5 MB, free: 17.83 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008379/0.8586, allocations: 1.278 MB / 445.8 MB, free: 16.53 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005214/0.8639, allocations: 0.55 MB / 446.3 MB, free: 15.98 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03539/0.8994, allocations: 18.18 MB / 464.5 MB, free: 12.89 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004454/0.9039, allocations: 155.8 kB / 464.6 MB, free: 12.74 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007713/0.9047, allocations: 123.8 kB / 464.8 MB, free: 12.62 MB / 346.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: 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 (305): * Single equations (assignments): 296 * 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%) 4,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 5} * Non-linear torn systems: 2 {3 54,2 43} Notification: Performance of prepare postOptimizeDAE: time 0.002099/0.9068, allocations: 0.5777 MB / 465.3 MB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008702/0.9077, allocations: 264.7 kB / 465.6 MB, free: 11.78 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01881/0.9265, allocations: 4.39 MB / 470 MB, free: 7.324 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01732/0.9439, allocations: 3.839 MB / 473.8 MB, free: 3.441 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.937e-05/0.944, allocations: 4 kB / 473.8 MB, free: 3.438 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.727e-05/0.9441, allocations: 15.94 kB / 473.9 MB, free: 3.422 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03147/0.9755, allocations: 8.726 MB / 482.6 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-05/0.9757, allocations: 0 / 482.6 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004875/0.9805, allocations: 479.6 kB / 483 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00933/0.9899, allocations: 1.325 MB / 484.4 MB, free: 8.781 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006807/0.9907, allocations: 75.97 kB / 484.4 MB, free: 8.707 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03663/1.027, allocations: 17 MB / 0.4897 GB, free: 6.77 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.1527/1.18, allocations: 26.66 MB / 0.5157 GB, free: 11.49 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03389/1.214, allocations: 6.145 MB / 0.5217 GB, free: 5.203 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003172/1.217, allocations: 0.5914 MB / 0.5223 GB, free: 4.59 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001401/1.219, allocations: 56 kB / 0.5224 GB, free: 4.535 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005381/1.224, allocations: 143.9 kB / 0.5225 GB, free: 4.395 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001686/1.226, allocations: 270.9 kB / 0.5228 GB, free: 4.129 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007206/1.227, allocations: 95.97 kB / 0.5229 GB, free: 4.035 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.004249/1.231, allocations: 1.235 MB / 0.5241 GB, free: 2.809 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.022e-06/1.231, allocations: 0 / 0.5241 GB, free: 2.809 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.007601/1.239, allocations: 0.9492 MB / 0.525 GB, free: 1.859 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (243): * Single equations (assignments): 236 * 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%) 4,(1,100.0%) 2,(1,100.0%) 5} * Non-linear torn systems: 2 {4 42,5 55} Notification: Performance of Backend phase and start with SimCode phase: time 0.002681/1.241, allocations: 445.7 kB / 0.5254 GB, free: 1.531 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.02103/1.262, allocations: 4.431 MB / 0.5297 GB, free: 13 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.305e-05/1.263, allocations: 4.125 kB / 0.5297 GB, free: 13 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01506/1.278, allocations: 3.054 MB / 0.5327 GB, free: 9.855 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004122/1.282, allocations: 297.9 kB / 0.533 GB, free: 9.562 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03133/1.313, allocations: 8.054 MB / 0.5409 GB, free: 1.395 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003373/1.317, allocations: 1.83 MB / 0.5427 GB, free: 15.53 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002603/1.319, allocations: 187.4 kB / 0.5428 GB, free: 15.34 MB / 442.7 MB Notification: Performance of SimCode: time 1.954e-06/1.319, allocations: 0 / 0.5428 GB, free: 15.34 MB / 442.7 MB Notification: Performance of Templates: time 0.6697/1.989, allocations: 122.9 MB / 0.6628 GB, free: 51.88 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 -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.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:29: ./OMCppModelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStaticFunctions.cpp:159:31: error: no matching function for call to 'ModelicaStandardTables_CombiTable1D_init2' externalCombiTable1D__ext = ModelicaStandardTables_CombiTable1D_init2(fileName_.c_str(), tableName_.c_str(), tmp165.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